修复数据同步问题
This commit is contained in:
@@ -314,12 +314,12 @@ class sfProductionProcess(models.Model):
|
||||
brand = self.env['sf.production.process'].search(
|
||||
[("code", '=', item['code'])])
|
||||
if brand:
|
||||
brand.name = item['name'],
|
||||
brand.name = item['name']
|
||||
brand.category_id = self.env['sf.production.process.category'].search(
|
||||
[("code", '=', item['category_code'])]).id,
|
||||
brand.code = item['code'],
|
||||
brand.remark = item['remark'],
|
||||
brand.active = item['active'],
|
||||
[("code", '=', item['category_code'])]).id
|
||||
brand.code = item['code']
|
||||
brand.remark = item['remark']
|
||||
brand.active = item['active']
|
||||
brand.remark = item['remark']
|
||||
production_process = self.search([("code", '=', item['code'])])
|
||||
category = self.env['sf.production.process.category'].search(
|
||||
|
||||
Reference in New Issue
Block a user