I'm trying to find all paid customer invoices that were paid after the due date.
Is there a way to create a filter to find these invoices?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I'm trying to find all paid customer invoices that were paid after the due date.
Is there a way to create a filter to find these invoices?
Not a direct solution, and maybe not the best approach, but here's an idea to achieve similar result (I once had similar requirement).
Create a field of function type (fields.function) which check several values in the account.invoice object (and another related objects such as payment -> account.move.line) and compare these values:
Beware that this would probably slows down tree view a bit.
Another idea and probably a better approach is to write the paid_date to account.invoice when the state changes from 'open' to 'paid'. I don't know but it may also be possible to check the wkf_item object checking it's workflow transformation date, could someone confirm this?
Create an account today to enjoy exclusive features and engage with our awesome community!
Реєстрація| Related Posts | Відповіді | Переглядів | Дія | |
|---|---|---|---|---|
|
1
груд. 17
|
14468 | |||
|
how to get url of current page
Вирішено
|
2
груд. 23
|
23640 | ||
|
field.function in tree view
Вирішено
|
2
січ. 24
|
14520 | ||
|
1
бер. 15
|
4949 | |||
|
0
бер. 15
|
4603 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.