Hii,
When we Validate a sales invoice that has out deliveries.
The system auto reconciles stock move Inventory Control Out (Debit) account with
customer invoice Inventory Control Out (Credit) account and assigns matching numbers. We can see the reconciled entries in the Journal Items filtring by invoice id and stock move id.
I have developed a custom module for sale that has pickings (deliveries) and account move (Journal entries). Now we need to add the auto reconcile as described above.
How reconcile works in odoo python side? What are the functions to call?
How we can achieve this requirement?
Odoo 12 EE.
Thanks,