This question has been flagged
1 Reply
3061 Views

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')

Avatar
Discard
Best Answer

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

Avatar
Discard
Author

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.