(self)
return res
V 1.2
        <element name="DetalleNoSujeta" type="T:DetalleNoSujeta" minOccurs="1"
        maxOccurs="2" />
        <sequence>
            <element name="Causa" type="T:CausaNoSujetaType"/>
            <element name="Importe" type="T:ImporteSgn12.2Type"/>
        </sequence>
        :return: list<OrderedDict>
V 1.2
        <element name="DetalleNoSujeta" type="T:DetalleNoSujeta" minOccurs="1"
        maxOccurs="2" />
        <sequence>
            <element name="Causa" type="T:CausaNoSujetaType"/>
            <element name="Importe" type="T:ImporteSgn12.2Type"/>
        </sequence>
        :return: list<OrderedDict>
V 1 . 2 <element name = DetalleNoSujeta type = T : DetalleNoSujeta minOccurs = 1 maxOccurs = 2 / > <sequence > <element name = Causa type = T : CausaNoSujetaType / > <element name = Importe type = T : ImporteSgn12 . 2Type / > < / sequence > : return : list<OrderedDict >
def build_detalle_no_sujeta(self):
        """V 1.2
        <element name="DetalleNoSujeta" type="T:DetalleNoSujeta" minOccurs="1"
        maxOccurs="2" />
        <sequence>
            <element name="Causa" type="T:CausaNoSujetaType"/>
            <element name="Importe" type="T:ImporteSgn12.2Type"/>
        </sequence>
        :return: list<OrderedDict>
        """
        not_subject_to_taxes = self.get_not_subject_to_taxes()
        res = []
        if 2 < len(not_subject_to_taxes):
            raise exceptions.ValidationError(
                _("TicketBAI Invoice %s: Max. number of not subject to taxes is 2!")
                % self.name
            )
        for tax in not_subject_to_taxes:
            res.append(
                OrderedDict(
                    [("Causa", tax.not_subject_to_cause), ("Importe", tax.base)]
                )
            )
        return res
def build_detalle_no_sujeta ( self ) : not_subject_to_taxes = self . get_not_subject_to_taxes ( ) res = [ ] if 2 < len ( not_subject_to_taxes ) : raise exceptions . ValidationError ( _ ( "TicketBAI Invoice %s: Max. number of not subject to taxes is 2!" ) % self . name ) for tax in not_subject_to_taxes : res . append ( OrderedDict ( [ ( "Causa" , tax . not_subject_to_cause ) , ( "Importe" , tax . base ) ] ) ) return res