This question has been flagged
2 Replies
2958 Views

Hi,

I want to add new module in OpenERP, but I don't know from where to start. I also want to customize fields, action and triggers of existing modules. Can someone suggest from where to start. I need someone as consultant and I am ready to pay.

Please contact me at:- parag@encoretel.com

Thanks & Regards, Parag Kumar

Avatar
Discard
Best Answer

Hi, Please refer https://doc.openerp.com/v6.1/developer/03_modules_1/ (Module Development) and https://doc.openerp.com/trunk/server/03_module_dev_05/ (Example of module creation)

Avatar
Discard
Author

Thanks Prajul,

Author Best Answer

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
Discard

Form where is this action called?