Hide the function field when the binary field is filled

This commit is contained in:
Houzefa Abbasbhay
2013-10-28 17:45:53 +01:00
parent e9c4d7c40b
commit 6df4a8469c
2 changed files with 4 additions and 3 deletions

View File

@@ -14,7 +14,8 @@
attrs="{'invisible': [('report_type', '!=', 'py3o')]}">
<field name="py3o_filename" invisible="1" />
<field name="py3o_template" filename="py3o_filename" />
<field name="py3o_template" filename="py3o_filename"
attrs="{'invisible': [('py3o_template_data', '!=', False)]}" />
<field name="py3o_template_data" filename="py3o_filename" />
</page>