File "/opt/odoo/auto/addons/base_rest/http.py", line 182, in _handle_exception return super(HttpRestRequest, self)._handle_exception(exception) File "/opt/odoo/custom/src/odoo/odoo/http.py", line 776, in _handle_exception return super(HttpRequest, self)._handle_exception(exception) File "/opt/odoo/custom/src/odoo/odoo/http.py", line 314, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/opt/odoo/custom/src/odoo/odoo/tools/pycompat.py", line 87, in reraise raise value File "/opt/odoo/auto/addons/lcc_lokavaluto_app_connection/http.py", line 129, in dispatch return super(HttpRestRequest, self).dispatch() File "/opt/odoo/custom/src/odoo/odoo/http.py", line 835, in dispatch r = self._call_function(**self.params) File "/opt/odoo/custom/src/odoo/odoo/http.py", line 346, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo/custom/src/odoo/odoo/service/model.py", line 98, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/custom/src/odoo/odoo/http.py", line 339, in checked_call result = self.endpoint(*a, **kw) File "/opt/odoo/custom/src/odoo/odoo/http.py", line 941, in __call__ return self.method(*args, **kw) File "/opt/odoo/custom/src/odoo/odoo/http.py", line 519, in response_wrap response = f(*args, **kw) File "<string>", line 6, in post_credit File "/opt/odoo/auto/addons/base_rest/controllers/main.py", line 144, in _process_method result = service.dispatch(method_name, *args, params=params) File "/opt/odoo/auto/addons/base_rest/components/service.py", line 160, in dispatch res = method(*args, secure_params) File "/opt/odoo/auto/addons/base_rest/restapi.py", line 61, in response_wrap response = f(*args, **kw) File "/opt/odoo/auto/addons/lcc_comchain_base/services/comchain_services.py", line 104, in credit new_order = partner.comchainCreateOrder(comchain_address, amount) File "/opt/odoo/auto/addons/lcc_comchain_base/models/res_partner.py", line 163, in comchainCreateOrder order_vals = order.play_onchanges(order_vals, ["partner_id"]) AttributeError: 'sale.order' object has no attribute 'play_onchanges'
File "/opt/odoo/auto/addons/base_rest/http.py", line 182, in _handle_exception return super(HttpRestRequest, self)._handle_exception(exception) File "/opt/odoo/custom/src/odoo/odoo/http.py", line 776, in _handle_exception return super(HttpRequest, self)._handle_exception(exception) File "/opt/odoo/custom/src/odoo/odoo/http.py", line 314, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/opt/odoo/custom/src/odoo/odoo/tools/pycompat.py", line 87, in reraise raise value File "/opt/odoo/auto/addons/lcc_lokavaluto_app_connection/http.py", line 129, in dispatch return super(HttpRestRequest, self).dispatch() File "/opt/odoo/custom/src/odoo/odoo/http.py", line 835, in dispatch r = self._call_function(**self.params) File "/opt/odoo/custom/src/odoo/odoo/http.py", line 346, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo/custom/src/odoo/odoo/service/model.py", line 98, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/custom/src/odoo/odoo/http.py", line 339, in checked_call result = self.endpoint(*a, **kw) File "/opt/odoo/custom/src/odoo/odoo/http.py", line 941, in __call__ return self.method(*args, **kw) File "/opt/odoo/custom/src/odoo/odoo/http.py", line 519, in response_wrap response = f(*args, **kw) File "<string>", line 6, in post_credit File "/opt/odoo/auto/addons/base_rest/controllers/main.py", line 144, in _process_method result = service.dispatch(method_name, *args, params=params) File "/opt/odoo/auto/addons/base_rest/components/service.py", line 160, in dispatch res = method(*args, secure_params) File "/opt/odoo/auto/addons/base_rest/restapi.py", line 61, in response_wrap response = f(*args, **kw) File "/opt/odoo/auto/addons/lcc_comchain_base/services/comchain_services.py", line 104, in credit new_order = partner.comchainCreateOrder(comchain_address, amount) File "/opt/odoo/auto/addons/lcc_comchain_base/models/res_partner.py", line 163, in comchainCreateOrder order_vals = order.play_onchanges(order_vals, ["partner_id"]) AttributeError: 'sale.order' object has no attribute 'play_onchanges'