mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
19 lines
723 B
XML
19 lines
723 B
XML
<?xml version="1.0"?>
|
|
<odoo>
|
|
|
|
<record id="invoice_form" model="ir.ui.view">
|
|
<field name="model">account.invoice</field>
|
|
<field name="inherit_id" ref="account.invoice_form" />
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='date_invoice']" position="after">
|
|
<field name="folio_ids" widget="many2many_tags"/>
|
|
<field name="from_folio" invisible="1" />
|
|
</xpath>
|
|
<xpath expr="//button[@name='%(account.action_account_invoice_payment)d']" position="attributes">
|
|
<attribute name="attrs">{'invisible': ['|',('from_folio','=',True)]}</attribute>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|