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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
2
回覆
2509
瀏覽次數
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
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
1
3月 25
|
1481 | ||
|
1
6月 24
|
2154 | ||
|
1
3月 23
|
5217 | ||
|
1
11月 22
|
18756 | ||
|
1
10月 22
|
11392 |