This question has been flagged

My requirements is

  1. AccountMove has Paid /invoice_payment_state/

  2. Product has left Qty /qty_available/


I use 2 variant but not working:

  1. use @api.onchange not working

  2. override write function not working

Avatar
Discard
Author

I solved it. Use base.automation module.

Advantages:

no coding on file, no git push, no release, no restart