Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RPC_ERROR
- Odoo Server Error
- Traceback (most recent call last):
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 4249, in _disable_recursion
- yield disabled
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 2176, in _sync_dynamic_lines
- stack.enter_context(self._sync_dynamic_line(
- File "/usr/lib/python3.10/contextlib.py", line 492, in enter_context
- result = _cm_type.__enter__(cm)
- File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
- return next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 2068, in _sync_dynamic_line
- needed_before = needed()
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 2054, in needed
- new_value = field.convert_to_cache(current_value, record)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1633, in convert_to_cache
- currency = record.sudo().with_context(prefetch_fields=False)[currency_field]
- File "/home/odoo/src/odoo/odoo/models.py", line 5308, in with_context
- return self.with_env(self.env(context=context))
- File "/home/odoo/src/odoo/odoo/api.py", line 585, in __call__
- return Environment(cr, uid, context, su, self.uid_origin)
- File "/home/odoo/src/odoo/odoo/api.py", line 522, in __new__
- for env in transaction.envs:
- File "/usr/lib/python3.10/_weakrefset.py", line 64, in __iter__
- with _IterationGuard(self):
- RecursionError: maximum recursion depth exceeded while calling a Python object
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 4249, in _disable_recursion
- yield disabled
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1742, in _check_balanced
- yield
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
- return next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 2163, in _sync_dynamic_lines
- with self._disable_recursion(container, 'skip_invoice_sync') as disabled:
- File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
- self.gen.throw(typ, value, traceback)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 4256, in _disable_recursion
- for env in (self.env.transaction.envs - previous_envs):
- File "/usr/lib/python3.10/_weakrefset.py", line 132, in difference
- newset = self.copy()
- File "/usr/lib/python3.10/_weakrefset.py", line 97, in copy
- return self.__class__(self)
- File "/usr/lib/python3.10/_weakrefset.py", line 51, in __init__
- self.update(data)
- File "/usr/lib/python3.10/_weakrefset.py", line 124, in update
- for element in other:
- File "/usr/lib/python3.10/_weakrefset.py", line 64, in __iter__
- with _IterationGuard(self):
- File "/usr/lib/python3.10/_weakrefset.py", line 33, in __exit__
- w._commit_removals()
- File "/usr/lib/python3.10/_weakrefset.py", line 58, in _commit_removals
- item = pop()
- RecursionError: maximum recursion depth exceeded while calling a Python object
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/odoo/src/odoo/odoo/http.py", line 1651, in _serve_db
- return service_model.retrying(self._serve_ir_http, self.env)
- File "/home/odoo/src/odoo/odoo/service/model.py", line 133, in retrying
- result = func()
- File "/home/odoo/src/odoo/odoo/http.py", line 1678, in _serve_ir_http
- response = self.dispatcher.dispatch(rule.endpoint, args)
- File "/home/odoo/src/odoo/odoo/http.py", line 1882, in dispatch
- result = self.request.registry['ir.http']._dispatch(endpoint)
- File "/home/odoo/src/odoo/addons/website/models/ir_http.py", line 237, in _dispatch
- response = super()._dispatch(endpoint)
- File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 154, in _dispatch
- result = endpoint(**request.params)
- File "/home/odoo/src/odoo/odoo/http.py", line 734, in route_wrapper
- result = endpoint(self, *args, **params_ok)
- File "/home/odoo/src/odoo/addons/web/controllers/dataset.py", line 46, in call_button
- action = self._call_kw(model, method, args, kwargs)
- File "/home/odoo/src/odoo/addons/web/controllers/dataset.py", line 33, in _call_kw
- return call_kw(request.env[model], method, args, kwargs)
- File "/home/odoo/src/odoo/odoo/api.py", line 468, in call_kw
- result = _call_kw_multi(method, model, args, kwargs)
- File "/home/odoo/src/odoo/odoo/api.py", line 453, in _call_kw_multi
- result = method(recs, *args, **kwargs)
- File "/home/odoo/src/user/odoo-mastercore/account-payment/account_payment_group/models/account_move.py", line 82, in action_post
- res = super(AccountMove, self).action_post()
- File "/home/odoo/src/odoo/addons/sale/models/account_move.py", line 63, in action_post
- res = super(AccountMove, self).action_post()
- File "/home/odoo/src/user/odoo-mastercore/account-financial-tools/account_ux/models/account_move.py", line 51, in action_post
- res = super().action_post()
- File "/home/odoo/src/enterprise/account_accountant/models/account_move.py", line 24, in action_post
- res = super().action_post()
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 3850, in action_post
- other_moves._post(soft=False)
- File "/home/odoo/src/user/odoo-mastercore/odoo-venezuela/l10n_ve_withholding/models/account_move.py", line 64, in _post
- super(AccountMove, self)._post(soft)
- File "/home/odoo/src/odoo/addons/stock_landed_costs/models/account_move.py", line 50, in _post
- posted = super()._post(soft)
- File "/home/odoo/src/user/odoo-mastercore/odoo_pos/pos_hka_printer/models/account_move.py", line 27, in _post
- res = super(AccountMove, self)._post(soft)
- File "/home/odoo/src/enterprise/account_asset/models/account_move.py", line 113, in _post
- posted = super()._post(soft)
- File "/home/odoo/src/odoo/addons/sale/models/account_move.py", line 107, in _post
- posted = super()._post(soft)
- File "/home/odoo/src/odoo/addons/purchase_stock/models/account_invoice.py", line 159, in _post
- svls, _amls = valued_lines._apply_price_difference()
- File "/home/odoo/src/odoo/addons/purchase_stock/models/account_move_line.py", line 155, in _apply_price_difference
- return self.env['stock.valuation.layer'].sudo().create(svl_vals_list), self.env['account.move.line'].sudo().create(aml_vals_list)
- File "<decorator-gen-216>", line 2, in create
- File "/home/odoo/src/odoo/odoo/api.py", line 415, in _model_create_multi
- return create(self, arg)
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1440, in create
- with moves._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
- next(self.gen)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1746, in _check_balanced
- unbalanced_moves = self._get_unbalanced_moves(container)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1770, in _get_unbalanced_moves
- self.env['account.move.line'].flush_model(['debit', 'credit', 'balance', 'currency_id', 'move_id'])
- File "/home/odoo/src/odoo/odoo/models.py", line 5628, in flush_model
- self._recompute_model(fnames)
- File "/home/odoo/src/odoo/odoo/models.py", line 6254, in _recompute_model
- self._recompute_field(field)
- File "/home/odoo/src/odoo/odoo/models.py", line 6282, in _recompute_field
- field.recompute(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1370, in recompute
- apply_except_missing(self.compute_value, recs)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1343, in apply_except_missing
- func(records)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1392, in compute_value
- records._compute_field_value(self)
- File "/home/odoo/src/odoo/odoo/models.py", line 4240, in _compute_field_value
- fields.determine(field.compute, self)
- File "/home/odoo/src/odoo/odoo/fields.py", line 98, in determine
- return needle(*args)
- File "/home/odoo/src/user/odoo-mastercore/l10n_latam_addons/l10n_latam_foreing_currency/models/account_move.py", line 287, in _compute_debit_credit
- line.foreign_currency_rate = round(rate,4)
- File "/home/odoo/src/odoo/odoo/fields.py", line 1325, in __set__
- records.write({self.name: write_value})
- File "/home/odoo/src/odoo/addons/account/models/account_move_line.py", line 1498, in write
- with self.move_id._check_balanced(move_container),\
- File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
- self.gen.throw(typ, value, traceback)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 1741, in _check_balanced
- with self._disable_recursion(container, 'check_move_validity', default=True, target=False) as disabled:
- File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
- self.gen.throw(typ, value, traceback)
- File "/home/odoo/src/odoo/addons/account/models/account_move.py", line 4256, in _disable_recursion
- for env in (self.env.transaction.envs - previous_envs):
- File "/usr/lib/python3.10/_weakrefset.py", line 132, in difference
- newset = self.copy()
- File "/usr/lib/python3.10/_weakrefset.py", line 97, in copy
- return self.__class__(self)
- File "/usr/lib/python3.10/_weakrefset.py", line 51, in __init__
- self.update(data)
- File "/usr/lib/python3.10/_weakrefset.py", line 124, in update
- for element in other:
- File "/usr/lib/python3.10/_weakrefset.py", line 64, in __iter__
- with _IterationGuard(self):
- File "/usr/lib/python3.10/_weakrefset.py", line 33, in __exit__
- w._commit_removals()
- File "/usr/lib/python3.10/_weakrefset.py", line 58, in _commit_removals
- item = pop()
- RecursionError: maximum recursion depth exceeded while calling a Python object
- The above server error caused the following client error:
- RPC_ERROR: Odoo Server Error
- RPC_ERROR
- at makeErrorFromResponse (https://detodood-staging-15690636.dev.odoo.com/web/assets/4962-9bd41b8/web.assets_backend.min.js:1004:163)
- at XMLHttpRequest.<anonymous> (https://detodood-staging-15690636.dev.odoo.com/web/assets/4962-9bd41b8/web.assets_backend.min.js:1012:13)
Add Comment
Please, Sign In to add comment