Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
16
account_invoice_supplier_ref_unique/views/account_move.xml
Normal file
16
account_invoice_supplier_ref_unique/views/account_move.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="view_move_form" model="ir.ui.view">
|
||||
<field name="model">account.move</field>
|
||||
<field name="inherit_id" ref="account.view_move_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//label[@for='ref']" position="before">
|
||||
<field
|
||||
name="supplier_invoice_number"
|
||||
invisible="move_type not in ('in_invoice', 'in_refund')"
|
||||
readonly="state != 'draft'"
|
||||
/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user