Merge pull request #6338 from expsa/samir_aladawi_refund_sponsorship
[FIX] odex_takaful
This commit is contained in:
commit
a2e92f184f
|
|
@ -54,7 +54,7 @@ class EsterdadWizard(models.Model):
|
||||||
@api.depends('journal_entry_ids')
|
@api.depends('journal_entry_ids')
|
||||||
def _compute_payment_ids(self):
|
def _compute_payment_ids(self):
|
||||||
for rec in self:
|
for rec in self:
|
||||||
rec.payment_ids = [(6, 0, rec.journal_entry_ids.payment_id.ids)]
|
rec.payment_ids = [(6, 0, rec.journal_entry_ids._get_reconciled_payments().ids)]
|
||||||
|
|
||||||
# @api.onchange('sponsor_id')
|
# @api.onchange('sponsor_id')
|
||||||
# def _onchange_sponsor_id_set_payment_domain(self):
|
# def _onchange_sponsor_id_set_payment_domain(self):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue