Skip to content

Commit

Permalink
[FIX] add matched_percentage field to account.move form view because …
Browse files Browse the repository at this point in the history
…you use in domain
  • Loading branch information
nicomacr committed Mar 27, 2018
1 parent 9e83550 commit 906579c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion public_budget_tax_settlement/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
'auto_install': True,
'name': 'Public Budget integration with Tax settlement',
'test': [],
'version': '9.0.1.0.0',
'version': '9.0.1.1.0',
'license': 'AGPL-3',
}
1 change: 1 addition & 0 deletions public_budget_tax_settlement/views/account_move_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<field name="inherit_id" ref="account.view_move_form"/>
<field name="arch" type="xml">
<button name="post" position="after">
<field name="matched_percentage" invisible="1"/>
<button name="action_pay_tax_settlement" attrs="{'invisible': ['|', ('state', '!=', 'posted'), ('matched_percentage', '=', 1.0)]}" string="Pay" type="object" class="oe_highlight"/>
</button>
</field>
Expand Down

0 comments on commit 906579c

Please sign in to comment.