Skip to content

Commit

Permalink
Merge pull request #52 from GlodoUK/T11712
Browse files Browse the repository at this point in the history
Fix attrs in view
  • Loading branch information
ellbristow authored Apr 25, 2024
2 parents 79c2ff9 + 198714d commit 72fdc11
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<field name="model">stock.picking.warning</field>
<field name="arch" type="xml">
<form string="Partner Warning!">
<field name="msg" />
<field name="should_block" invisible="1" />
<field name="msg" />
<field name="should_block" invisible="1" />
<footer>
<button
name="process"
string="Continue"
type="object"
class="btn-primary"
attrs="{'invisible': [('should_block', '=', True)]}"
invisible="[('should_block', '=', True)]"
/>
<button string="Close" class="btn-secondary" special="cancel" />
</footer>
Expand Down

0 comments on commit 72fdc11

Please sign in to comment.