Say for instance "incoterm". By default this field will display the values of the "name" field. Say for instance I want to show "code" instead of name. How do I do this?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Účtovníctvo
- Sklady
- PoS
- Projektové riadenie
- MRP
This question has been flagged
1
Odpoveď
4113
Zobrazenia
If you want to display the code field value instead of name for every display of the Incoterm class you can add:
_rec_name = 'code' before the _columns definition of the class Incoterm.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrácia| Related Posts | Replies | Zobrazenia | Aktivita | |
|---|---|---|---|---|
|
|
3
sep 25
|
2406 | ||
|
|
2
feb 25
|
7014 | ||
|
|
1
nov 22
|
16823 | ||
|
|
3
aug 22
|
14524 | ||
|
|
2
aug 22
|
5370 |