Hello, can someone help me with these sentences?
I´m modifying the account module to create an invoice that can associate the
partner according to their fiscal position.
I was thinking of doing it with this code:
p = self.pool.get('res.partner').browse(cr, uid, partner_id)
fiscal_position_id = p.property_account_position.id
fiscal_obj = self.pool.get('account.fiscal.position').browse(cr, uid,
fiscal_position_id)
journal_id = fiscal_obj.journal_id
But I couldn´t make it work.
Can someone help me, please? Thanks
-------------------- m2f --------------------
--
http://www.openobject.com/forum/viewtopic.php?p=56663#56663
-------------------- m2f --------------------
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users