Merge PR #557 into 12.0

Signed-off-by sbejaoui
This commit is contained in:
OCA-git-bot
2020-10-24 17:59:55 +00:00

View File

@@ -17,7 +17,7 @@
<button name="action_create_contract"
string="Create Contracts"
type="object"
class="oe_highlight" attrs="{'invisible': [('need_contract_creation', '=', False)]}"/>
class="oe_highlight" attrs="{'invisible': ['|',('need_contract_creation', '=', False), ('state', '=', 'done')]}"/>
</xpath>
<xpath expr="//div[@name='button_box']" position="inside">
<button name="action_show_contracts"