Hello fellas. I am new at Odoo but it seems like it could fill my needs. This is what i want to do.I made a custom module where i will display 2 groups of invoices, depending on a custom boolean field i already made for invoice lines. (My module was related to Invoices so i could get all invoices).For this I made 2 sub-menus on my custom module. I put them both on List view and added the booblean field to be shown (it was shown as checkbox, btw i don't need it to be edited so I'm displaying it as not editable) . Now my question is How do i make a submenu only shown the invoices with my new boolean field checked? and the other group with that boolean field unchecked?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
3475
Views
The Window Action that links your Menu to your List View can be setup to have a DOMAIN which filters the records.
Take a look at the Quotations vs Orders Menus and their corresponding Window Actions in Sales, and you can see they each have a domain that specify which records to show:
This is the Orders Window Action.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Jan 23
|
819 | ||
|
0
Dec 21
|
1237 | ||
|
2
Oct 21
|
2117 | ||
|
0
Jan 21
|
3347 | ||
|
0
Feb 20
|
2496 |