'tenant_name': fields.many2one('tenant.creation','Tenant Name' ,domain=lambda self: [('apmc_name', '=', self.env.res_company)]),
above code giving following error 'model' object has no attribute 'env'
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
3636
Visualizzazioni
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| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
|
Filter Domain Field on Field
Risolto
|
|
2
set 19
|
11312 | |
|
|
3
set 18
|
6132 | ||
|
|
0
feb 16
|
4191 | ||
|
|
0
ago 15
|
6144 | ||
|
|
1
mar 15
|
1087 |