Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
5911 Ansichten

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Nov. 23
1419
0
März 15
4827
3
Feb. 24
11283
2
März 23
2396
1
Dez. 22
6062