(self)
return taxes
Filter TicketBai Taxes when Customer is not from Spain.
        * DesgloseTipoOperacion
          - PrestacionServicios
          - Entrega
        :return: Recordset of tbai.invoice.tax
Filter TicketBai Taxes when Customer is not from Spain.
        * DesgloseTipoOperacion
          - PrestacionServicios
          - Entrega
        :return: Recordset of tbai.invoice.tax
Filter TicketBai Taxes when Customer is not from Spain . * DesgloseTipoOperacion - PrestacionServicios - Entrega : return : Recordset of tbai . invoice . tax
def get_taxes(self):
        """Filter TicketBai Taxes when Customer is not from Spain.
        * DesgloseTipoOperacion
          - PrestacionServicios
          - Entrega
        :return: Recordset of tbai.invoice.tax
        """
        tax_type = self._context.get("tbai_tax_type", False)
        if tax_type:
            taxes = self.tbai_tax_ids.filtered(lambda x: x.type == tax_type)
        else:
            taxes = self.tbai_tax_ids
        return taxes
def get_taxes ( self ) : tax_type = self . _context . get ( "tbai_tax_type" , False ) if tax_type : taxes = self . tbai_tax_ids . filtered ( lambda x : x . type == tax_type ) else : taxes = self . tbai_tax_ids return taxes