'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
Этот вопрос был отмечен
3677
Представления
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
|
11346 | |
|
|
3
сент. 18
|
6145 | ||
|
|
0
февр. 16
|
4213 | ||
|
|
0
авг. 15
|
6166 | ||
|
|
1
мар. 15
|
1114 |