Monday, October 5, 2009

GTK,win_import,import_csv

AIM : To pass the local context of screen/action to the record which is getting imported.

Change:

1. __init__() of Win_import class has a new arguement local_context in its signature.

def __init__(self, model, fields, preload = [], parent=None):

will appear as:
def __init__(self, model, fields, preload = [], parent=None, local_context=None):

2. The import_csv() of win_import.py has a new arguement context in its signature.

def import_csv(csv_data, f, model, fields):

will appear as:
def import_csv(csv_data, f, model, fields, context=None):

Thanks,
Regards,

Er. Jay Vora,
Sr. Application Engineer.
Tiny ERP Pvt. Ltd.

Ahmedabad,Gujarat,India.

M : 91- 9879354457
E-Mail : jvo@tinyerp.com
(Not miles, just an e-mail away...)


2 comments:

  1. Nice to read the information as I was searching for same but I feel that if you add some text description than it will be easy to search on Google.
    sap upgrade automation

    ReplyDelete