'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
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
2650
Views
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
Filter Domain Field on Field
Solved
|
|
2
Sep 19
|
9487 | |
|
3
Sep 18
|
4527 | ||
|
0
Feb 16
|
2780 | ||
|
0
Aug 15
|
4460 | ||
|
1
Mar 15
|
65 |