Created
September 28, 2016 06:53
-
-
Save simahawk/88d4f79100ee80387d35da26ace2fee4 to your computer and use it in GitHub Desktop.
Odoo binary field: keep uploaded filename
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
you must have 2 fields on your model: | |
* the binary field `my_file` | |
* a char field for filename `my_file_fname` | |
--> | |
<field name="my_file" filename="my_file_fname" /> | |
<field name="my_file_fname" invisible="1" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment