'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
- Contabilitate
- Inventar
- PoS
- Project
- MRP
Această întrebare a fost marcată
3625
Vizualizări
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 | |
|---|---|---|---|---|
|
Filter Domain Field on Field
Rezolvat
|
|
2
sept. 19
|
11308 | |
|
|
3
sept. 18
|
6127 | ||
|
|
0
feb. 16
|
4182 | ||
|
|
0
aug. 15
|
6137 | ||
|
|
1
mar. 15
|
1083 |