Skip to Content
Menu
This question has been flagged

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
Discard
Author

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

Related Posts Replies Views Activity
2
Mar 24
2664
1
Sep 23
2145
2
May 23
197
0
Mar 25
767
1
Apr 24
2356