Accept Merge Request #987: (feature/拆解单优化 -> develop)
Merge Request: 解决 采购入库到具体库位的数量显示不对 问题 Created By: @禹翔辉 Reviewed By: @马广威 Approved By: @马广威 Accepted By: @禹翔辉 URL: https://jikimo-hn.coding.net/p/jikimo_sfs/d/jikimo_sf/git/merge/987
This commit is contained in:
@@ -914,7 +914,7 @@
|
||||
<field name="pad_freight_id" string="目标货位"
|
||||
options="{'no_create': True,'no_create_edit':True}"
|
||||
attrs="{'invisible': [('dismantle_cause', 'not in', ['更换为其他刀具'])], 'readonly': [('state', '=', '已拆解')],
|
||||
'required': [('pad_freight_id', '!=', False), ('dismantle_cause', 'in', ['更换为其他刀具'])]}"/>
|
||||
'required': [('pad_product_id', '!=', False), ('dismantle_cause', 'in', ['更换为其他刀具'])]}"/>
|
||||
</group>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
@@ -838,7 +838,7 @@ class Sf_stock_move_line(models.Model):
|
||||
if obj:
|
||||
obj.product_id = record.product_id.id
|
||||
# obj.location_status = '占用'
|
||||
obj.product_num += record.reserved_uom_qty
|
||||
obj.product_num += record.qty_done
|
||||
|
||||
@api.onchange('destination_location_id')
|
||||
def _check_destination_location_id(self):
|
||||
|
||||
Reference in New Issue
Block a user