diff options
| author | Thibault Delavallée <tde@openerp.com> | 2014-01-21 10:38:32 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2014-01-21 10:38:32 +0100 |
| commit | 28eaa636f0bfbf497e616edcfbc64d8a720e788d (patch) | |
| tree | 7898a40b6f11d96f64f973347619b2442f6e62f2 /addons/procurement/procurement_view.xml | |
| parent | 3b1fec32208879a4655a37180e2ea4296728e6ed (diff) | |
| parent | 9ce241349f3f35b6c75a2aaf9cf7c1ce0006cd7e (diff) | |
[MERGE] Merged DKA's branch about product variants in the CMS. Review is coming.
bzr revid: tde@openerp.com-20140121093832-yp3jl36nsuho74vk
Diffstat (limited to 'addons/procurement/procurement_view.xml')
| -rw-r--r-- | addons/procurement/procurement_view.xml | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/addons/procurement/procurement_view.xml b/addons/procurement/procurement_view.xml index 4cb070bd92f..5f0a0f8b6d0 100644 --- a/addons/procurement/procurement_view.xml +++ b/addons/procurement/procurement_view.xml @@ -291,15 +291,49 @@ <field name="res_model">stock.warehouse.orderpoint</field> </record> + <record id="product_template_search_view_procurment" model="ir.ui.view"> + <field name="name">product.template.search.procurment</field> + <field name="model">product.template</field> + <field name="inherit_id" ref="product.product_template_search_view"/> + <field name="arch" type="xml"> + <filter name="consumable" position="before"> + <filter string="Products" icon="terp-accessories-archiver" domain="[('type','=','product')]" help="Stockable products"/> + </filter> + </field> + </record> + <record model="ir.ui.view" id="product_template_form_view_procurement"> <field name="name">product.template.procurement</field> <field name="model">product.template</field> <field name="inherit_id" ref="product.product_template_form_view"/> <field name="arch" type="xml"> - <xpath expr="//field[@name='type']" position="after"> + <xpath expr="//field[@name='cost_method']" position="before"> <field name="procure_method"/> <field name="supply_method"/> </xpath> + <xpath expr="//group[@name='general']" position="after" > + <group name="procurement_help" class="oe_grey" col="1" groups="base.group_user"> + <p attrs="{'invisible': ['|','|',('type','<>','service'),('procure_method','<>','make_to_stock')]}"> + When you sell this service, nothing special will be triggered + to deliver the customer, as you set the procurement method as + 'Make to Stock'. + </p> + <p attrs="{'invisible': ['|','|',('type','<>','product'),('procure_method','<>','make_to_stock')]}"> + When you sell this product, OpenERP will <b>use the available + inventory</b> for the delivery order. + <br/><br/> + If there are not enough quantities available, the delivery order + will wait for new products. To fulfill the inventory, you should + create others rules like orderpoints. + </p> + <p attrs="{'invisible': ['|','|',('type','<>','consu'),('procure_method','<>','make_to_stock')]}"> + When you sell this product, a delivery order will be created. + OpenERP will consider that the <b>required quantities are always + available</b> as it's a consumable (as a result of this, the quantity + on hand may become negative). + </p> + </group> + </xpath> </field> </record> |
