Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Conocimientos
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

_sequence predefined fields

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
fields_sequencepredefinedattributes
1 Responder
7771 Vistas
Avatar
omprakash

Hai Friends ,

   I have question in Technical Training Document : OpenERP Object Attributes / Predefined fields  [ _sequence ] .
  1. How to make use _sequence ? Please clarify my doubt .And once again thanks for everyone .

Thanks & Regards

OMPRAKASH.A

0
Avatar
Descartar
Avatar
Vasiliy Birukov
Mejor respuesta

Attribute _sequence define name of SEQUENCE generator (in PostgreSQL DB) for calculate new ID of your object records in your table. By default it have name: NAME_YOUR_TABLE+_id_seq.

Field sequence defines order of your object records in list views (if visible) and allows drag&drop reordering .

0
Avatar
Descartar
omprakash
Autor

Hi wowas , Thanks for your immediate reply . Now i have idea about _sequence . If you please explain with example it make more useful for me .... And once again thanks ......OMPRAKASH.A

Vasiliy Birukov

It use in framework: _sequence = 'ir_actions_id_seq'. If you need change default name, then you use it. But I think this rare case.

omprakash
Autor

Hi wowas , Thanks for your reply..I can't understand . Can u please explain me again . I very interest to learn OpenERP . The above line are difficult for me to understand -Attribute _sequence define name of SEQUENCE generator (in PostgreSQL DB) for calculate new ID of your object records in your table. By default it have name: NAME_YOUR_TABLE+_id_seq. Field sequence defines order of your object records in list views (if visible) and allows drag&drop reordering .

Vasiliy Birukov

PostgreSQL have builtin generator of sequence. When you define new object in OpenERP, framework auto define such sequence with name NAME_YOUR_TABLE_id_seq. Framework use it for generate unique ID for each record in your object (row in table). If you want that framework define sequence with other name then you use Attribute _sequence, like in link above.

Vasiliy Birukov

sequence is absolutely different thing. It's field. Name of special field. If your object have such field, then in list view your records order by this field. And in list view you can change order by drag&drop.

omprakash
Autor

Hi wowas , Thanks for immediate reply . Right now i can understand the concept . But still having doubt what is the purpose using _sequence = 'ir_actions_id_seq' & Field sequence defines order of your object records in list views (if visible) and allows drag&drop reordering . Is there any existing example(module ) It make more easy to understand . Please help me . And once again thank you for care .

Vasiliy Birukov

It is not related things. Just you ask about Attributes and Fields.

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
_rec_name - predefined fields Resuelto
fields predefined _rec_name
Avatar
Avatar
Avatar
Avatar
Avatar
12
abr 23
56798
Inheriting attributes from Fields Resuelto
fields inheritance attributes
Avatar
Avatar
1
feb 23
8883
How to change field attributes via extending it Resuelto
fields attributes extend
Avatar
Avatar
Avatar
Avatar
Avatar
5
sept 22
45801
change_default attribute Resuelto
python fields attributes ORM
Avatar
Avatar
Avatar
2
oct 25
2108
_auto & _sql predefined fields
fields _auto _sql predefined
Avatar
Avatar
1
oct 22
12995
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now