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
الردود
2506
أدوات العرض
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
مارس 25
|
1479 | ||
|
1
يونيو 24
|
2151 | ||
|
1
مارس 23
|
5211 | ||
Create new invoice by code
تم الحل
|
|
1
نوفمبر 22
|
18753 | |
|
1
أكتوبر 22
|
11392 |