2013-07-11 13:05:28 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
2014-04-08 16:01:44 +00:00
|
|
|
<record id="view_inventory_form_inherit" model="ir.ui.view">
|
|
|
|
<field name="name">stock.inventory.form.inherit</field>
|
|
|
|
<field name="model">stock.inventory</field>
|
|
|
|
<field name="inherit_id" ref="stock.view_inventory_form"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="//field[@name='date']" position="after">
|
|
|
|
<field name="period_id"/>
|
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
2013-07-11 13:05:28 +00:00
|
|
|
|
|
|
|
<record id="view_location_form_inherit" model="ir.ui.view">
|
|
|
|
<field name="name">stock.location.form.inherit</field>
|
|
|
|
<field name="model">stock.location</field>
|
2013-07-18 16:47:15 +00:00
|
|
|
<field name="inherit_id" ref="stock.view_location_form"/>
|
2013-07-11 13:05:28 +00:00
|
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="//group[@name='localization']" position="after">
|
|
|
|
<group string="Accounting Information" attrs="{'invisible':[('usage','not in',('inventory','production'))]}">
|
|
|
|
<field name="valuation_in_account_id"/>
|
|
|
|
<field name="valuation_out_account_id"/>
|
|
|
|
</group>
|
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2013-08-28 15:32:10 +00:00
|
|
|
<record id="view_picking_inherit_form2" model="ir.ui.view">
|
|
|
|
<field name="name">stock.picking.form.inherit</field>
|
|
|
|
<field name="model">stock.picking</field>
|
|
|
|
<field name="inherit_id" ref="stock.view_picking_form"/>
|
|
|
|
<field name="arch" type="xml">
|
2014-03-25 08:08:23 +00:00
|
|
|
<xpath expr="//button[@name='do_partial_open_barcode']" position="after">
|
2014-06-13 15:44:03 +00:00
|
|
|
<button name="%(action_stock_invoice_onshipping)d" string="Create/Refund Invoice" attrs="{'invisible': ['|',('state','<>','done'),('invoice_state','<>','2binvoiced')]}" type="action" class="oe_highlight" groups="base.group_user"/>
|
|
|
|
<!--<button name="%(action_stock_invoice_onshipping)d" string="Refund Invoice" attrs="{'invisible': ['|',('state','<>','done'),('invoice_state','<>','invoiced')]}" type="action" class="oe_highlight" groups="base.group_user" context="{'inv_type': 'out_refund'}"/>-->
|
2013-08-28 15:32:10 +00:00
|
|
|
</xpath>
|
|
|
|
<xpath expr="//field[@name='move_type']" position="after">
|
|
|
|
<field name="invoice_state" groups="account.group_account_invoice"/>
|
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
2013-08-30 08:16:48 +00:00
|
|
|
|
|
|
|
<record id="view_move_form_inherit" model="ir.ui.view">
|
|
|
|
<field name="name">stock.move.form.inherit</field>
|
|
|
|
<field name="model">stock.move</field>
|
|
|
|
<field name="inherit_id" ref="stock.view_move_form"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="//field[@name='picking_type_id']" position="after">
|
|
|
|
<field name="invoice_state" groups="account.group_account_invoice"/>
|
|
|
|
</xpath>
|
|
|
|
</field>
|
2013-09-02 13:32:52 +00:00
|
|
|
</record>
|
2013-11-07 11:20:53 +00:00
|
|
|
<record model="ir.ui.view" id="view_procurement_rule_form_stockaccount_inherit">
|
2013-09-02 13:32:52 +00:00
|
|
|
<field name="name">stock.procurement.rule.inherit.form</field>
|
|
|
|
<field name="model">procurement.rule</field>
|
2013-11-07 11:20:53 +00:00
|
|
|
<field name="inherit_id" ref="stock.view_procurement_rule_form_stock_inherit"/>
|
2013-09-02 13:32:52 +00:00
|
|
|
<field name="arch" type="xml">
|
2013-11-07 11:20:53 +00:00
|
|
|
<xpath expr="//field[@name='picking_type_id']" position="after">
|
2013-09-02 13:32:52 +00:00
|
|
|
<field name="invoice_state"/>
|
2013-11-07 11:20:53 +00:00
|
|
|
</xpath>
|
2013-09-02 13:32:52 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2014-04-22 12:41:13 +00:00
|
|
|
<record model="ir.ui.view" id="view_pusht_rule_form_stockaccount_inherit">
|
|
|
|
<field name="name">stock.location.path.inherit.form</field>
|
|
|
|
<field name="model">stock.location.path</field>
|
|
|
|
<field name="inherit_id" ref="stock.stock_location_path_form"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="//field[@name='picking_type_id']" position="after">
|
|
|
|
<field name="invoice_state"/>
|
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
2013-07-11 13:05:28 +00:00
|
|
|
</data>
|
|
|
|
</openerp>
|