I am mass importing Invoices and Payments, and I know which ones have to be reconciled but I don't want to do this manually.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kirjanpito
- Inventaario
- PoS
- Project management
- MRP
Tämä kysymys on merkitty
2
Vastaukset
723
Näkymät
Given you have the ID of the Journal Item (account.move.line) representing the AP debit from the Invoice and the ID of the Journal Item representing the AP credit from the Payment:
reconcile_wanted = self.env['account.reconcile.wizard'].with_context(
active_model='account.move.line',
active_ids=[__invoice_move_line_id__,__payment_move_line_id__],
).new({'allow_partials': True})
reconcile_wanted.reconcile()
great answer thank you so much
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
RekisteröidyRelated Posts | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
1
kesäk. 24
|
639 | ||
|
1
maalisk. 23
|
2908 | ||
Create new invoice by code
Ratkaistu
|
|
1
marrask. 22
|
17381 | |
|
1
lokak. 22
|
9433 | ||
|
7
tammik. 22
|
16117 |