I have a new model that has some Product and Client specific data. When I add a ManyToOne field I have 2 problems. the first is that I can't find a way to select which field it will show. The second is that I need to show only the data corresponding to the customer of this order and the product of this line. I tried several things, but none worked. I would appreciate any help.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
I've figured it out. The easiest way is to add a domain that filters what you need. Because it doesn't allow to equal to a field, you have to edit after this the XML file and remove the quotes. Be aware that entering the domain again will put the quote back in, so you will need to remove them again. I can't get why Studio by default only allows Numbers or Strings to eval, when only removing the quotes makes this tool so much useful.
Thanks anyways.
DUDE...THANK YOU!!!!! Why Odoo, why would you do this?
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
5
paź 24
|
12101 | ||
|
3
paź 18
|
4042 | ||
Search filter in tree view inside a notebook
Rozwiązane
|
|
2
kwi 24
|
5119 | |
|
0
sty 23
|
1882 | ||
|
0
maj 21
|
1290 |