Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3637 Vizualizări

Hello, in Odoo 14 Cloud, I'm trying to figure out how to view the invoices associated with an archived customer.  To replicate my issue:

1. Archive a customer that has invoices associated

2. In Contacts module, apply the Archived filter to locate the archived customer, then open the record

3. Select the "Invoiced" tab at the top.  There are no records shown even though the customer does have invoices.  By default, a filter of "Not Paid" is applied. Clear all filters.  The invoices are still not shown. 


I have found two ways I can view the invoices on archived customers:

1. Go into Invoicing module and filter by the customer's name.  We could do it this way but it would be more efficient to do it directly from the contact record if that's where the inquiry started. 

2. Unarchive the customer then click the "Invoiced" tab from within the customer record.  I'd rather not do this because people will invariably forget to re-archive the customer when they're done with their inquiry. 


Am I missing something/doing something wrong? Is there in fact a way to view invoices on archived customers directly from the contact record?  Thanks

Imagine profil
Abandonează
Cel mai bun răspuns

Hello Kylie Grant,

There is no direct way to view invoices on archived customers directly from the contact record.

You can customise the below method to achieve this:
Path: addons/account/models/partner.py
Method: action_view_partner_invoices
Please add with_context(active_test=False) in second line of the above method like this:
action = self.env["ir.actions.actions"].with_context(active_test=False)._for_xml_id("account.action_move_out_invoice_type")

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
iun. 25
871
0
feb. 24
1308
5
ian. 24
6906
0
oct. 23
1400
1
mai 23
2687