(self, date_start, date_end, map_line)
return super(L10nEsAeatMod303Report, self)._get_tax_lines(
            date_start,
            date_end,
            map_line,
        )
Don't populate results for fields 79-99 for reports different from
        last of the year one or when not exonerated of presenting model 390.
Don't populate results for fields 79-99 for reports different from
        last of the year one or when not exonerated of presenting model 390.
Don t populate results for fields 79 - 99 for reports different from last of the year one or when not exonerated of presenting model 390 .
def _get_tax_lines(self, date_start, date_end, map_line):
        """Don't populate results for fields 79-99 for reports different from
        last of the year one or when not exonerated of presenting model 390.
        """
        if 79 <= map_line.field_number <= 99 or map_line.field_number == 125:
            if (
                self.exonerated_390 == "2"
                or not self.has_operation_volume
                or self.period_type not in ("4T", "12")
            ):
                return self.env["account.move.line"]
        return super(L10nEsAeatMod303Report, self)._get_tax_lines(
            date_start,
            date_end,
            map_line,
        )
def _get_tax_lines ( self , date_start , date_end , map_line ) : if 79 <= map_line . field_number <= 99 or map_line . field_number == 125 : if ( self . exonerated_390 == "2" or not self . has_operation_volume or self . period_type not in ( "4T" , "12" ) ) : return self . env [ "account.move.line" ] return super ( L10nEsAeatMod303Report , self ) . _get_tax_lines ( date_start , date_end , map_line , )