'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
2546
Views