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
    • Información
    • 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
    Food & Hospitality
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Guest House
    • Distribuidor de bebidas
    • Hotel
    Real Estate
    • Real Estate Agency
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consulting
    • Accounting Firm
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Trades
    • Handyman
    • Hardware y asistencia informática
    • Solar Energy Systems
    • Zapatero
    • Servicios de limpieza
    • HVAC Services
    Others
    • Nonprofit Organization
    • 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

Editing process in openerp

Suscribirse

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

Se marcó esta pregunta
developmentv7
2 Respuestas
10964 Vistas
Avatar
wasis85

I want to ask about editing process in openerp, especially in v7.

I edit xml file (form, tree, search) is from frontend xml inside openerp; i edit phyton file is from backend of openerp folder in .py file; i edit xml file (action) is from database (model) openerp not from frontend xml inside openerp; etc.

The question: are them the only way in editing it? is it any other simple way? if i must edit from many place, i think this is not efficient..

1
Avatar
Descartar
Antonin Bourguignon (abo)

Hello. Please, what's the point of these tags openerp, openerp-7, openerp7 ? We're on an OpenERP Q&A, it seems obvious that que question will be about OpenERP. Regarding the version, you can use the tag v7. Also I don't really get your question...

Senthilnathan

Anto is right, please use only v7 tag we are not in stackoverflow to use such tags.

Avatar
Ray Carnes
Mejor respuesta

General and High Level rules:

XML files are loaded into the database when a module is installed or updated. XML files insert database records. These records are editable either via the UI or via the XML files themselves.

If you edit the records via the UI, your changes will affect OpenERP.

If you edit the XML file, your changes will not affect OpenERP until you update the module.

If you edit the records via the UI, your changes will be removed next time you update the module - because the XML files will be loaded back into the database, replacing the records you have edited.

If you want to modify anything in OpenERP, you need to create your own database records - views, actions, workflows, etc.

If you create these database records via the UI - your customizations will only be available in the database you create them in.

If you create these database records via your own XML files - your cusomziations can be applied to any database.

You should never edit anything in the database, as this bypasses the business / application layer and can quickly break the integrity of the database (meaning it will no longer be accurate and/or will prevent OpenERP from working properly).

2
Avatar
Descartar
wasis85
Autor

it means i must modify "res_partner_view.xml" if i want to add or erase field in that module, doesn't it?

Ray Carnes

You should create another view that inherits that view and makes the field invisible (to 'erase' it) or adds a new field. It is better to make a field you don't want invisible rather than remove it from the view, because another view or field might expect it to be there.

wasis85
Autor

what about if i directly edit from ex. "res_partner_view.xml"? is it forbidden? or bad way?

Ray Carnes

This will work, but will not survive a module or system update.

wasis85
Autor

when i make new inheritance view in backend, how can i put my new inheritance view together with a parent view in UI? or updated the new inheritance view?

Avatar
juan delgado
Mejor respuesta

hi guys i edit xml and python file then update module but not take effect yet

0
Avatar
Descartar
¿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
What's the context? Resuelto
development v7
Avatar
Avatar
Avatar
Avatar
9
mar 24
120458
How to hook to events of objects?
development v7
Avatar
Avatar
1
jun 20
12788
Is there a change in how new modules are created in v7?
development v7
Avatar
1
mar 15
4373
How to make OpenERP take my python code modifications into account?
development v7
Avatar
Avatar
2
mar 15
10743
Where should I post bugs?
development v7
Avatar
Avatar
Avatar
2
mar 15
5675
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