2008-07-01 15:58:58 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2008-09-10 17:56:00 +00:00
|
|
|
<openerp>
|
2008-06-29 08:26:07 +00:00
|
|
|
<data>
|
2011-05-26 07:43:35 +00:00
|
|
|
<record id="stock_move_purchase" model="ir.ui.view">
|
2010-09-14 13:39:38 +00:00
|
|
|
<field name="name">stock.move.form</field>
|
|
|
|
<field name="model">stock.move</field>
|
|
|
|
<field name="inherit_id" ref="stock.view_move_form"/>
|
|
|
|
<field name="arch" type="xml">
|
2012-07-17 15:19:01 +00:00
|
|
|
<xpath expr="//group[@name='destination_grp']" position="inside">
|
|
|
|
<field name="purchase_line_id"/>
|
2010-09-14 13:39:38 +00:00
|
|
|
</xpath>
|
|
|
|
</field>
|
2012-07-18 10:34:29 +00:00
|
|
|
</record>
|
2012-06-26 08:50:17 +00:00
|
|
|
|
2010-08-25 19:07:01 +00:00
|
|
|
<record id="stock_picking_in_inherit_purchase" model="ir.ui.view">
|
|
|
|
<field name="name">Incoming Picking Inherited</field>
|
2012-05-07 11:12:22 +00:00
|
|
|
<field name="model">stock.picking.in</field>
|
2012-05-10 10:06:26 +00:00
|
|
|
<field name="inherit_id" ref="stock.view_picking_form"/>
|
2010-08-25 19:07:01 +00:00
|
|
|
<field name="arch" type="xml">
|
2012-06-29 10:30:00 +00:00
|
|
|
<xpath expr="//field[@name='date']" position="before">
|
2012-10-30 12:54:30 +00:00
|
|
|
<field name="purchase_id" domain="[('invoice_method','=','picking')]" context="{'search_default_partner_id':partner_id,'default_partner_id':partner_id, 'default_invoice_method':'picking'}"/>
|
2012-03-15 09:01:55 +00:00
|
|
|
</xpath>
|
2012-06-29 10:30:00 +00:00
|
|
|
<xpath expr="//field[@name='company_id']" position="after">
|
2012-09-03 11:30:15 +00:00
|
|
|
<field name="warehouse_id" groups="stock.group_locations"/>
|
2012-06-29 10:30:00 +00:00
|
|
|
</xpath>
|
2010-08-25 19:07:01 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2012-07-18 10:34:29 +00:00
|
|
|
|
2012-09-14 13:32:53 +00:00
|
|
|
<record id="view_picking_in_search_picking_inherit" model="ir.ui.view">
|
|
|
|
<field name="name">stock.picking.in.search.inherit</field>
|
2012-05-07 11:12:22 +00:00
|
|
|
<field name="model">stock.picking.in</field>
|
2012-09-14 13:32:53 +00:00
|
|
|
<field name="inherit_id" ref="stock.view_picking_in_search"/>
|
2011-05-23 07:25:24 +00:00
|
|
|
<field name="arch" type="xml">
|
2012-09-14 13:32:53 +00:00
|
|
|
<xpath expr="//field[@name='product_id']" position="before">
|
|
|
|
<field name="purchase_id"/>
|
|
|
|
</xpath>
|
2011-05-23 07:25:24 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2012-07-18 10:34:29 +00:00
|
|
|
|
2012-09-14 13:32:53 +00:00
|
|
|
<!-- is it need ? we have another method "Receive Products"-->
|
2012-06-26 09:00:08 +00:00
|
|
|
<record id="purchase_order_2_stock_picking" model="ir.ui.view">
|
|
|
|
<field name="name">Purchase Picking Inherited</field>
|
|
|
|
<field name="model">purchase.order</field>
|
|
|
|
<field name="inherit_id" ref="purchase.purchase_order_form"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="//div[contains(@class, 'oe_title')]" position="before">
|
|
|
|
<div class="oe_right oe_button_box" name="buttons">
|
2012-09-14 13:32:53 +00:00
|
|
|
<button type="object"
|
|
|
|
name="view_picking"
|
2012-06-26 09:00:08 +00:00
|
|
|
string="Incoming Shipments" states="approved"/>
|
2012-11-02 06:05:20 +00:00
|
|
|
<button type="object" name="invoice_open"
|
2013-02-20 13:33:06 +00:00
|
|
|
string="Invoices" attrs="{'invisible': [('state', 'in', ['draft','sent'])]}"/>
|
2012-06-26 09:00:08 +00:00
|
|
|
</div>
|
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
2012-07-18 10:34:29 +00:00
|
|
|
|
2011-05-26 07:43:35 +00:00
|
|
|
<record id="action_picking_tree4_picking_to_invoice" model="ir.actions.act_window">
|
2012-08-31 17:51:53 +00:00
|
|
|
<field name="name">On Incoming Shipments</field>
|
2012-09-14 13:32:53 +00:00
|
|
|
<field name="res_model">stock.picking.in</field>
|
2011-05-26 07:43:35 +00:00
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form,calendar</field>
|
2012-10-30 11:08:23 +00:00
|
|
|
<field name="domain">[('type','=','in'),('purchase_id.invoice_method','=','picking')]</field>
|
2011-11-24 12:14:33 +00:00
|
|
|
<field name="context">{"default_type": "in", "contact_display": "partner_address", "search_default_done": 1, "search_default_to_invoice": 1}</field>
|
2012-09-14 13:32:53 +00:00
|
|
|
<field name="search_view_id" ref="stock.view_picking_in_search"/>
|
2012-08-04 14:35:56 +00:00
|
|
|
<field name="help" type="html">
|
2013-03-22 09:16:25 +00:00
|
|
|
<p class="oe_view_nocontent_create">
|
2013-06-07 16:09:27 +00:00
|
|
|
Click to create a new incoming shipment.
|
|
|
|
</p><p>
|
2012-08-04 13:21:36 +00:00
|
|
|
Here you can track all the product receptions of purchase
|
|
|
|
orders where the invoicing is "Based on Incoming Shipments",
|
2012-06-21 07:47:17 +00:00
|
|
|
and for which you have not received a supplier invoice yet.
|
|
|
|
You can generate a supplier invoice based on those receptions.
|
2012-08-04 13:21:36 +00:00
|
|
|
</p>
|
2012-06-21 07:47:17 +00:00
|
|
|
</field>
|
2011-05-23 07:25:24 +00:00
|
|
|
</record>
|
|
|
|
|
2011-05-26 07:43:35 +00:00
|
|
|
<menuitem action="action_picking_tree4_picking_to_invoice"
|
|
|
|
id="menu_action_picking_tree4_picking_to_invoice"
|
|
|
|
parent="purchase.menu_procurement_management_invoice" sequence="90"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
</data>
|
2008-09-10 17:56:00 +00:00
|
|
|
</openerp>
|