218
219
distrib_line_obj.copy(cr, uid, x.id, {'distribution_id': id_ad, 'destination_id': bro_dest_ok.id}, context=context)
219
220
# Write new distribution and link it to the line
220
221
sol_obj.write(cr, uid, [line.id], {'analytic_distribution_id': id_ad}, context=context)
223
ana_obj.create_funding_pool_lines(cr, uid, [id_ad], context=context)