Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1190 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć

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!

Powiązane posty Odpowiedzi Widoki Czynność
1
kwi 25
668
1
maj 25
583
1
lip 25
699
0
lut 25
928
0
sty 25
1261