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???
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
            
                2391
                
                    Tampilan
                
            
        
    Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
| 
            
                Multiple Address in sale orde
            
            
                    Diselesaikan
            
         |  | 2 Mar 24  | 3257 | |
|  | 1 Sep 23  | 2858 | ||
|  | 2 Mei 23  | 197 | ||
|  | 1 Agu 25  | 3537 | ||
|  | 0 Mar 25  | 1201 | 
 
                        
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