1、优化品牌同步接口,2、内部调拨作业详情添加Rfid字段;
This commit is contained in:
@@ -439,6 +439,12 @@ class Sf_stock_move_line(models.Model):
|
||||
there_is_no_sn = fields.Boolean('是否有序列号', default=False)
|
||||
|
||||
rfid = fields.Char('Rfid', readonly=True)
|
||||
rfid_barcode = fields.Char('Rfid', compute='_compute_rfid')
|
||||
|
||||
@api.depends('lot_id')
|
||||
def _compute_rfid(self):
|
||||
for item in self:
|
||||
item.rfid_barcode = item.lot_id.rfid
|
||||
|
||||
def action_revert_inventory(self):
|
||||
# 检查用户是否有执行操作的权限
|
||||
|
||||
Reference in New Issue
Block a user