Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
1049 Ansichten

Greetings,


I have issue when I try to access my Products Page or Product settings (Odoo 16). This is the error that pops up:


UncaughtPromiseError
Uncaught Promise > Missing field string information for the field 'brand_id' from the 'product.template' model
Error: Missing field string information for the field 'brand_id' from the 'product.template' model
    at https://mangasvijet.com/web/assets/debug/web.assets_backend.js:69269:27 (/web/static/src/legacy/legacy_load_views.js:69)
    at traverse (https://mangasvijet.com/web/assets/debug/web.assets_backend.js:69207:9) (/web/static/src/legacy/legacy_load_views.js:7)
    at https://mangasvijet.com/web/assets/debug/web.assets_backend.js:69209:13 (/web/static/src/legacy/legacy_load_views.js:9)
    at Function.each (https://mangasvijet.com/web/assets/debug/web.assets_common.js:1910:9) (/web/static/lib/underscore/underscore.js:1330)
    at traverse (https://mangasvijet.com/web/assets/debug/web.assets_backend.js:69208:11) (/web/static/src/legacy/legacy_load_views.js:8)
    at https://mangasvijet.com/web/assets/debug/web.assets_backend.js:69209:13 (/web/static/src/legacy/legacy_load_views.js:9)
    at Function.each (https://mangasvijet.com/web/assets/debug/web.assets_common.js:1910:9) (/web/static/lib/underscore/underscore.js:1330)
    at traverse (https://mangasvijet.com/web/assets/debug/web.assets_backend.js:69208:11) (/web/static/src/legacy/legacy_load_views.js:8)
    at https://mangasvijet.com/web/assets/debug/web.assets_backend.js:69209:13 (/web/static/src/legacy/legacy_load_views.js:9)
    at Function.each (https://mangasvijet.com/web/assets/debug/web.assets_common.js:1910:9) (/web/static/lib/underscore/underscore.js:1330)


Also, same error occurs when I try to access 'product.product' moddel.

The brand_id field is defined as many2one in those models.


This is the log from odoo server:

2023-10-20 22:38:26,779 112839 INFO MangaSvijetOdoo werkzeug: 79.140.150.148 - - [20/Oct/2023 22:38:26] "GET /web/image/res.company/1/favicon HTTP/1.0" 304 - 5 0.002 0.009
2023-10-20 22:38:30,449 112839 ERROR MangaSvijetOdoo odoo.addons.base.models.ir_model: Missing model product.brand
2023-10-20 22:38:30,450 112839 ERROR MangaSvijetOdoo odoo.addons.base.models.ir_model: Missing model boec.config
2023-10-20 22:38:32,377 112839 INFO MangaSvijetOdoo odoo.modules.registry: At least one model cache has been invalidated, signaling through the database.


Can you please help me to solve this issue, as I do not have any idea what happened considering that I was not changing anything.


Thank you in advance :)

Avatar
Verwerfen
Beste Antwort

Hi,

The issue you're seeing indicates that the 'brand_id' field from the 'product.template' model may be missing some field string data. Odoo usually experiences this when it cannot locate the definition for the 'brand_id' field. The following actions will assist you in identifying and perhaps fixing the problem:

* Verify that the 'product.template' model's 'brand_id' field is defined correctly. Check to make sure the field is correctly linked to the 'product.brand' model and has the appropriate data type.

* 'Product.brand' and 'boec.config' are missing models, according to the log message. Make sure your Odoo system has these models and their dependencies installed and accessible. If they're absent, you might have to install the necessary modules or see if any custom.


Hope it helps

Avatar
Verwerfen