Ir al contenido
Menú
Se marcó esta pregunta

i have created a field named total discount and computed the below code for it using studio 
for record in self:
record['x_studio_integer_field_at_1h4b0pdc1'] = record['amount_total'] - record['amount_untaxed']
this code used to generate a number that was the subtraction of amount undiscounted and amount untaxed but suddenly after 5 days this code does not work and wont effect the output of my custom field i have tested it on multiple databases but it doesn't work . has something changed in odoo causing this issue???

Avatar
Descartar
Autor

This is exactly my point and issue i have firts made and tried it on a trial database and then used it in my company account and both worked , now suddenly i cant recreate it after it stopped working on trial account or my own databse , this is why i suspect there was a change in the odoo system itslef maybe an update or something from the mother company

Publicaciones relacionadas Respuestas Vistas Actividad
2
mar 24
2696
1
sept 23
2169
2
may 23
197
0
mar 25
779
1
abr 24
2384