Skip to content

Commit

Permalink
editable accounting_date after validated
Browse files Browse the repository at this point in the history
  • Loading branch information
AungKoKoLin1997 committed Oct 19, 2023
1 parent 4326c45 commit a4dc332
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<field name="show_consumable_date" invisible="1" />
<field
name="accounting_date"
string="Consumable Effective Date"
attrs="{'invisible': [('show_consumable_date', '=', False)]}"
string="Consumable Accounting Date"
attrs="{'invisible': [('show_consumable_date', '=', False)],'readonly': [('state', '=', 'cancel')]}"
/>
</xpath>
</field>
Expand Down

0 comments on commit a4dc332

Please sign in to comment.