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:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1
Trả lời
307
Lượt xem
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})
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký