(self)
Checks if all the fields of all the report lines
        (partner records and partner refund) are filled
Checks if all the fields of all the report lines
        (partner records and partner refund) are filled
Checks if all the fields of all the report lines ( partner records and partner refund ) are filled
def _check_report_lines(self):
        """Checks if all the fields of all the report lines
        (partner records and partner refund) are filled
        """
        for item in self:
            for partner_record in item.partner_record_ids:
                if not partner_record.partner_record_ok:
                    raise exceptions.Warning(
                        _(
                            "All partner records fields (country, VAT number) "
                            "must be filled."
                        )
                    )
            for partner_record in item.partner_refund_ids:
                if not partner_record.partner_refund_ok:
                    raise exceptions.Warning(
                        _(
                            "All partner refunds fields (country, VAT number) "
                            "must be filled."
                        )
                    )
def _check_report_lines ( self ) : for item in self : for partner_record in item . partner_record_ids : if not partner_record . partner_record_ok : raise exceptions . Warning ( _ ( "All partner records fields (country, VAT number) " "must be filled." ) ) for partner_record in item . partner_refund_ids : if not partner_record . partner_refund_ok : raise exceptions . Warning ( _ ( "All partner refunds fields (country, VAT number) " "must be filled." ) )