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
11295
3
Sep 18
6122
0
Feb 16
4176
0
Aug 15
6134
1
Mar 15
1072