跳至內容
選單
此問題已被標幟
1 回覆
3769 瀏覽次數

There is Partner Ledger report but it prints only for all partners. so i added partner id in the wizard.

Now i need a method that would print report only for selected partners. I hope you guys can give me food for thoughts. maybe some pseudo code how should've i implement it.


        class AccountPartnerLedger(models.TransientModel):

            _inherit = "account.report.partner.ledger"

    

            partner_ids = fields.Many2many(

            'res.partner', string='Choose partners')

頭像
捨棄
最佳答案

Hi,

If you want to get the partner ledger report of a selected partner, you can get it from ,

Open the partner form , then  click on the Action in the top, then there you can see the partner ledger report. (Based on v10)

Also you can  refer this community module, https://www.odoo.com/apps/modules/10.0/account_partner_ledger_filter/

Thanks

頭像
捨棄
作者

it's not an option. because i need to chose partners in report wizard, there can be 5 or 20 parnters that i want to print report for.

相關帖文 回覆 瀏覽次數 活動
0
10月 24
1733
0
8月 24
1561
0
1月 24
2044
1
11月 23
1759
0
6月 23
2081