Revert "[IMP] Add location_processed in pack operation"
This reverts commit 38ec22ecc9.
This commit is contained in:
@@ -4331,7 +4331,6 @@ class stock_pack_operation(osv.osv):
|
||||
'to_loc': fields.function(_compute_location_description, type='char', string='To', multi='loc', readonly=True),
|
||||
'fresh_record': fields.boolean('Newly created pack operation'),
|
||||
'lots_visible': fields.function(_compute_lots_visible, type='boolean'),
|
||||
'location_processed': fields.boolean('Location Processed'),
|
||||
'state': fields.related('picking_id', 'state', type='selection', selection=[
|
||||
('draft', 'Draft'),
|
||||
('cancel', 'Cancelled'),
|
||||
|
||||
@@ -846,7 +846,6 @@
|
||||
<button name="split_lot" string="Lot Split" type="object" icon="fa-list" groups="stock.group_production_lot"
|
||||
attrs="{'invisible': ['|', ('lots_visible', '=', False), ('state', 'not in', ['confirmed', 'assigned', 'waiting', 'partially_available','done'])]}"/>
|
||||
<field name="product_qty" readonly="1" attrs="{'required': [('product_id', '!=', False)]}"/>
|
||||
<field name="location_processed" invisible="1"/>
|
||||
<button name="%(stock.pack_details)d" string="Modify" type="action" icon="STOCK_EXECUTE"
|
||||
states="confirmed,assigned,waiting,partially_available"/>
|
||||
</tree>
|
||||
@@ -864,7 +863,6 @@
|
||||
<field name="qty_done" invisible="1"/>
|
||||
<field name="lots_visible" invisible="1"/>
|
||||
<field name="processed_boolean"/>
|
||||
<field name="location_processed" invisible="1"/>
|
||||
<button name="%(stock.pack_details)d" string="Modify" type="action" icon="STOCK_EXECUTE"
|
||||
states="confirmed,assigned,waiting,partially_available" groups="base.group_no_one"/>
|
||||
</tree>
|
||||
|
||||
Reference in New Issue
Block a user