68 lines
4.2 KiB
XML
68 lines
4.2 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
<data>
|
|
<record model="ir.ui.view" id="view_purchase_order_form_inherit_sf">
|
|
<field name="name">purchase.order.form.inherit.sf</field>
|
|
<field name="model">purchase.order</field>
|
|
<field name="inherit_id" ref="purchase.purchase_order_form"/>
|
|
<field name="arch" type="xml">
|
|
<!-- <xpath expr="//form/header/button[@name='button_confirm[1]']" position="after">-->
|
|
<!-- <field name="check_status" invisible="1"/>-->
|
|
<!-- <button name="action_check" string="审核" type="object"-->
|
|
<!-- attrs="{'invisible': [('check_status','=', 'checked')]}"-->
|
|
<!-- class="oe_highlight"/>-->
|
|
<!-- </xpath>-->
|
|
<!-- <xpath expr="//form/header/button[@name='button_confirm'][2]" position="attributes">-->
|
|
<!-- <attribute name="attrs">{'invisible': [('check_status', '=', 'unchecked'),('state', 'in',-->
|
|
<!-- ['draft'])]}-->
|
|
<!-- </attribute>-->
|
|
<!-- </xpath>-->
|
|
<!-- <xpath expr="//form/header/button[@name='button_confirm[2]']" position="after">-->
|
|
<!-- <field name="check_status" invisible="1"/>-->
|
|
<!-- <button name="action_check" string="审核" type="object"-->
|
|
<!-- attrs="{'invisible': [('check_status','=', 'checked')]}"-->
|
|
<!-- class="oe_highlight"/>-->
|
|
<!-- </xpath>-->
|
|
<!-- <xpath expr="//form/header/button[@name='action_rfq_send[1]']" position="attributes">-->
|
|
<!-- <attribute name="groups">sf_base.group_purchase</attribute>-->
|
|
<!-- </xpath>-->
|
|
<!-- <xpath expr="//form/header/button[@name='action_rfq_send[2]']" position="attributes">-->
|
|
<!-- <attribute name="groups">sf_base.group_purchase</attribute>-->
|
|
<!-- </xpath>-->
|
|
<!-- <xpath expr="//form/header/button[@name='print_quotation[1]']" position="attributes">-->
|
|
<!-- <attribute name="groups">sf_base.group_purchase</attribute>-->
|
|
<!-- </xpath>-->
|
|
<!-- <xpath expr="//form/header/button[@name='print_quotation[2]']" position="attributes">-->
|
|
<!-- <attribute name="groups">sf_base.group_purchase</attribute>-->
|
|
<!-- </xpath>-->
|
|
<xpath expr="//form/header/button[@name='button_approve']" position="attributes">
|
|
<attribute name="groups">sf_base.group_purchase</attribute>
|
|
</xpath>
|
|
|
|
<!-- <xpath expr="//form/header/button[@name='action_create_invoice[1]']" position="attributes">-->
|
|
<!-- <attribute name="groups">sf_base.group_purchase</attribute>-->
|
|
<!-- </xpath>-->
|
|
<!-- <xpath expr="//form/header/button[@name='action_create_invoice[2]']" position="attributes">-->
|
|
<!-- <attribute name="groups">sf_base.group_purchase</attribute>-->
|
|
<!-- </xpath>-->
|
|
<xpath expr="//form/header/button[@name='confirm_reminder_mail']" position="attributes">
|
|
<attribute name="groups">sf_base.group_purchase</attribute>
|
|
</xpath>
|
|
|
|
<xpath expr="//form/header/button[@name='button_draft']" position="attributes">
|
|
<attribute name="groups">sf_base.group_purchase</attribute>
|
|
</xpath>
|
|
<xpath expr="//form/header/button[@name='button_cancel']" position="attributes">
|
|
<attribute name="groups">sf_base.group_purchase</attribute>
|
|
</xpath>
|
|
|
|
<xpath expr="//form/header/button[@name='button_unlock']" position="attributes">
|
|
<attribute name="groups">sf_base.group_purchase</attribute>
|
|
</xpath>
|
|
<xpath expr="//form/header/button[@name='button_done']" position="attributes">
|
|
<attribute name="groups">sf_base.group_purchase</attribute>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</odoo> |