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
    • e-learning
    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

Add spreadsheet to quote? (odoo.sh v13)

Suscribirse

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

Se marcó esta pregunta
quotetable
2 Respuestas
5733 Vistas
Avatar
FD Displays

So... i need to make a table like the one below and place it in the sales quote.

If this feasible? The fields are not related to any other fields.

I just need to add this table and print it with the sales quote.

Basically, i need to add an ' extra'services spreadsheet to the sales quote. Since all the values in the spreadsheet are variable, i found no other way to do it, instead of creating dozens of new products everytime, which wouldn't work.

I'd be using hundreds, if not thousands of different places and prices.

Any ideas in how i can achieve this?


Place
Visit
Freight
Instalation
NY
75
180
55
LA
65
99
75
Miami
130
60
77
Lisbon
450
65
670
Rio
43
45
32
0
Avatar
Descartar
Avatar
Paresh Wagh
Mejor respuesta

It's definitely possible to do this with a minor customization. I'll write a detailed reply a little later, if possible or over the weekend. Hope that's ok.


EDIT:

The data in Odoo is managed using models which map to the underlying tables in the database. You can also define relationships between the models. A form (screen) in Odoo is a view that is based on a model.

In your case, since you want to capture the "spreadsheet" data in the Quotation/Sales Order, you will need to do the following customizations to make it available within Odoo. I'm assuming you are using Studio since you had mentioned it in the title of your previous post.

  1. Go to Settings, scroll all the way to the bottom and click on Activate Developer Mode

  2. Go to Settings > Technical Settings > Database Structure > Models and create a new model (for example, x_quotation_spreadsheet) to capture the "spreadsheet" data. Edit the model and add custom fields with the appropriate field types for Place (use x_name for this), Visit, Freight, Installation and a many2one field for Sales Order ID. Note that Odoo will automatically add some additional standard audit trail fields when you create a new model - you should not touch these fields. 

  3. Grant access rights on the x_quotation_spreadsheet model to the Sales / User: Own Documents Only security group. 

  4. Edit the Sales Order model (sale.order) and add a one2many custom field (for example, x_quotation_spreadsheet_ids) that links to the x_spreadsheet model. 

  5. Go to Sales, open one of the Quotations, and activate Studio to customize the Quotation/Sales Order view. Click on the + sign in the tabs to add a new tab. Specify the name of the tab in the properties on the left. 

  6. Click on + Add in the properties pane on the left and scroll down to the Existing Fields section. Click and drag the Spreadsheet Data (x_spreadsheet_ids) field into the tab. Click on the field and select the EDIT LIST VIEW option that pops up and add the fields listed in the Existing Fields section to the list view.

  7. Similarly, you can customize the form view of the spreadsheet data field by using EDIT FORM VIEW. Remember to make the Sales Order ID field invisible in the form view. It will be managed by Odoo automatically and will contain the id of the Sales Order associated with the data.

  8. Save the changes.

  9. Open one of the existing Quotations. You will see the new tab and be able to add the data in Edit mode. 

There is some more customization that can be done outside of Studio using view inheritance to make the field occupy the full width of the tab and provide inline editing instead of using the form view to enter the data for each line. It looks like Studio does not expose the properties needed to do this for now.

Hope this helps.


2
Avatar
Descartar
FD Displays
Autor

That would be perfect.

I really apreciate it! Thanks!

Paresh Wagh

I have edited the original post and added the details

FD Displays
Autor

I can't believe it! Thank you so much!

It worked! Yes, there are some customization to make, but for now, it will serve me perfectly.

Thanks Paresh! You saved my week. :)

Feryial Mangou

Hi I have followed the steps and added a spreadsheet in a task in project.

I now wanted to produce a report from it but since it is from another model I do not get to select all the fields in Odoo studio when building a report. Any solution?

Thanks

Paresh Wagh

@Feryial: The contents of the one2many field should be accessible while building the report by expanding the field and selecting the fields within it.

¿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
signature and stamp
quote
Avatar
0
may 23
2822
quote /sales /crm
quote
Avatar
Avatar
Avatar
2
may 22
3053
Any way to send follow up Quotations to those who have not paid?
quote
Avatar
Avatar
1
oct 19
5359
The long text (product description) not inserted in quotes/SO
quote
Avatar
1
mar 15
8878
Odoo 19: Quotation with composite line item (materials + labor) showing only total price to customer?
quote time&material
Avatar
Avatar
1
nov 25
104
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