(self)
Checks if partner refund line have all fields filled.
Checks if partner refund line have all fields filled.
Checks if partner refund line have all fields filled .
def _compute_partner_refund_ok(self):
        """Checks if partner refund line have all fields filled."""
        for record in self:
            record.partner_refund_ok = bool(
                record.partner_vat
                and record.country_id
                and record.total_operation_amount >= 0.0
                and record.total_origin_amount >= 0.0
            )
def _compute_partner_refund_ok ( self ) : for record in self : record . partner_refund_ok = bool ( record . partner_vat and record . country_id and record . total_operation_amount >= 0.0 and record . total_origin_amount >= 0.0 )