Hi all!
I'm trying to link created accounting account to a partner, and i'm doing
something like this:
part <-- this is the object of my partner (res.partner)
account_new <-- new account data in dictionary
account_id = self.pool.get('account.account').create(cr, uid, account_new)
so this will create new account
now i think i have to do something like this to link this account to account
receivable of my partner:
part.property_account_receivable.id = account_id
and then what should i do? how to save it? am i doing it properly?
Please help...
-------------------- m2f --------------------
--
http://www.openobject.com/forum/viewtopic.php?p=38098#38098
-------------------- m2f --------------------
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users