how to select a field by default to display in the results fields from many2one fields.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
1
Rispondi
3062
Visualizzazioni
If the question is how to define a default value in a many2one field, you can put it in the class object definition in your module.py file:
_defaults = {
'your_field' : default_value
}
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati