'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
- Účtovníctvo
- Sklady
- PoS
- Project
- MRP
This question has been flagged
3256
Zobrazenia
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
RegistráciaRelated Posts | Replies | Zobrazenia | Aktivita | |
---|---|---|---|---|
Filter Domain Field on Field
Solved
|
|
2
sep 19
|
10616 | |
|
3
sep 18
|
5565 | ||
|
0
feb 16
|
3660 | ||
|
0
aug 15
|
5510 | ||
|
1
mar 15
|
465 |