I wont to create internal transfer entry account1 to account2 from python:
- Access from backend and call ('Internal Transfer' account.reconcile.model) in accounting Bank Reconciliation.
writeoff_btn = self.env['account.reconcile.model'].search([
*self.env['account.reconcile.model']._check_company_domain(self.company_id),
('rule_type', '=', 'writeoff_button'),
])
- Access "validate" button and call from python.
- Access "reset" button and call from python.