How To Add Barcode To Report in Odoo

Поделиться
HTML-код
  • Опубликовано: 20 окт 2024

Комментарии • 45

  • @ahmedelthokaby8654
    @ahmedelthokaby8654 Год назад +1

    Dear Sir , I have Odoo 16 enterprise online and the barcode EAN not shown in the product label, and only appear the product name , price and barcode number

    • @OdooMates
      @OdooMates  Год назад

      did you customize anything in this reports ?

  • @allmakkahhatchery2218
    @allmakkahhatchery2218 4 года назад +1

    Dear Sir i apply all this code same to same why i got missing barcode picture in my pdf it's just showing Alt text barcode.

    • @OdooMates
      @OdooMates  4 года назад

      Check by printing the product label in the product form and see whether it is coming or not.

  • @quyofitxo7991
    @quyofitxo7991 3 года назад +1

    Dear Sir, I have the same problem with some of you commented below, it only shows alt text, not image barcode

    • @OdooMates
      @OdooMates  3 года назад +1

      Can you check how the product label report in default odoo comes ? in the product form, you have the option to print product label with product form, see whether that barcode comes correctly ? if not, might be missing pakages problem

    • @quyofitxo7991
      @quyofitxo7991 3 года назад

      @@OdooMates it work, and no problem.

    • @quyofitxo7991
      @quyofitxo7991 3 года назад

      ​@@OdooMates i use odoo v14

  • @futhedude4848
    @futhedude4848 2 года назад +1

    for older version, try:

  • @metalmlover
    @metalmlover 4 года назад

    Hello Mate, good day to you. the alt text shows up instead of the barcode image while it shows up in the product report without issues. I think the issue is the path for the image as I have the addons folder in another location, not in the odoo installation folder... how do I give the correct path for the barcode image?

    • @metalmlover
      @metalmlover 4 года назад

      Odoo addons: C:\Odoo 12.0\server\odoo\addons
      Custom addons: C:\Users\ahmed.saleh\OneDrive\Coding\Odoo\Projects\Odoo12
      t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('EAN13', quote_plus(o.name_seq or ''), 600, 150)"

  • @mdshafiqulislammridul4826
    @mdshafiqulislammridul4826 3 года назад +1

    how to generate barcode in POS receipt based on POS Invoice no

    • @OdooMates
      @OdooMates  3 года назад

      this will help? apps.odoo.com/apps/modules/11.0/aar_pos_ticket/

  • @zokhrof_wa_zomord
    @zokhrof_wa_zomord 4 года назад +1

    What id I want to add an image to my report what is the syntaxe plzzzzzz

    • @OdooMates
      @OdooMates  4 года назад

    • @OdooMates
      @OdooMates  4 года назад

      here o is the object and image is the field name

  • @fatimhalaithan1663
    @fatimhalaithan1663 3 года назад +1

    have the same problem only text shown pls help

    • @OdooMates
      @OdooMates  3 года назад

      default barcode printing in product coming fine ?

    • @fatimhalaithan1663
      @fatimhalaithan1663 3 года назад

      @@OdooMates in product is coming fine but in my app no

    • @OdooMates
      @OdooMates  3 года назад

      @@fatimhalaithan1663 that means it is not issue with python packages, might be something wrong in the code you have added

    • @fatimhalaithan1663
      @fatimhalaithan1663 3 года назад

      @@OdooMates copied the same code

    • @OdooMates
      @OdooMates  3 года назад

      @@fatimhalaithan1663 which version

  • @stephendanny5136
    @stephendanny5136 4 года назад

    Dear Sir, Even in product form its not showing. It just shows a box written as barcode and shows my Alt text below the box

    • @stephendanny5136
      @stephendanny5136 4 года назад

      Waiting for your reply

    • @stephendanny5136
      @stephendanny5136 4 года назад +1

      Does it shows for community edition??????

    • @OdooMates
      @OdooMates  4 года назад +1

      @@stephendanny5136 Yes we have illustrated it in community edition. If in default product label report, if barcode is not coming, might be some packages issue

    • @stephendanny5136
      @stephendanny5136 4 года назад +1

      @@OdooMates can you tell me wat will be the package.

    • @OdooMates
      @OdooMates  4 года назад

      Solved ?

  • @javaidkhan7410
    @javaidkhan7410 2 года назад

    barcode image is not printing,can you get out me form this issue

    • @OdooMates
      @OdooMates  2 года назад

      In which report?

    • @OdooMates
      @OdooMates  2 года назад

      custom or default report ? to confirm it is package issue or not, try printing product label report by adding a barcode for product and see

    • @javaidkhan7410
      @javaidkhan7410 2 года назад

      @@OdooMates it is a custome report,and i also install the packages
      here is the code####

      Reference:

      Dated:





      ######

    • @javaidkhan7410
      @javaidkhan7410 2 года назад

      it is a notification module and i created it from scratch

    • @OdooMates
      @OdooMates  2 года назад

      Did you checked the default product report as we suggested ?

  • @ankursenjaliya
    @ankursenjaliya 4 года назад +1

    for odoo 11