~openerp-venezuela/openerp-venezuela-localization/l10n_ve_fiscal_req-debit_credit-dev_sabrina

« back to all changes in this revision

Viewing changes to l10n_ve_fiscal_requirements/wizard/account_invoice_refund.py


[MERGE][l10n_ve_fiscal_requirements] Fixed error, inv_obj object call the method

Show diffs side-by-side

added added

removed removed

Lines of Context:
359
359
        mid = []
360
360
        if self.validate_total_payment_inv(cr, uid, invoiceids, context=context):
361
361
            for inv in inv_obj.browse(cr, uid, invoiceids, context=context):
362
 
                movelineids = inv.move_line_id_payment_get(cr, uid,[inv.id])
 
362
                movelineids = inv_obj.move_line_id_payment_get(cr, uid,[inv.id])
363
363
                for moveline in moveline_obj.browse(cr, uid, movelineids,context=context):
364
364
                    if moveline.reconcile_id:
365
365
                        rec += [moveline.reconcile_id.id]