If I use a default value in the context of a field and also have one defined in the models _defaults, which value is used?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilitate
- Inventar
- PoS
- Project
- MRP
Această întrebare a fost marcată
1
Răspunde
3741
Vizualizări
HI, Default values passed through the context will override the defaults(_defaults) defined in the model.
You may refer the link for explanation: https://bugs.launchpad.net/openerp-web/+bug/925622
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Înscrie-te| Related Posts | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
|
1
oct. 25
|
5240 | ||
|
|
0
dec. 24
|
10235 | ||
|
|
3
sept. 24
|
22598 | ||
|
|
5
dec. 24
|
54532 | ||
|
|
4
iul. 24
|
11463 |