Point Of Sale App's Order Receipt Customization in Odoo16

Поділитися
Вставка
  • Опубліковано 29 жов 2024

КОМЕНТАРІ • 36

  • @sadyhtarrazola6769
    @sadyhtarrazola6769 3 місяці тому +1

    🎯 Key points for quick navigation:
    00:22 *🛠️ Point of Sale App Setup*
    - Tutorial focused on Point of Sale receipt customization in Odoo 16.
    - Installation of the Point of Sale app in Odoo 16 is crucial.
    - Customizing the order receipt involves JavaScript and XML files.
    03:21 *🔧 JavaScript File Creation*
    - Creating custom JavaScript files for receipt customization.
    - Defining the module name and structure for the JavaScript file.
    - Using Odoo's JavaScript functionality in order to extend classes for customization.
    17:11 *💡 Adding Customer Name to Receipt*
    - Demonstrating how to add the customer's name to the order receipt.
    - Utilizing JavaScript functions to fetch partner data for printing on the receipt.
    - Extending the existing receipt class to include additional data like the customer's name.
    29:16 *🧩 Customizing Product Code Display*
    - Customizing the display of product codes next to product names on the receipt.
    - Creating a new JavaScript file to fetch and display product codes.
    - Integrating the product code customization with the existing order line structure on the receipt.
    Made with HARPA AI

    • @odooistic
      @odooistic  3 місяці тому

      hello thanks for the message, i can see in your message lots of points, are these required customization?

  • @hamidabdalla5214
    @hamidabdalla5214 Рік тому +1

    Thank sir we need more and more tutorial in owl framework 😊

  • @SafwanBackar
    @SafwanBackar Рік тому +3

    is there a way to get order reference like for example Shop/004 from the pos order in that receipt

    • @odooistic
      @odooistic  Рік тому +2

      Yes of course there is a way. I will add a video very soon for that

    • @sadyhtarrazola6769
      @sadyhtarrazola6769 3 місяці тому

      @@odooistic That would be great! That would help me understand the logic better.

  • @globalcharts369
    @globalcharts369 Рік тому +2

    Thank you a lot for your time and consideration of my request. 🙏🙏🙏
    It really helped , wish you the best.
    Thank you once again. You got sub and a fan.
    Jah bless you.

  • @vidulasawant530
    @vidulasawant530 Рік тому +1

    Hi thanks a lot for your videos. super helpful. followed to set up odoo on visual studios on client machine. was a breeze.
    similar to what you have done on receipts, I want to show warehouse locations (coming from stock.warehouse[name]) as dropdon so that user can select any warehouse on Orderlines in the cart before the payment stage. I was wondering like for receipt we have export_for_printing() method, what method should I be using to show extra fields on the orderlines in the cart? any thoughts?
    I tried with export_as_JSON() but that did not seem to work

    • @odooistic
      @odooistic  Рік тому

      sorry i was away from office. i will upload video related to that, catching up now. thanks

    • @vidulasawant530
      @vidulasawant530 Рік тому

      Thanks a lot! That would be great! Highly appreciated!

  • @nifrascool1992
    @nifrascool1992 Місяць тому +1

    In odoo17 they implemented this in different way i think. I couldn't find OrderReceipt Class

    • @odooistic
      @odooistic  Місяць тому

      i will definately add odoo17 approach soon.

  • @sagars209
    @sagars209 Рік тому +1

    Hi Thanks for this training, I have a query, you are using
    var { Order } = require('point_of_sale.models');
    but there is no model called 'Order' in point_of_sales models, so wondering is Order just a var name or it should match one of the models in the point_of_sale module?, can i just user Order1 instead or Order?

    • @odooistic
      @odooistic  Рік тому

      sorry for late reply The code imports the Order object from the 'point_of_sale.models' module. This is done using the require function, which is a common way to import modules in JavaScript (specifically in Node.js).
      The require('point_of_sale.models') statement is responsible for loading the 'point_of_sale.models' module. Once the module is loaded, the Order object is extracted from it using destructuring assignment.
      Destructuring assignment allows you to extract specific properties or objects from a larger object or module. In this case, it is extracting the Order object from the 'point_of_sale.models' module and assigning it to a variable named Order.
      After this import statement, the Order variable will reference the Order object from the 'point_of_sale.models' module, allowing you to access and use its properties and methods in the subsequent code.

    • @odooistic
      @odooistic  Рік тому

      Yes of course you can use order1 it's a variable , moreover I will come on this in more details just out of city at the moment

    • @sagars209
      @sagars209 Рік тому

      @@odooistic Thanks for your kind support, I have figured out what I was looking for, your video was indeed very helpful

  • @ariyanblogs2535
    @ariyanblogs2535 Місяць тому +1

    How can I customize the width of Print Receipt for pdf?

    • @odooistic
      @odooistic  Місяць тому

      To customize the width of the Print Receipt for a PDF in Odoo (such as in the Point of Sale module), you can adjust the PDF template by modifying the QWeb report template that generates the receipt.

    • @ariyanblogs2535
      @ariyanblogs2535 Місяць тому

      @@odooistic Thanks

  • @overdose4198
    @overdose4198 Рік тому

    You're amazing!! We need more

    • @odooistic
      @odooistic  Рік тому +1

      Hi @overdose4198,
      Thank you so much for your kind words! I'm thrilled to hear that you found my video on Odoo helpful. I am dedicated to producing content that is useful and engaging for viewers like you.
      If there are any specific Odoo topics or features you're interested in learning more about, please feel free to let me know. I'm always looking for new ideas for my upcoming videos!
      Thanks again for your support, and stay tuned for more content!
      Best Regards,

    • @overdose4198
      @overdose4198 Рік тому

      @@odooistic thank you so much! You're doing a great job teaching youngsters like me. You've gained a student.

  • @deshawnmitchell9585
    @deshawnmitchell9585 Рік тому

    where do i install the js and xml codes to assure functionality ?

    • @odooistic
      @odooistic  Рік тому +1

      You can create a js file in a js folder and xml files in xml folder and then add a reference in manifest file thanks

    • @deshawnmitchell9585
      @deshawnmitchell9585 Рік тому

      thanks@@odooistic

  • @farooqrajput8658
    @farooqrajput8658 Рік тому

    very nice

  • @milanchauhan6918
    @milanchauhan6918 Рік тому +1

    Hi it was nice video… can you plz make video to add arabic name and sales description in pos receipt.

    • @odooistic
      @odooistic  Рік тому

      Thanks so much for your compliment yeah sure I will add video on that definitely

  • @omendageorge
    @omendageorge 10 місяців тому

    How do i edit pos receipt in odoo online versions to add client name

    • @odooistic
      @odooistic  10 місяців тому

      In Odoo Online (also known as Odoo SaaS), customizing Point of Sale (POS) receipts to include additional details like the client's name involves modifying the POS receipt template. In Odoo Online, direct editing of the HTML or XML templates (like in Odoo Community or Enterprise installed on your server) is typically restricted. However, you can still make some adjustments:
      Customize Receipt from Settings: Look for receipt customization options within the POS settings. You may have fields where you can add extra information, like a client name. The extent of customization might be limited compared to Odoo's server-based versions.

    • @joietan7983
      @joietan7983 3 місяці тому

      @@odooistic in odoo 17 saas there is no option to add Client Name in Odoo POS. Could you please make a video how can we do this in odoo online saas ?

  • @oussamaben885
    @oussamaben885 Рік тому

    please this video goes with odoo 13 ?

    • @odooistic
      @odooistic  Рік тому +1

      yes but manifest reference will be slight different. i will send you a detailed answer.

    • @oussamaben885
      @oussamaben885 Рік тому

      @@odooistic ok brother thank you