diff --git a/addons/hr_timesheet_invoice/hr_timesheet_invoice_view.xml b/addons/hr_timesheet_invoice/hr_timesheet_invoice_view.xml index 3b1fd8785cd..30cafc5a0b4 100644 --- a/addons/hr_timesheet_invoice/hr_timesheet_invoice_view.xml +++ b/addons/hr_timesheet_invoice/hr_timesheet_invoice_view.xml @@ -11,7 +11,7 @@ - + diff --git a/addons/mrp_repair/mrp_repair_view.xml b/addons/mrp_repair/mrp_repair_view.xml index 04a2799dae8..dd29de20f9b 100644 --- a/addons/mrp_repair/mrp_repair_view.xml +++ b/addons/mrp_repair/mrp_repair_view.xml @@ -118,7 +118,7 @@ diff --git a/addons/point_of_sale/point_of_sale_view.xml b/addons/point_of_sale/point_of_sale_view.xml index 1225e8bcc24..f23249c6afc 100644 --- a/addons/point_of_sale/point_of_sale_view.xml +++ b/addons/point_of_sale/point_of_sale_view.xml @@ -80,7 +80,7 @@ - + diff --git a/addons/product/partner_view.xml b/addons/product/partner_view.xml index f40c5ab8032..4d917230acc 100644 --- a/addons/product/partner_view.xml +++ b/addons/product/partner_view.xml @@ -9,7 +9,7 @@ - + diff --git a/addons/product/pricelist_view.xml b/addons/product/pricelist_view.xml index 47031878768..c36f2082ff5 100644 --- a/addons/product/pricelist_view.xml +++ b/addons/product/pricelist_view.xml @@ -5,7 +5,7 @@ + parent="base.menu_base_config" groups="product.group_sale_pricelist" sequence="50"/> product.pricelist.version.form diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index d2fea171345..2eaf0ead9e0 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -20,7 +20,7 @@ - + @@ -50,7 +50,7 @@ - + @@ -125,11 +125,11 @@ - + - + @@ -440,7 +440,7 @@ Create and manage the units of measure you want to be used in your system. You can define a conversion rate between several Units of Measure within the same category. - + @@ -552,7 +552,7 @@ - + @@ -674,11 +674,11 @@ - + - + diff --git a/addons/product/res_config.py b/addons/product/res_config.py index dc9077e421e..6af8c9c26be 100644 --- a/addons/product/res_config.py +++ b/addons/product/res_config.py @@ -25,22 +25,18 @@ class sale_config_settings(osv.osv_memory): _inherit = 'sale.config.settings' _columns = { - 'group_sale_pricelist_per_customer':fields.boolean("Pricelist per Customer", - group='base.group_user', implied_group='base.group_sale_pricelist_per_customer', - help="""Allows to manage different prices based on rules per category of customers. - Example: 10% for retailers, promotion of 5 EUR on this product, etc. - It assigns the "Pricelist" group to all employees."""), - 'group_sale_uom_per_product':fields.boolean("UOM per product", - group='base.group_user', implied_group='base.group_sale_uom_per_product', - help=""" - Allows you to select and maintain different unit of measures per product. - It assigns the "UOM per product" group to all employees. - """), - 'group_purchase_pricelist_per_supplier':fields.boolean("Pricelist per Supplier", group='base.group_user', xml_id='base.group_purchase_pricelist_per_supplier', - help="""Allows to manage different prices based on rules per category of Supplier. - Example: 10% for retailers, promotion of 5 EUR on this product, etc. - It assigns the "Pricelist" group to all employees."""), - 'group_stock_packaging':fields.boolean("Manage packaging by products", group='base.group_user', implied_group='base.group_stock_packaging', - help=""" Allows you to create and manage your packaging dimensions and types you want to be maintained in your system. - It assigns the "Packaging" group to employee."""), + 'group_sale_pricelist':fields.boolean("Pricelist per Customer", + implied_group='product.group_sale_pricelist', + help="""Allows to manage different prices based on rules per category of customers. + Example: 10% for retailers, promotion of 5 EUR on this product, etc."""), + 'group_purchase_pricelist':fields.boolean("Pricelist per Supplier", + implied_group='product.group_purchase_pricelist', + help="""Allows to manage different prices based on rules per category of Supplier. + Example: 10% for retailers, promotion of 5 EUR on this product, etc."""), + 'group_sale_uom':fields.boolean("UOM per product", + implied_group='product.group_uom', + help="""Allows you to select and maintain different unit of measures per product."""), + 'group_stock_packaging':fields.boolean("Manage packaging by products", + implied_group='product.group_packaging', + help=""" Allows you to create and manage your packaging dimensions and types you want to be maintained in your system."""), } diff --git a/addons/product/security/product_security.xml b/addons/product/security/product_security.xml index 17938251af4..c8c8b1904e8 100644 --- a/addons/product/security/product_security.xml +++ b/addons/product/security/product_security.xml @@ -19,33 +19,26 @@ - + Sales Pricelists - + Purchase Pricelists - - Product UOM + + Multiple UoM per Product - - Packaging + + Manage Product Packaging - - - - product pricelist company rule diff --git a/addons/product/wizard/product_price_view.xml b/addons/product/wizard/product_price_view.xml index 63ffc6e033c..adc63de872d 100644 --- a/addons/product/wizard/product_price_view.xml +++ b/addons/product/wizard/product_price_view.xml @@ -31,7 +31,7 @@ name="Price List" res_model="product.price_list" src_model="product.product" - groups="base.group_sale_pricelist_per_customer" + groups="product.group_sale_pricelist" view_mode="form" target="new" view_type="form" /> diff --git a/addons/project_timesheet/project_timesheet_view.xml b/addons/project_timesheet/project_timesheet_view.xml index 5316eca9a9e..7a7d4966bf2 100644 --- a/addons/project_timesheet/project_timesheet_view.xml +++ b/addons/project_timesheet/project_timesheet_view.xml @@ -10,7 +10,7 @@ - + diff --git a/addons/sale/res_config_view.xml b/addons/sale/res_config_view.xml index a5012c638ac..169db3cd6df 100644 --- a/addons/sale/res_config_view.xml +++ b/addons/sale/res_config_view.xml @@ -28,7 +28,7 @@ - + @@ -36,7 +36,7 @@ - + diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml index f63dbda609c..0cbf722a6fe 100644 --- a/addons/sale/sale_view.xml +++ b/addons/sale/sale_view.xml @@ -21,7 +21,7 @@ - + @@ -34,7 +34,7 @@ - + @@ -119,7 +119,7 @@ - + @@ -139,7 +139,7 @@ on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, False, parent.date_order, product_packaging, parent.fiscal_position, True, context)"/> + nolabel="1" groups="product.group_uom"/> @@ -184,7 +184,7 @@ - + @@ -363,7 +363,7 @@ - + @@ -384,7 +384,7 @@ - + diff --git a/addons/sale_layout/sale_layout_view.xml b/addons/sale_layout/sale_layout_view.xml index 7997aa9202d..146ca8aa006 100644 --- a/addons/sale_layout/sale_layout_view.xml +++ b/addons/sale_layout/sale_layout_view.xml @@ -37,7 +37,7 @@ on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, False, parent.date_order, product_packaging, parent.fiscal_position, True, context)"/> @@ -100,7 +100,7 @@ - +