Skip to Content
Menu
This question has been flagged
'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'
Avatar
Discard
Related Posts Replies Views Activity
2
Sep 19
9487
3
Sep 18
4527
0
Feb 16
2780
0
Aug 15
4460
1
Mar 15
65