Odoo Help

0

Print report only for selected partner

By
Grf
on 6/27/17, 10:17 AM 200 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')

0
--Niyas Raphy--

Odoo Techno Functionalist @ Cybrosys Techno Solutions

Graduation : B-Tech in Computer Science & Engineering from Calicut University (2012 - 2016)


Niyas Raphy
On 6/27/17, 10:26 AM

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.

Grf
on 6/27/17, 11:03 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 6/27/17, 10:17 AM
Seen: 200 times
Last updated: 6/27/17, 10:26 AM