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
- Бухгалтерия
- Склад
- PoS
- Project
- MRP
Этот вопрос был отмечен
1
Ответить
3487
Представления
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!
РегистрацияRelated Posts | Ответы | Просмотры | Активность | |
---|---|---|---|---|
|
0
дек. 24
|
9662 | ||
|
3
сент. 24
|
21912 | ||
|
5
дек. 24
|
53252 | ||
|
4
июл. 24
|
10755 | ||
|
7
авг. 23
|
11169 |