تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1978 أدوات العرض

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???

الصورة الرمزية
إهمال
الكاتب

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

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
مارس 24
2834
1
سبتمبر 23
2306
2
مايو 23
197
1
أغسطس 25
2881
0
مارس 25
892