Untitled

PDB output
mail@pastecode.io avatar
unknown
plain_text
2 years ago
29 kB
2
Indexable
Never
Running as user 'root' is a security risk.
============= fleet.part.line(1613,)
============= fleet.part.line(1672,)
============= fleet.part.line(1612,)
============= fleet.part.line(1671,)
> /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(364)find_the_lot_level()
-> parent_installed_lot = self.lot_ids
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(365)find_the_lot_level()
-> _logger.info("parent_instaled: {}".format(parent_installed_lot))
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(366)find_the_lot_level()
-> if parent_installed_lot:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(367)find_the_lot_level()
-> level += 1
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(368)find_the_lot_level()
-> return parent_installed_lot.find_the_lot_level()
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(364)find_the_lot_level()
-> parent_installed_lot = self.lot_ids
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(365)find_the_lot_level()
-> _logger.info("parent_instaled: {}".format(parent_installed_lot))
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(366)find_the_lot_level()
-> if parent_installed_lot:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(370)find_the_lot_level()
-> return level
(Pdb) --Return--
> /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(370)find_the_lot_level()->1
-> return level
(Pdb) --Return--
> /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(368)find_the_lot_level()->1
-> return parent_installed_lot.find_the_lot_level()
(Pdb) --Call--
> /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair.py(112)update_version_history()
-> def update_version_history(self, repair, repair_line, children_ids, lot_level):
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair.py(113)update_version_history()
-> history_id = self.env['as_maintained.history'].search([
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair.py(114)update_version_history()
-> ('as_maintained_child_lot_id', '=', repair_line.lot_id.id),
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair.py(115)update_version_history()
-> ('lot_id', '=', repair.lot_id.id),
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair.py(116)update_version_history()
-> ('repair_id', '=', repair.id)
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair.py(117)update_version_history()
-> ], limit=1)
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair.py(118)update_version_history()
-> repair_line.prepare_affected_lot_ids(
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair.py(119)update_version_history()
-> repair.lot_id, history_id, children_ids, lot_level
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(364)find_the_lot_level()
-> parent_installed_lot = self.lot_ids
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(365)find_the_lot_level()
-> _logger.info("parent_instaled: {}".format(parent_installed_lot))
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(366)find_the_lot_level()
-> if parent_installed_lot:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(367)find_the_lot_level()
-> level += 1
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(368)find_the_lot_level()
-> return parent_installed_lot.find_the_lot_level()
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(364)find_the_lot_level()
-> parent_installed_lot = self.lot_ids
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(365)find_the_lot_level()
-> _logger.info("parent_instaled: {}".format(parent_installed_lot))
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(366)find_the_lot_level()
-> if parent_installed_lot:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(370)find_the_lot_level()
-> return level
(Pdb) --Return--
> /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(370)find_the_lot_level()->1
-> return level
(Pdb) --Return--
> /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(368)find_the_lot_level()->1
-> return parent_installed_lot.find_the_lot_level()
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(176)prepare_affected_lot_ids()
-> lambda op: op.lot_id.id not in fleet_version_changes_ids.mapped('lot_id.id')):
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(177)prepare_affected_lot_ids()
-> vals.append({
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(178)prepare_affected_lot_ids()
-> 'change_type': operation.type,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(179)prepare_affected_lot_ids()
-> 'lot_version_id': history_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(180)prepare_affected_lot_ids()
-> 'fleet_repair_id': operation.repair_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(181)prepare_affected_lot_ids()
-> 'lot_id': operation.lot_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(182)prepare_affected_lot_ids()
-> 'product_id': operation.product_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(183)prepare_affected_lot_ids()
-> 'lot_version': operation.lot_id.lot_version,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(184)prepare_affected_lot_ids()
-> 'lot_level': operation.lot_id.find_the_lot_level()
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(364)find_the_lot_level()
-> parent_installed_lot = self.lot_ids
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(365)find_the_lot_level()
-> _logger.info("parent_instaled: {}".format(parent_installed_lot))
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(366)find_the_lot_level()
-> if parent_installed_lot:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(370)find_the_lot_level()
-> return level
(Pdb) --Return--
> /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(370)find_the_lot_level()->1
-> return level
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(176)prepare_affected_lot_ids()
-> lambda op: op.lot_id.id not in fleet_version_changes_ids.mapped('lot_id.id')):
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(177)prepare_affected_lot_ids()
-> vals.append({
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(178)prepare_affected_lot_ids()
-> 'change_type': operation.type,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(179)prepare_affected_lot_ids()
-> 'lot_version_id': history_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(180)prepare_affected_lot_ids()
-> 'fleet_repair_id': operation.repair_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(181)prepare_affected_lot_ids()
-> 'lot_id': operation.lot_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(182)prepare_affected_lot_ids()
-> 'product_id': operation.product_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(183)prepare_affected_lot_ids()
-> 'lot_version': operation.lot_id.lot_version,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(184)prepare_affected_lot_ids()
-> 'lot_level': operation.lot_id.find_the_lot_level()
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(364)find_the_lot_level()
-> parent_installed_lot = self.lot_ids
(Pdb) self = stock.production.lot(213142,)
level = 1
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(365)find_the_lot_level()
-> _logger.info("parent_instaled: {}".format(parent_installed_lot))
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(366)find_the_lot_level()
-> if parent_installed_lot:
(Pdb) self = stock.production.lot(213142,)
level = 1
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(367)find_the_lot_level()
-> level += 1
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(368)find_the_lot_level()
-> return parent_installed_lot.find_the_lot_level()
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(364)find_the_lot_level()
-> parent_installed_lot = self.lot_ids
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(365)find_the_lot_level()
-> _logger.info("parent_instaled: {}".format(parent_installed_lot))
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(366)find_the_lot_level()
-> if parent_installed_lot:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(370)find_the_lot_level()
-> return level
(Pdb) --Return--
> /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(370)find_the_lot_level()->1
-> return level
(Pdb) --Return--
> /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(368)find_the_lot_level()->1
-> return parent_installed_lot.find_the_lot_level()
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(176)prepare_affected_lot_ids()
-> lambda op: op.lot_id.id not in fleet_version_changes_ids.mapped('lot_id.id')):
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(177)prepare_affected_lot_ids()
-> vals.append({
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(178)prepare_affected_lot_ids()
-> 'change_type': operation.type,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(179)prepare_affected_lot_ids()
-> 'lot_version_id': history_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(180)prepare_affected_lot_ids()
-> 'fleet_repair_id': operation.repair_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(181)prepare_affected_lot_ids()
-> 'lot_id': operation.lot_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(182)prepare_affected_lot_ids()
-> 'product_id': operation.product_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(183)prepare_affected_lot_ids()
-> 'lot_version': operation.lot_id.lot_version,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(184)prepare_affected_lot_ids()
-> 'lot_level': operation.lot_id.find_the_lot_level()
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(364)find_the_lot_level()
-> parent_installed_lot = self.lot_ids
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(365)find_the_lot_level()
-> _logger.info("parent_instaled: {}".format(parent_installed_lot))
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(366)find_the_lot_level()
-> if parent_installed_lot:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(370)find_the_lot_level()
-> return level
(Pdb) --Return--
> /var/lib/odoo/custom/addons/fleet_traceability_base/models/stock_production_lot.py(370)find_the_lot_level()->1
-> return level
(Pdb) self = stock.production.lot(202473,)
level = 1
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(176)prepare_affected_lot_ids()
-> lambda op: op.lot_id.id not in fleet_version_changes_ids.mapped('lot_id.id')):
(Pdb) Internal StopIteration
> /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(176)prepare_affected_lot_ids()
-> lambda op: op.lot_id.id not in fleet_version_changes_ids.mapped('lot_id.id')):
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(186)prepare_affected_lot_ids()
-> if not history_id.fleet_version_change_ids:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(155)prepare_affected_lot_ids()
-> for lot in root_children:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(156)prepare_affected_lot_ids()
-> previous_version = lot.version_ids.sorted(key='id', reverse=True)
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(157)prepare_affected_lot_ids()
-> if previous_version and previous_version[0].as_maintained_history_ids:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(158)prepare_affected_lot_ids()
-> history = previous_version[0].as_maintained_history_ids[-1]
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(159)prepare_affected_lot_ids()
-> fleet_version_changes_ids = history.fleet_version_change_ids
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(160)prepare_affected_lot_ids()
-> existing_version_changes = fleet_version_changes_ids.filtered(lambda v_change: v_change.lot_id.id == self.lot_id.id)
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(161)prepare_affected_lot_ids()
-> for change in existing_version_changes:
(Pdb) Internal StopIteration
> /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(161)prepare_affected_lot_ids()
-> for change in existing_version_changes:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(169)prepare_affected_lot_ids()
-> for non_changeable in fleet_version_changes_ids - existing_version_changes:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(170)prepare_affected_lot_ids()
-> non_changeable.copy({
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(171)prepare_affected_lot_ids()
-> 'lot_version_id': history_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(172)prepare_affected_lot_ids()
-> 'product_id': non_changeable.product_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(173)prepare_affected_lot_ids()
-> 'lot_version': non_changeable.lot_id.lot_version,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(169)prepare_affected_lot_ids()
-> for non_changeable in fleet_version_changes_ids - existing_version_changes:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(170)prepare_affected_lot_ids()
-> non_changeable.copy({
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(171)prepare_affected_lot_ids()
-> 'lot_version_id': history_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(172)prepare_affected_lot_ids()
-> 'product_id': non_changeable.product_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(173)prepare_affected_lot_ids()
-> 'lot_version': non_changeable.lot_id.lot_version,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(169)prepare_affected_lot_ids()
-> for non_changeable in fleet_version_changes_ids - existing_version_changes:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(170)prepare_affected_lot_ids()
-> non_changeable.copy({
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(171)prepare_affected_lot_ids()
-> 'lot_version_id': history_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(172)prepare_affected_lot_ids()
-> 'product_id': non_changeable.product_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(173)prepare_affected_lot_ids()
-> 'lot_version': non_changeable.lot_id.lot_version,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(169)prepare_affected_lot_ids()
-> for non_changeable in fleet_version_changes_ids - existing_version_changes:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(170)prepare_affected_lot_ids()
-> non_changeable.copy({
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(171)prepare_affected_lot_ids()
-> 'lot_version_id': history_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(172)prepare_affected_lot_ids()
-> 'product_id': non_changeable.product_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(173)prepare_affected_lot_ids()
-> 'lot_version': non_changeable.lot_id.lot_version,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(169)prepare_affected_lot_ids()
-> for non_changeable in fleet_version_changes_ids - existing_version_changes:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(170)prepare_affected_lot_ids()
-> non_changeable.copy({
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(171)prepare_affected_lot_ids()
-> 'lot_version_id': history_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(172)prepare_affected_lot_ids()
-> 'product_id': non_changeable.product_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(173)prepare_affected_lot_ids()
-> 'lot_version': non_changeable.lot_id.lot_version,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(169)prepare_affected_lot_ids()
-> for non_changeable in fleet_version_changes_ids - existing_version_changes:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(170)prepare_affected_lot_ids()
-> non_changeable.copy({
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(171)prepare_affected_lot_ids()
-> 'lot_version_id': history_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(172)prepare_affected_lot_ids()
-> 'product_id': non_changeable.product_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(173)prepare_affected_lot_ids()
-> 'lot_version': non_changeable.lot_id.lot_version,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(169)prepare_affected_lot_ids()
-> for non_changeable in fleet_version_changes_ids - existing_version_changes:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(170)prepare_affected_lot_ids()
-> non_changeable.copy({
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(171)prepare_affected_lot_ids()
-> 'lot_version_id': history_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(172)prepare_affected_lot_ids()
-> 'product_id': non_changeable.product_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(173)prepare_affected_lot_ids()
-> 'lot_version': non_changeable.lot_id.lot_version,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(169)prepare_affected_lot_ids()
-> for non_changeable in fleet_version_changes_ids - existing_version_changes:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(170)prepare_affected_lot_ids()
-> non_changeable.copy({
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(171)prepare_affected_lot_ids()
-> 'lot_version_id': history_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(172)prepare_affected_lot_ids()
-> 'product_id': non_changeable.product_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(173)prepare_affected_lot_ids()
-> 'lot_version': non_changeable.lot_id.lot_version,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(169)prepare_affected_lot_ids()
-> for non_changeable in fleet_version_changes_ids - existing_version_changes:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(170)prepare_affected_lot_ids()
-> non_changeable.copy({
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(171)prepare_affected_lot_ids()
-> 'lot_version_id': history_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(172)prepare_affected_lot_ids()
-> 'product_id': non_changeable.product_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(173)prepare_affected_lot_ids()
-> 'lot_version': non_changeable.lot_id.lot_version,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(169)prepare_affected_lot_ids()
-> for non_changeable in fleet_version_changes_ids - existing_version_changes:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(170)prepare_affected_lot_ids()
-> non_changeable.copy({
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(171)prepare_affected_lot_ids()
-> 'lot_version_id': history_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(172)prepare_affected_lot_ids()
-> 'product_id': non_changeable.product_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(173)prepare_affected_lot_ids()
-> 'lot_version': non_changeable.lot_id.lot_version,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(169)prepare_affected_lot_ids()
-> for non_changeable in fleet_version_changes_ids - existing_version_changes:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(170)prepare_affected_lot_ids()
-> non_changeable.copy({
(Pdb) self = fleet.repair.line(26571,)
parent_lot_id = stock.production.lot(221837,)
history_id = as_maintained.history(14198,)
children_ids = stock.production.lot(221837, 177408, 177409, 177410, 177411, 177412, 177413, 177414, 177415, 177416, 177417, 177418, 177419, 177420, 177421, 177422, 177423, 177954, 177955, 177956, 177957, 177958, 177959, 177960, 177961, 177962, 177963, 177964, 177965, 177966, 177967, 177968, 177969, 179265, 179266, 179267, 179268, 179269, 179270, 179271, 179272, 179608, 179609, 179610, 179611, 179612, 179613, 179614, 179615, 180085, 180086, 180087, 180088, 180089, 180090, 180091, 180092, 180093, 180094, 180095, 180096, 180097, 180098, 180099, 180115, 180312, 180313, 180314, 180315, 180316, 180317, 180318, 180319, 180320, 180321, 180322, 180323, 180324, 180325, 180326, 180327, 181551, 181552, 181553, 181554, 181555, 181556, 181557, 181558, 181559, 181560, 182298, 182299, 182300, 182301, 182302, 182303, 182304, 182305, 182306, 182307, 182308, 182309, 182310, 182311, 182312, 182313, 182526, 182527, 182528, 182529, 182530, 182531, 182532, 182533, 182534, 182535, 182536, 182537, 182538, 182539, 182540, 182541, 182720, 182721, 182722, 201896, 201937, 201938, 201939, 201940, 201941, 201942, 201943, 201944, 214592, 214593, 214594, 214595, 214596, 214597, 214598, 214599, 214889, 214890, 214891, 214892, 214893, 214894, 214895, 214896, 217331, 217332, 217333, 217334, 217335, 217336, 217337, 217338, 217587, 217588, 217589, 217590, 217591, 217592, 217593, 217594, 218476, 218477, 218478, 218479, 218480, 218481, 218482, 218483, 218728, 218729, 218730, 218731, 218732, 218733, 218734, 218735, 218897, 219173, 219174, 219175, 219176, 219177, 219178, 219179, 219180, 219834, 219835, 219836, 219837, 219838, 219839, 219840, 219841, 220285, 220286, 220287, 220288, 220289, 220290, 220291, 220292, 221209, 221210, 221211, 221212, 221213, 221214, 221215, 221216, 221884, 221885, 221886, 221887, 221888, 221889, 221890, 221891, 223074, 223075, 223076, 223077, 223078, 223079, 223080, 223081, 223502, 223503, 223504, 223505, 223506, 223507, 223508, 223509, 224448, 224449, 224450, 224451, 224452, 224453, 224454, 224455, 225058, 225059, 225060, 225061, 225062, 225063, 225064, 225065, 226080, 226081, 226082, 226083, 226084, 226085, 226086, 226087, 226301, 226302, 226303, 226304, 226305, 226306, 226307, 226308, 227531, 227532, 227533, 227534, 227535, 227536, 227537, 227538, 227539, 227540, 227541, 227542, 227543, 215096, 218709, 210791, 223039, 209600, 217586, 178002, 179682, 202906, 220408, 179547, 220461, 211707, 203549, 219704, 219538, 219727, 219986, 219965, 220389, 218405, 220318, 209349, 217341, 202838, 220217, 211711, 217567, 221835, 218576, 203473, 201909, 221384, 209164, 219952, 220407, 220109, 202984, 210415, 210790, 219425, 202949, 209971, 219654, 202316, 201907, 201899, 217406, 201900, 202804, 218641, 202985, 217279, 211710, 216122, 202515, 219240, 219987, 186889, 186619, 186893, 186891, 186895, 186897, 201089, 200736, 187272, 204293, 201965, 200645, 218795, 200639, 202314, 218821, 200638, 218910, 220280, 202313, 218822, 218794, 218743, 215635, 215589, 218911, 204295, 202190, 200768, 201136, 219252, 215991, 210446, 210789, 218643, 209674, 218186, 211708, 210027, 225390, 226908, 223510, 224293, 227595, 225606, 225681, 227526, 227607, 225019, 223038, 223710, 222498, 222080, 223041, 223656, 223838, 224423, 226501, 226428, 225793, 226057, 228199, 227322, 223426, 228106, 228032, 224996, 223040, 222136, 224521, 223590, 222963, 226731, 228180, 225131, 224398, 224581, 226884, 227438, 228200, 226033, 225359, 213050, 180126, 213054, 215054, 213048, 215053, 214074, 218918, 218938, 218940, 220293, 218939, 218916, 218912, 215700, 215720, 218941, 214075, 213047, 213056)
lot_level = 1
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(171)prepare_affected_lot_ids()
-> 'lot_version_id': history_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(172)prepare_affected_lot_ids()
-> 'product_id': non_changeable.product_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(173)prepare_affected_lot_ids()
-> 'lot_version': non_changeable.lot_id.lot_version,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(169)prepare_affected_lot_ids()
-> for non_changeable in fleet_version_changes_ids - existing_version_changes:
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(170)prepare_affected_lot_ids()
-> non_changeable.copy({
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(171)prepare_affected_lot_ids()
-> 'lot_version_id': history_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(172)prepare_affected_lot_ids()
-> 'product_id': non_changeable.product_id.id,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(173)prepare_affected_lot_ids()
-> 'lot_version': non_changeable.lot_id.lot_version,
(Pdb) > /var/lib/odoo/custom/addons/fleet_traceability_base/models/fleet_repair_line.py(169)prepare_affected_lot_ids()
-> for non_changeable in fleet_version_changes_ids - existing_version_changes: