Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5872 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
พ.ย. 23
1375
0
มี.ค. 15
4803
3
ก.พ. 24
11227
¿how to create planned actions? แก้ไขแล้ว
2
มี.ค. 23
2352
1
ธ.ค. 22
6015