Skip to content

Commit

Permalink
Merge PR #410 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Jul 3, 2023
2 parents d48b74f + c781919 commit 30f097d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions account_commission/views/account_move_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,10 @@
name="recompute_lines_agents"
type="object"
string="Regenerate agents"
states="draft"
attrs="{'invisible': [
('move_type', 'not in', ['out_invoice', 'out_refund'])
'|',
('move_type', 'not in', ['out_invoice', 'out_refund']),
('state', '!=', 'draft')
]}"
/>
</xpath>
Expand Down

0 comments on commit 30f097d

Please sign in to comment.