Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I have an issue in Odoo 10. I change name of a given product.template by using:
my_product_template_id.name = '...'
In database the name is actually changed:
select id,name from product_template where id=226;
id | name -----+---------------------------------------------------
226 | ISO4028 M 1.4 S1max 0.65 t1 1 dp 21 z2max 31 t2 A
As shown in the image, the ID 226 appears with the following name:
I have tried to refresh browser, restart server, etc. but the old name is still there.
It happens the same if the name is updated directly in database:
update product_template set name = 'New Name' where id=226;
Database name is updated but when you read again the record in web the old name is still there.
I guess I am missing something important, could someone help me to understand how to change the name of a product_template?
Regarding product_product, I am not using variants and hence there is no column name in that table.
Your situation sounds strange to me as if you update the record by direct sql command, it should be updated instantly on the web side as well.
May I know if the issue only occurs at the name of product_template or it actually impacts every others models?
Maybe you should first check the connection from Odoo to database and try to create a new database in order to check whether your issue is database dependent.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 8/31/17, 8:57 PM|
|Seen: 391 times|
|Last updated: 9/1/17, 9:35 AM|