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
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
1
Répondre
324
Vues
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})
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire