تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
1238 أدوات العرض

Hello everyone

I'm currently using Odoo 17 SH and trying to edit the barcode app view. In the past, I was able to add new rules in the Point of Sale view, but now I can't seem to find the correct file for the barcode app. I've checked some files in Barcodes > static > src, but none of them look like what I need.

I hope someone can point me in the right direction.

Thanks in advance!

 

الصورة الرمزية
إهمال
أفضل إجابة

  Hello, Ing. Ang3l Barrera


    As you are using the Odoo-17 SH, Please refere the below steps to find the correct file for the barcode app.

   

    1) Navigate to Odoo.sh, open your V-17 Project, after that connect to editor. Once connected in the left side-bar

    Go to /src/enterpsie/stock_barcode/static/src/components.

   

    2) As you can see in below image, main.js and main.xml, these 2 are main files of the stock barcode.


 

    Hope this helps !

     

    If you need any help in customization feel free to contact us.

       

Thanks & Regards,

Email:  odoo@aktivsoftware.com           

Skype: kalpeshmaheshwari

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

Hi Jainesh Shah,

Thanks! I've created functions in JS to inherit and display an error popup when a user doesn't have permission, since I couldn't make those buttons read-only.

Thank you so much! I'll keep it in mind in case I need any development in the future.

Best regards,

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
فبراير 24
2754
0
ديسمبر 22
2695
0
أغسطس 20
2532
0
نوفمبر 24
857
2
أبريل 24
7350