Odoo Server Error
Traceback (most recent call last): File "C:\Program Files\Odoo 14.0.20220429\server\odoo\addons\base\models\ir_http.py", line 237, in _dispatch result = request.dispatch() File "C:\Program Files\Odoo 14.0.20220429\server\odoo\http.py", line 685, in dispatch result = self._call_function(**self.params) File "C:\Program Files\Odoo 14.0.20220429\server\odoo\http.py", line 361, in _call_function return checked_call(self.db, *args, **kwargs) File "C:\Program Files\Odoo 14.0.20220429\server\odoo\service\model.py", line 94, in wrapper return f(dbname, *args, **kwargs) File "C:\Program Files\Odoo 14.0.20220429\server\odoo\http.py", line 349, in checked_call result = self.endpoint(*a, **kw) File "C:\Program Files\Odoo 14.0.20220429\server\odoo\http.py", line 914, in __call__ return self.method(*args, **kw) File "C:\Program Files\Odoo 14.0.20220429\server\odoo\http.py", line 533, in response_wrap response = f(*args, **kw) File "C:\Program Files\Odoo 14.0.20220429\server\odoo\addons\web\controllers\main.py", line 1398, in call_button action = self._call_kw(model, method, args, kwargs) File "C:\Program Files\Odoo 14.0.20220429\server\odoo\addons\web\controllers\main.py", line 1386, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "C:\Program Files\Odoo 14.0.20220429\server\odoo\api.py", line 399, in call_kw result = _call_kw_multi(method, model, args, kwargs) File "C:\Program Files\Odoo 14.0.20220429\server\odoo\api.py", line 386, in _call_kw_multi result = method(recs, *args, **kwargs) File "C:\Program Files\Odoo 14.0.20220429\server\odoo\addons\sale_crm\models\sale_order.py", line 15, in action_confirm return super(SaleOrder, self.with_context({k:v for k,v in self._context.items() if k != 'default_tag_ids'})).action_confirm() File "C:\Program Files\Odoo 14.0.20220429\server\odoo\addons\sale_management\models\sale_order.py", line 151, in action_confirm res = super(SaleOrder, self).action_confirm() File "C:\Program Files\Odoo 14.0.20220429\server\odoo\addons\sale\models\sale.py", line 952, in action_confirm self.with_context(context)._action_confirm() File "C:\Program Files\Odoo 14.0.20220429\server\odoo\addons\sale_project\models\sale_order.py", line 53, in _action_confirm result = super()._action_confirm() File "C:\Program Files\Odoo 14.0.20220429\server\odoo\addons\sale_stock\models\sale_order.py", line 148, in _action_confirm self.order_line._action_launch_stock_rule() File "C:\Program Files\Odoo 14.0.20220429\server\odoo\addons\procurement_jit\sale.py", line 11, in _action_launch_stock_rule res = super(SaleOrderLine, self)._action_launch_stock_rule(previous_product_uom_qty=previous_product_uom_qty) File "C:\Program Files\Odoo 14.0.20220429\server\odoo\addons\sale_stock\models\sale_order.py", line 602, in _action_launch_stock_rule self.env['procurement.group'].run(procurements) File "C:\Program Files\Odoo 14.0.20220429\server\odoo\addons\stock_orderpoint_origin\models\procurement_group.py", line 29, in run source_groups = [x.procurement_group_id for x in source_docs] File "C:\Program Files\Odoo 14.0.20220429\server\odoo\addons\stock_orderpoint_origin\models\procurement_group.py", line 29, in source_groups = [x.procurement_group_id for x in source_docs] Exception The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Program Files\Odoo 14.0.20220429\server\odoo\http.py", line 641, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "C:\Program Files\Odoo 14.0.20220429\server\odoo\http.py", line 317, in _handle_exception raise exception.with_traceback(None) from new_cause AttributeError: 'stock.picking' object has no attribute 'procurement_group_id'
I got the above error when trying to 'Confirm' a Sales Quotation.
I am using Odoo 14 Community Version.
Please advise.
Thank you.
Regards,
HW