Merge branch 'develop' of https://e.coding.net/jikimo-hn/jikimo_sfs/jikimo_sf into feature/页面布局

This commit is contained in:
jinling.yang
2023-08-21 15:35:50 +08:00

View File

@@ -1503,7 +1503,6 @@ class SyncFixtureModel(models.Model):
"multi_mounting_type_id": self.env['sf.multi_mounting.type'].search( "multi_mounting_type_id": self.env['sf.multi_mounting.type'].search(
[('code', '=', item['multi_mounting_type_code'])]).id, [('code', '=', item['multi_mounting_type_code'])]).id,
"brand_id": self.env['sf.machine.brand'].search([('code', '=', item['brand_code'])]).id, "brand_id": self.env['sf.machine.brand'].search([('code', '=', item['brand_code'])]).id,
"manufacturer_model_number": item['manufacturer_model_number'],
"clamping_way": item['clamping_way'], "clamping_way": item['clamping_way'],
"port_type": item['port_type'], "port_type": item['port_type'],
"model_file": '' if not item['model_file'] else base64.b64decode(item['model_file']), "model_file": '' if not item['model_file'] else base64.b64decode(item['model_file']),
@@ -1533,7 +1532,6 @@ class SyncFixtureModel(models.Model):
"multi_mounting_type_id": self.env['sf.multi_mounting.type'].search( "multi_mounting_type_id": self.env['sf.multi_mounting.type'].search(
[('code', '=', item['multi_mounting_type_code'])]).id, [('code', '=', item['multi_mounting_type_code'])]).id,
"brand_id": self.env['sf.machine.brand'].search([('code', '=', item['brand_code'])]).id, "brand_id": self.env['sf.machine.brand'].search([('code', '=', item['brand_code'])]).id,
"manufacturer_model_number": item['manufacturer_model_number'],
"clamping_way": item['clamping_way'], "clamping_way": item['clamping_way'],
"port_type": item['port_type'], "port_type": item['port_type'],
"model_file": '' if not item['model_file'] else base64.b64decode(item['model_file']), "model_file": '' if not item['model_file'] else base64.b64decode(item['model_file']),
@@ -1585,7 +1583,6 @@ class SyncFixtureModel(models.Model):
"multi_mounting_type_id": self.env['sf.multi_mounting.type'].search( "multi_mounting_type_id": self.env['sf.multi_mounting.type'].search(
[('code', '=', item['multi_mounting_type_code'])]).id, [('code', '=', item['multi_mounting_type_code'])]).id,
"brand_id": self.env['sf.machine.brand'].search([('code', '=', item['brand_code'])]).id, "brand_id": self.env['sf.machine.brand'].search([('code', '=', item['brand_code'])]).id,
"manufacturer_model_number": item['manufacturer_model_number'],
"clamping_way": item['clamping_way'], "clamping_way": item['clamping_way'],
"port_type": item['port_type'], "port_type": item['port_type'],
"model_file": '' if not item['model_file'] else base64.b64decode(item['model_file']), "model_file": '' if not item['model_file'] else base64.b64decode(item['model_file']),
@@ -1615,7 +1612,6 @@ class SyncFixtureModel(models.Model):
"multi_mounting_type_id": self.env['sf.multi_mounting.type'].search( "multi_mounting_type_id": self.env['sf.multi_mounting.type'].search(
[('code', '=', item['multi_mounting_type_code'])]).id, [('code', '=', item['multi_mounting_type_code'])]).id,
"brand_id": self.env['sf.machine.brand'].search([('code', '=', item['brand_code'])]).id, "brand_id": self.env['sf.machine.brand'].search([('code', '=', item['brand_code'])]).id,
"manufacturer_model_number": item['manufacturer_model_number'],
"clamping_way": item['clamping_way'], "clamping_way": item['clamping_way'],
"port_type": item['port_type'], "port_type": item['port_type'],
"model_file": '' if not item['model_file'] else base64.b64decode(item['model_file']), "model_file": '' if not item['model_file'] else base64.b64decode(item['model_file']),