'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
- Бухоблік
- Склад
- PoS
- Project
- MRP
Це запитання позначене
3266
Переглядів
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
РеєстраціяRelated Posts | Відповіді | Переглядів | Дія | |
---|---|---|---|---|
Filter Domain Field on Field
Вирішено
|
|
2
вер. 19
|
10620 | |
|
3
вер. 18
|
5573 | ||
|
0
лют. 16
|
3661 | ||
|
0
серп. 15
|
5512 | ||
|
1
бер. 15
|
466 |