Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
317 Представления

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

Аватар
Отменить
Лучший ответ

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})


Аватар
Отменить