Hello, I encounter a problem in chapter 8 of the Odoo 14 tutorial,
after having followed the instructions to create the one2many model
as well as the associate view I have this error which is displayed when I click to add a field
Traceback (most recent call last): File "C:\Isagold\isagold\odoo\addons\base\models\ir_http.py", line 237, in _dispatch result = request.dispatch() File "C:\Isagold\isagold\odoo\http.py", line 684, in dispatch result = self._call_function(**self.params) File "C:\Isagold\isagold\odoo\http.py", line 360, in _call_function return checked_call(self.db, *args, **kwargs) File "C:\Isagold\isagold\odoo\service\model.py", line 94, in wrapper return f(dbname, *args, **kwargs) File "C:\Isagold\isagold\odoo\http.py", line 348, in checked_call result = self.endpoint(*a, **kw) File "C:\Isagold\isagold\odoo\http.py", line 913, in __call__ return self.method(*args, **kw) File "C:\Isagold\isagold\odoo\http.py", line 532, in response_wrap response = f(*args, **kw) File "c:\isagold\isagold\addons\web\controllers\main.py", line 1394, in call_kw return self._call_kw(model, method, args, kwargs) File "c:\isagold\isagold\addons\web\controllers\main.py", line 1386, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "C:\Isagold\isagold\odoo\api.py", line 399, in call_kw result = _call_kw_multi(method, model, args, kwargs) File "C:\Isagold\isagold\odoo\api.py", line 386, in _call_kw_multi result = method(recs, *args, **kwargs) File "C:\Isagold\isagold\odoo\models.py", line 6227, in onchange record._update_cache(changed_values, validate=False) File "C:\Isagold\isagold\odoo\models.py", line 5169, in _update_cache cache.set(self, field, field.convert_to_cache(value, self, validate)) File "C:\Isagold\isagold\odoo\fields.py", line 2658, in convert_to_cache id_ = comodel.new(value, origin=origin).id File "C:\Isagold\isagold\odoo\models.py", line 5523, in new record._update_cache(values, validate=False) File "C:\Isagold\isagold\odoo\models.py", line 5165, in _update_cache raise ValueError("Invalid field %r on model %r" % (e.args[0], self._name)) Exception The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Isagold\isagold\odoo\http.py", line 640, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "C:\Isagold\isagold\odoo\http.py", line 316, in _handle_exception raise exception.with_traceback(None) from new_cause ValueError: Invalid field 'tag_ids' on model 'res.partner'I don't understand because there is no link between res.partner and tag_ids.
If anyone knows where the problem comes from that would help me a lot to understand.
Thank you in advance and sorry if my English leaves much to be desired.
can you share little bit more code and views xml? and did you upgraded the modul after edits?
Try: https://www.youtube.com/watch?v=DJyPx5u6sd0&list=PLqRRLx0cl0homY1elJbSoWfeQbRKJ-oPO
#odoo #openerp #ERP #customization
#tips #training #development #guide #python
https://old.reddit.com/r/learnodoo/