Hello, please help me i'm in server action. I'm executing python code that update de value of field Total but no result. Here is my code
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
316
查看
hello,
Tying this Python code
for record in self:
total_value = record.product_qty * record.price_unit * record.x_studio_carat_ct
record.write({'price_total': total_value})