Ecocentral/ecocentral#152: include in_refund invoices. rappel_pending readonly. vendor ref in invoice lines

This commit is contained in:
Luis 2026-06-23 12:16:47 +02:00
parent 4c07dd042d
commit 29ef56b800
5 changed files with 140 additions and 18 deletions

View file

@ -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>