Skip to content

Commit

Permalink
property_account_aportacions instead of property_account_gnkwh
Browse files Browse the repository at this point in the history
  • Loading branch information
susu105 committed Nov 30, 2021
1 parent 0ba05f0 commit aaf64db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion som_generationkwh/investment_strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ def create_from_transfer(self, cursor, uid, investment_id, new_partner_id, trans
#Crear moviment 1635old 1635new
old_partner = Soci.read(cursor, uid, old_investment['member_id'][0])
#TODO: move_line_when_transfer cridat amb els paràmetres per APO's
GenerationkwhInvestment.move_line_when_tranfer(cursor, uid, old_partner['id'], new_partner_id, old_partner['property_account_gkwh'][0], new_partner.property_account_gkwh.id, amount, transmission_date)
GenerationkwhInvestment.move_line_when_tranfer(cursor, uid, old_partner['id'], new_partner_id, old_partner['property_account_aportacions'][0], new_partner.property_account_aportacions.id, amount, transmission_date)

#Enviar correu cofirmació?
return new_investment_id
Expand Down

0 comments on commit aaf64db

Please sign in to comment.