Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
2235 มุมมอง

I got this error when I restore database from my server to my local then access Sale > Product > Product

I try to upgrade stock module then I got this error

Field "project_template_use_documents" does not exist in model "product.template"
View error context:
{'file': '/opt/odoo/enterprise/addons/sale_amazon/views/product_views.xml',
 'line': 3,
 'name': 'product.template.form.inherit',
 'view': ir.ui.view(2484,),
 'view.model': 'product.template',
 'view.parent': ir.ui.view(449,),
 'xmlid': 'amazon_product_template_view_form'}


I curious and open the xml, but there is no "project_template_use_documents" mention in any file in enterprise. including sale_amazon module


why this error happen?

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

I check in setting models, is from app called "documents_project_sale". upgrading this addon without changing anything, solve my problem

I have no idea what is this addon

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

The error is rising from the field "project_template_use_documents" .  In odoo 16 this field is not available in the enterprise addons. But it is available in the odoo version 17. So ensure that you are restored the DB from actual version.


Hope it helps

อวตาร
ละทิ้ง
ผู้เขียน

My server use odoo 16 enterprise. And my local is also using odoo 16 enterprise. So what's the problem?

Other addon have no problem to access but somehow sale product become error because a field is showing out of nowhere

Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ส.ค. 24
2001
0
ส.ค. 21
2170
2
มี.ค. 15
8410
Product unit of mesure, packing แก้ไขแล้ว
3
พ.ค. 23
1819
5
มี.ค. 25
5786