diff options
| author | Victor Feyens <vfe@odoo.com> | 2019-08-21 15:22:27 +0000 |
|---|---|---|
| committer | Victor Feyens <vfe@odoo.com> | 2019-08-22 15:27:59 +0000 |
| commit | 7e45b447c3921ea5ced92a9f4405440b5c894dc8 (patch) | |
| tree | 65d234b4e344073169b83dbfd3b07978bd0fab26 | |
| parent | 088de4f1eba2c13b4fa1b3ef6557dd870c4f7565 (diff) | |
[IMP] matrix : ui improvements
| -rw-r--r-- | addons/product/models/res_config_settings.py | 2 | ||||
| -rw-r--r-- | addons/purchase/models/res_config_settings.py | 2 | ||||
| -rw-r--r-- | addons/purchase/views/res_config_settings_views.xml | 4 | ||||
| -rw-r--r-- | addons/sale/views/res_config_settings_views.xml | 4 | ||||
| -rw-r--r-- | addons/sale_product_matrix/views/sale_views.xml | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/addons/product/models/res_config_settings.py b/addons/product/models/res_config_settings.py index b88a83cb7b2..5c740e8ea8c 100644 --- a/addons/product/models/res_config_settings.py +++ b/addons/product/models/res_config_settings.py @@ -11,7 +11,7 @@ class ResConfigSettings(models.TransientModel): group_uom = fields.Boolean("Units of Measure", implied_group='uom.group_uom') group_product_variant = fields.Boolean("Variants", implied_group='product.group_product_variant') module_sale_product_configurator = fields.Boolean("Product Configurator") - module_sale_product_matrix = fields.Boolean("Product Grid Entry") + module_sale_product_matrix = fields.Boolean("Sales Grid Entry") group_stock_packaging = fields.Boolean('Product Packagings', implied_group='product.group_stock_packaging') group_product_pricelist = fields.Boolean("Pricelists", diff --git a/addons/purchase/models/res_config_settings.py b/addons/purchase/models/res_config_settings.py index 7b2469c5559..fc7a80d6f54 100644 --- a/addons/purchase/models/res_config_settings.py +++ b/addons/purchase/models/res_config_settings.py @@ -23,7 +23,7 @@ class ResConfigSettings(models.TransientModel): group_warning_purchase = fields.Boolean("Purchase Warnings", implied_group='purchase.group_warning_purchase') module_account_3way_match = fields.Boolean("3-way matching: purchases, receptions and bills") module_purchase_requisition = fields.Boolean("Purchase Agreements") - module_purchase_product_matrix = fields.Boolean("Variants Grid Entry") + module_purchase_product_matrix = fields.Boolean("Purchase Grid Entry") po_lead = fields.Float(related='company_id.po_lead', readonly=False) use_po_lead = fields.Boolean( string="Security Lead Time for Purchase", diff --git a/addons/purchase/views/res_config_settings_views.xml b/addons/purchase/views/res_config_settings_views.xml index 3c28d723eee..4262720d502 100644 --- a/addons/purchase/views/res_config_settings_views.xml +++ b/addons/purchase/views/res_config_settings_views.xml @@ -104,9 +104,9 @@ <field name="module_purchase_product_matrix"/> </div> <div class="o_setting_right_pane"> - <label for="module_purchase_product_matrix"/> + <label for="module_purchase_product_matrix" string="Variant Grid Entry"/> <div class="text-muted"> - Add several variants to the purchase order using a grid. + Add several variants to the purchase order from a grid </div> </div> </div> diff --git a/addons/sale/views/res_config_settings_views.xml b/addons/sale/views/res_config_settings_views.xml index 0df9f85af37..edf58709d42 100644 --- a/addons/sale/views/res_config_settings_views.xml +++ b/addons/sale/views/res_config_settings_views.xml @@ -43,9 +43,9 @@ <field name="module_sale_product_matrix"/> </div> <div class="o_setting_right_pane"> - <label for="module_sale_product_matrix"/> + <label for="module_sale_product_matrix" string="Variant Grid Entry"/> <div class="text-muted"> - Add several variants to an order through a grid. + Add several variants to an order from a grid </div> </div> </div> diff --git a/addons/sale_product_matrix/views/sale_views.xml b/addons/sale_product_matrix/views/sale_views.xml index 92861b626c9..1dc4f422d0c 100644 --- a/addons/sale_product_matrix/views/sale_views.xml +++ b/addons/sale_product_matrix/views/sale_views.xml @@ -11,8 +11,8 @@ <field name="grid_product_tmpl_id" invisible="1"/> <field name="grid_update" invisible="1"/> </field> - <xpath expr="//notebook//group[@name='sale_reporting']/group" position="inside"> - <field name="report_grids"/> + <xpath expr="//notebook//group[@name='sales_person']" position="inside"> + <field name="report_grids" groups="base.group_no_one"/> </xpath> </field> </record> |
