diff options
| author | Fabien Pinckaers <fp@tinyerp.com> | 2012-09-17 16:47:40 +0200 |
|---|---|---|
| committer | Fabien Pinckaers <fp@tinyerp.com> | 2012-09-17 16:47:40 +0200 |
| commit | abf3d2bd53c3bdc8e0c8191ab3b1c78c0c36d34b (patch) | |
| tree | 93067b4a2dc5b08d198ece1ef9cc2b673dd256a4 | |
| parent | 62cda268febf432ad530899340beb14527e5332a (diff) | |
[IMP] product explanation about the business flow
bzr revid: fp@tinyerp.com-20120917144740-2hsb04t8dpzxzuue
| -rw-r--r-- | addons/mail/data/mail_group_data.xml | 2 | ||||
| -rw-r--r-- | addons/mrp/mrp_view.xml | 11 | ||||
| -rw-r--r-- | addons/product/product_view.xml | 24 | ||||
| -rw-r--r-- | addons/project_mrp/project_mrp_view.xml | 11 | ||||
| -rw-r--r-- | addons/purchase/purchase_view.xml | 14 |
5 files changed, 55 insertions, 7 deletions
diff --git a/addons/mail/data/mail_group_data.xml b/addons/mail/data/mail_group_data.xml index 53720926a5c..11d0ee7d04b 100644 --- a/addons/mail/data/mail_group_data.xml +++ b/addons/mail/data/mail_group_data.xml @@ -7,7 +7,7 @@ <field name="description">Discussion about best sales practices and deals.</field> </record> <record model="mail.group" id="group_all_employees"> - <field name="name">All Employees</field> + <field name="name">Whole Company</field> <field name="group_ids" eval="[(4, ref('base.group_user'))]"/> <field name="description">Discussion about best sales practices and deals.</field> </record> diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml index ec66b5692c0..d05893cf778 100644 --- a/addons/mrp/mrp_view.xml +++ b/addons/mrp/mrp_view.xml @@ -956,9 +956,16 @@ <field name="model">product.product</field> <field name="inherit_id" ref="product.product_normal_form_view"/> <field name="arch" type="xml"> - <xpath expr="//field[@name='procure_method']" position="after"> - <field name="supply_method" groups="base.group_user"/> + <xpath expr="//field[@name='supply_method']" position="attributes"> + <attribute name="invisible">False</attribute> </xpath> + <group name="procurement_help" position="inside"> + <p attrs="{'invisible': [('type','=','service'),('procure_method','<>','make_to_order'),('supply_method','<>','produce')]}"> + When you sell this product, OpenERP will trigger <b>a manufacturing + order</b> using the bill of materials assigned to this product. + The delivery order will be ready once the production is done. + </p> +</group> </field> </record> diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index 13474351744..d04e6f17fe8 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -106,11 +106,31 @@ <group name="procurement"> <group> <field name="procure_method" groups="base.group_user"/> + <field name="supply_method" groups="base.group_user" invisible="1"/> <field name="cost_method" groups="product.group_costing_method"/> <field name="standard_price" attrs="{'readonly':[('cost_method','=','average')]}"/> </group> - <group> - <field name="uom_po_id" groups="product.group_uom"/> + <group name="procurement_help" class="oe_grey" col="1"> + <p attrs="{'invisible': [('type','<>','service'),('procure_method','<>','make_to_stock')]}"> + When you sell this service, nothing special will be trigered + to deliver the customer. + </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/> + If there are not enough quantities available, the delivery order + will wait for new products. You should create others rules + (orderpoints, manual purchase orders) to fulfill the inventory. + </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 (the stock on hand may become negative). + </p> + </group> + <group groups="product.group_uom"> + <field name="uom_po_id"/> </group> </group> <separator string="Notes for Suppliers"/> diff --git a/addons/project_mrp/project_mrp_view.xml b/addons/project_mrp/project_mrp_view.xml index ca1e1f893e7..51de9dd5cf3 100644 --- a/addons/project_mrp/project_mrp_view.xml +++ b/addons/project_mrp/project_mrp_view.xml @@ -36,9 +36,16 @@ <field name="model">product.product</field> <field name="inherit_id" ref="product.product_normal_form_view"/> <field name="arch" type="xml"> - <xpath expr="//field[@name='procure_method']" position="after"> - <field name="supply_method" groups="base.group_user"/> + <xpath expr="//field[@name='supply_method']" position="attributes"> + <attribute name="invisible">False</attribute> </xpath> + <group name="procurement_help" position="inside"> + <p attrs="{'invisible': [('type','<>','service'),('procure_method','<>','make_to_order'),('supply_method','<>','produce')]}"> + When you sell this service to a customer, <b>a task</b> will be + created to follow up the job to do. This task will appear + in the project related to the contract of the sale order. + </p> + </group> </field> </record> </data> diff --git a/addons/purchase/purchase_view.xml b/addons/purchase/purchase_view.xml index 53f27245e7e..796fd1351a9 100644 --- a/addons/purchase/purchase_view.xml +++ b/addons/purchase/purchase_view.xml @@ -572,6 +572,20 @@ <separator string="Suppliers"/> <field name="seller_ids" context="{'uom_id': uom_id}"/> </group> + <group name="procurement_help" position="inside"> + <p attrs="{'invisible': [('type','<>','service'),('procure_method','<>','make_to_order'),('supply_method','<>','buy')]}"> + When you sell this service to a customer, <b>a draft purchase order</b> + will be created in order to subcontract the job + <i attrs="{'invisible': [('seller_id','=',False)]}">to + <field name="seller_id" class="oe_inline"/></i>. + </p> + <p attrs="{'invisible': [('type','=','service'),('procure_method','<>','make_to_order'),('supply_method','<>','buy')]}"> + When you sell this product, OpenERP will trigger <b>a draft + purchase order</b> to buy the required quantities to the supplier. + The delivery order will be ready after having received the + products. + </p> + </group> </field> </record> </data> |
