diff options
| author | Victor Feyens <vfe@odoo.com> | 2019-08-16 10:03:37 +0000 |
|---|---|---|
| committer | Victor Feyens <vfe@odoo.com> | 2019-08-16 10:12:42 +0000 |
| commit | 3bfde1891f95d212bda273650b1ca995b8db5f79 (patch) | |
| tree | 1f40365bc2f3d08bbf890e263a1fe3969e2d76e4 | |
| parent | 8fd2455742ec944e953dcc4b5d216222eb6dffee (diff) | |
[FIX] account,product: product UI
closes odoo/odoo#35756
Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
| -rw-r--r-- | addons/account/views/product_view.xml | 4 | ||||
| -rw-r--r-- | addons/product/views/product_views.xml | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/addons/account/views/product_view.xml b/addons/account/views/product_view.xml index 45ab7996679..0aeb7e46ffa 100644 --- a/addons/account/views/product_view.xml +++ b/addons/account/views/product_view.xml @@ -27,9 +27,9 @@ <group name="accounting"/> </page> </page> - <field name="list_price" position="after"> + <xpath expr="//div[@name='pricing']" position="after"> <field name="taxes_id" widget="many2many_tags"/> - </field> + </xpath> <group name="bill" position="inside"> <field name="supplier_taxes_id" widget="many2many_tags"/> </group> diff --git a/addons/product/views/product_views.xml b/addons/product/views/product_views.xml index 2e142610399..d44c4fe9c02 100644 --- a/addons/product/views/product_views.xml +++ b/addons/product/views/product_views.xml @@ -47,7 +47,8 @@ <group name="group_standard_price"> <label for="list_price"/> <div name="pricing"> - <field name="list_price" string="Sales Price" widget='monetary' options="{'currency_field': 'currency_id', 'field_digits': True}"/> + <field name="list_price" string="Sales Price" class="oe_inline" widget='monetary' + options="{'currency_field': 'currency_id', 'field_digits': True}"/> <button name="open_pricelist_rules" icon="fa-arrow-right" type="object" groups="product.group_product_pricelist" class="oe_inline"> <field name="pricelist_item_count" attrs="{'invisible': [('pricelist_item_count', '=', 0)]}"/> |
