Basing RPC purely on OWL rendering cycle is a bad idea, as anything can happen at any time, outside of our control in a complex application. Controls to (re)load is completely moved up to the form controller, which is closer to functional changes. This will fix an issue where `register_as_main_attachment` is called multiple times, sending the same invoice to OCR multiple times. closes odoo/odoo#143867 Related: odoo/enterprise#51670 Signed-off-by: Didier Debondt (did) <did@odoo.com>