My requirements is
- AccountMove has Paid /invoice_payment_state/ 
- Product has left Qty /qty_available/ 
I use 2 variant but not working:
- use @api.onchange not working 
- override write function not working 
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
My requirements is
AccountMove has Paid /invoice_payment_state/
Product has left Qty /qty_available/
I use 2 variant but not working:
use @api.onchange not working
override write function not working
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden| Gerelateerde posts | Antwoorden | Weergaven | Activiteit | |
|---|---|---|---|---|
|  | 1 aug. 22  | 2939 | ||
|  | 1 okt. 23  | 2566 | ||
|  | 2 okt. 23  | 2797 | ||
|  | 2 aug. 23  | 4989 | ||
|  | 4 aug. 23  | 21388 | 
I solved it. Use base.automation module.
Advantages:
no coding on file, no git push, no release, no restart