I'm using OE7, and when I change a product name, it doesn't update the field 'name' at database in the table 'product_product'. The name of the product is translated, but I don't want this. How can I force updating name field instead to do a translation? Thanks in advice.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- सीआरएम
- e-Commerce
- लेखांकन
- इन्वेंटरी
- PoS
- Project
- MRP
This question has been flagged
This can be solved changing the translate property at \addons\products\products.py:
class product_template(osv.osv): _name = "product.template" _description = "Product Template"
_columns = {
'name': fields.char('Name', size=128, required=True, **translate=False**, select=True)
I have multi_variants module installed, and this trick don't works if this module is installed.
Solved changing translate=False at \addons\product\product.py Now changes are updated in product_template,name
#----------------------------------------------------------
Products
#---------------------------------------------------------- class product_template(osv.osv): _name = "product.template" _description = "Product Template"
_columns = {
'name': fields.char('Name', size=128, required=True, translate=False, select=True)
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
अक्तू॰ 23
|
1879 | ||
|
0
मार्च 15
|
4075 | ||
|
1
दिस॰ 24
|
1372 | ||
|
3
दिस॰ 23
|
20068 | ||
|
1
मार्च 15
|
5822 |