Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
398 Vistas

Hello,


I need to create a field in the products that I can include in the reports and on the web estimate (and invoice). This field is a code ( ex: X1234-DD) common between our customers and us. We have an excel file with our products and services (about 1400).


When I create a new line on the quotations, I use this field to search for the corresponding product. 


I can't manage to create a field that can be included in the pdf quote, the web quote and the quote creation interface. 


Thanks in advance


Translated with Deepl (free version)

Avatar
Descartar
Mejor respuesta

Hi,
Here you have to inherit product model and bring your new field to hold the information, once the field is added, you can modify the name search method or rec_name_search to include this field in searching.

Then finally you have to inherit the report template and add this information into the needed place.

To inherit and add new field, if you are using enterprise you can do with odoo studio or if you are using community edition, you can do from custom module.

To inherit and add new field, see:  https://www.youtube.com/watch?v=46yecsKX2tw

Customize report:  https://www.youtube.com/watch?v=l2tvrpfOR1E

Thanks

Avatar
Descartar
Autor Mejor respuesta

thanks, but don't work on online

Avatar
Descartar