Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1024 Zobrazení

Hi, is it possible to customize the barcode app (odoo 17). We want to add pictures into the lines and change some of the text. Maybe someone can give a hint. I have tried almost everything to just see if i could make a small change on the view, but with no luck.

Avatar
Zrušit
Nejlepší odpověď

Hi,

It is possible to customize the barcode app.

Look at the stock_barcode module in the odoo addons. That's where the js/xml files are located for the views. it's not as straightforward as modifying normal backend views, but it can be done.

Most of the data handling logic is located in lazy_barcode_cache and in the js models. 

Here is an example of a barcode app customization:

That was done almost purely in javascript, the only changes to the models required were the addition of 2-3 methods to allow the barcode_cache to be able to fetch all the fields needed.

Avatar
Zrušit

This example perfectly illustrates what I want to achieve—displaying packaging information at the bottom of each product line. Could you provide more details on how to implement this?

If you want to give me your email address, I can send you the source code for the module for you to check out!

For sure! j.polydoros@dileanity.com
Thanks

Can you send the source code to me aswell? anders@elav.dk
Thanks!

Related Posts Odpovědi Zobrazení Aktivita
1
dub 25
567
1
kvě 25
525
1
kvě 25
594
0
úno 25
802
0
led 25
1099