diff options
| author | Arnaud Baes <arb@odoo.com> | 2019-08-06 11:26:39 +0000 |
|---|---|---|
| committer | Arnaud Baes <arb@odoo.com> | 2019-08-14 12:27:05 +0000 |
| commit | ced76bddabc71a3e082d0010a1fea6a40c8f7c22 (patch) | |
| tree | 7f1373f269295326935a9d9a90e1aaabb31c11b6 | |
| parent | 1adee2bd8d2de88babb1e77c10099091662ccfc5 (diff) | |
[IMP] stock, stock_account: move views cleanup
| -rw-r--r-- | addons/stock/views/stock_move_views.xml | 4 | ||||
| -rw-r--r-- | addons/stock_account/views/stock_account_views.xml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/addons/stock/views/stock_move_views.xml b/addons/stock/views/stock_move_views.xml index 48db96a024d..cea99857eb5 100644 --- a/addons/stock/views/stock_move_views.xml +++ b/addons/stock/views/stock_move_views.xml @@ -57,8 +57,8 @@ <field name="picking_type_id" invisible="1"/> <field name="create_date" invisible="1" groups="base.group_no_one"/> <field name="product_id"/> - <field name="location_id" options="{'no_create': True}" groups="stock.group_stock_multi_locations" string="From"/> - <field name="location_dest_id" options="{'no_create': True}" groups="stock.group_stock_multi_locations" string="To"/> + <field name="location_id" options="{'no_create': True}" string="From"/> + <field name="location_dest_id" options="{'no_create': True}" string="To"/> <field name="product_uom_qty"/> <field name="product_uom" options="{'no_open': True, 'no_create': True}" string="Unit of Measure" groups="uom.group_uom"/> <field name="state"/> diff --git a/addons/stock_account/views/stock_account_views.xml b/addons/stock_account/views/stock_account_views.xml index e6a1456180f..1e1f4c7a159 100644 --- a/addons/stock_account/views/stock_account_views.xml +++ b/addons/stock_account/views/stock_account_views.xml @@ -7,8 +7,8 @@ <field name="model">stock.move</field> <field name="inherit_id" ref="stock.view_move_form"/> <field name="arch" type="xml"> - <xpath expr="//div[@name='button_box']" position="inside"> - <button name="action_get_account_moves" icon="fa-usd" class="oe_stat_button" string="Accounting Entries" type="object"/> + <xpath expr="//div[@name='button_box']" position="inside" > + <button name="action_get_account_moves" icon="fa-usd" class="oe_stat_button" string="Accounting Entries" type="object" groups="account.group_account_user"/> </xpath> </field> </record> |
