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.
 
 
 
 
 

29 lines
1.3 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Inherit purchase order for adding new fields -->
<record id="purchase_order_form" model="ir.ui.view">
<field name="name">purchase.order.view.form.inherit.digital.signature
</field>
<field name="model">purchase.order</field>
<field name="priority" eval="20"/>
<field name="inherit_id" ref="purchase.purchase_order_form"/>
<field name="arch" type="xml">
<xpath expr="//div[hasclass('clearfix')]" position="before">
<group>
<group name="purchase_signature" string="Digital Signature"
invisible="is_show_signature == False">
<field name="is_show_signature" invisible="1"/>
<field name="is_enable_others" invisible="1"/>
<field name="digital_sign"/>
<field name="sign_by"
invisible="is_enable_others == False"/>
<field name="designation"
invisible="is_enable_others == False"/>
<field name="sign_on"
invisible="is_enable_others == False"/>
</group>
</group>
</xpath>
</field>
</record>
</odoo>