'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ă
3280
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-teRelated Posts | Răspunsuri | Vizualizări | Activitate | |
---|---|---|---|---|
Filter Domain Field on Field
Rezolvat
|
|
2
sept. 19
|
10635 | |
|
3
sept. 18
|
5581 | ||
|
0
feb. 16
|
3672 | ||
|
0
aug. 15
|
5518 | ||
|
1
mar. 15
|
469 |