I have created a custom field that shows the currency based on the company. This works fine, except when doing a group by by product, my goal is that in the grouping it also shows the currency or currencies as follows: EUR, USD, etc. I think it has to do with the read_group function, however I can't customize it in a way that solves my case.
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
When you group by product, do you want to show the groups based on currency field?
When I group by product I want the currency field to appear to me and for it not only to appear when I enter the different lines of each product.
Hi,
Is it a non stored compute field or related field ? If so, make it stored and try. Just set store=True along with field declaration.
Thanks
The field is a related field, however if I add store true this does not solve my problem.
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 | |
---|---|---|---|---|
|
3
Mar 22
|
7538 | ||
|
0
Mar 23
|
909 | ||
|
0
Oct 22
|
1594 | ||
|
1
Jan 21
|
2901 | ||
Add "Group By" to Tree View
Solved
|
|
3
Jan 23
|
27195 |
You can use store=True to show computed fields in search filter (group by).