You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

15 lines
719 B

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!--Add boolean field for enabling the payment details in invoice report-->
<record id="view_move_form" model="ir.ui.view">
<field name="name">account.move.view.form.inherit.payment.details.invoice.report</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='partner_id']" position="after">
<field name="payment_details" string="Print Payment Details in Invoice"
attrs="{'invisible': [('payment_state','=','not_paid')]}"/>
</xpath>
</field>
</record>
</odoo>