Hi,

I am preparing to import a lot of parties using the "tryton as a
module" code from this example:

http://code.google.com/p/tryton/wiki/HowToUseTrytondAsAModule#Version_1.8

I am using this example to add new parties, and it seems to work
because after each loop I receive an incremented new_party_id
(3,4,5,...):

for party in myparties:
  with Transaction().start(DBNAME, user, None):
    new_party_id = party_obj.create({'name': party.name})


But in the Tryton Client there are no parties visible when I search. I
suspect I need to add more fields? Or do I need to add adresses to the
parties? Or maybe connect them to a company?

Thank You
Kurt Miebach

-- 
[email protected] mailing list

Reply via email to