70
71
def _get_initial_lines(self, cr, uid, wizard_id, context=None):
71
72
wizard_obj = self.browse(cr, uid, wizard_id, context=context)
72
73
distrib_obj = self.pool.get('analytic.distribution').browse(cr, uid, wizard_obj.distribution_id.id, context=context)
74
company_currency = self.pool.get('res.users').browse(cr, uid, uid, context=context).company_id.currency_id.id
73
75
if 'cost_center_updated' in context and context['cost_center_updated']:
74
76
# create funding pool lines from cost center lines
75
77
private_funds_ids = self.pool.get('account.analytic.account').search(cr, uid, [('code', '=', 'PF')])