Ecocentral/ecocentral#152: include in_refund invoices. rappel_pending readonly. vendor ref in invoice lines
This commit is contained in:
parent
4c07dd042d
commit
29ef56b800
5 changed files with 140 additions and 18 deletions
|
|
@ -10,8 +10,9 @@
|
|||
<field name="to_check" position="after">
|
||||
<field name="rappel_pending"
|
||||
optional="show"
|
||||
readonly="1"
|
||||
widget="boolean_toggle"
|
||||
column_invisible="context.get('default_move_type') != 'in_invoice'"/>
|
||||
column_invisible="context.get('default_move_type') not in ('in_invoice', 'in_refund')"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
|
@ -40,7 +41,8 @@
|
|||
<field name="arch" type="xml">
|
||||
<field name="to_check" position="after">
|
||||
<field name="rappel_pending"
|
||||
invisible="move_type != 'in_invoice'"
|
||||
invisible="move_type not in ('in_invoice', 'in_refund')"
|
||||
readonly="1"
|
||||
widget="boolean_toggle"/>
|
||||
</field>
|
||||
</field>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue