Add product_barcode in SO lines, PO lines, stock move lines and invoice lines with optional="hide"

Show warning about double VAT partner even when not in editable mode
This commit is contained in:
Alexis de Lattre
2021-04-28 11:27:04 +02:00
parent cfb58ed80f
commit 96bfda6e1b
10 changed files with 52 additions and 12 deletions

View File

@@ -16,6 +16,10 @@
<xpath expr="//field[@name='child_ids']/form//field[@name='title']" position="attributes">
<attribute name="attrs"></attribute>
</xpath>
<!-- Show double VAT partner even when not in editable mode -->
<div attrs="{'invisible': [('same_vat_partner_id', '=', False)]}" position="attributes">
<attribute name="class">alert alert-warning</attribute>
</div>
</field>
</record>