修复货位问题
This commit is contained in:
@@ -55,8 +55,11 @@
|
||||
<form string="Shelf Location">
|
||||
|
||||
<header>
|
||||
<field name="location_status" invisible="1"/>
|
||||
<button string="生成货位" name="create_location" type="object" class="oe_highlight"
|
||||
attrs="{'invisible': [('hide_shelf', '=', False)]}"/>
|
||||
<button string="禁用货位" name="action_location_status_disable" type="object" class="oe_highlight"
|
||||
attrs="{'invisible': ['|', ('hide_shelf', '=', True), ('location_status', '!=', '空闲')]}"/>
|
||||
|
||||
<!-- <button name="%(shelf_location_kanban_action_id)d"-->
|
||||
<!-- type="action"-->
|
||||
|
||||
Reference in New Issue
Block a user