[IMP] stock, stock_account: move views cleanup

This commit is contained in:
Arnaud Baes
2019-08-14 12:27:05 +00:00
parent 1adee2bd8d
commit ced76bddab
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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"/>
@@ -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>