Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
5906 Weergaven

Hi,

I tried to create our custom actions and called business logic , but i didn't get success. Current action is overwriting the ORM methods like write,create, read etc where i am also calling business logic functions. But i want to create custom actions which doesn't overwrite ORM methods and from there i want to call business logic function.


def create(self, cr, uid, vals, args, *kwargs):
username = 'username ' password = 'password ' AccessLevel = 'AccessLevel '

response = pbxdb.ums_pbxdb(username,password,AccessLevel) // calling business logic function

super(cloudswtich_customer,self).create(cr, uid, vals, args, *kwargs)


I want to create own action from where i can call business logic, not using ORM methods.

Thanks & Regards, Parag Kumar

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
nov. 23
1409
0
mrt. 15
4824
3
feb. 24
11281
2
mrt. 23
2388
1
dec. 22
6053