🎯 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
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.
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
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?
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.
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.
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,
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.
🎯 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
hello thanks for the message, i can see in your message lots of points, are these required customization?
Thank sir we need more and more tutorial in owl framework 😊
is there a way to get order reference like for example Shop/004 from the pos order in that receipt
Yes of course there is a way. I will add a video very soon for that
@@odooistic That would be great! That would help me understand the logic better.
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.
thanks so much
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
sorry i was away from office. i will upload video related to that, catching up now. thanks
Thanks a lot! That would be great! Highly appreciated!
In odoo17 they implemented this in different way i think. I couldn't find OrderReceipt Class
i will definately add odoo17 approach soon.
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?
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.
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
@@odooistic Thanks for your kind support, I have figured out what I was looking for, your video was indeed very helpful
How can I customize the width of Print Receipt for pdf?
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.
@@odooistic Thanks
You're amazing!! We need more
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,
@@odooistic thank you so much! You're doing a great job teaching youngsters like me. You've gained a student.
where do i install the js and xml codes to assure functionality ?
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
thanks@@odooistic
very nice
Thanks
Hi it was nice video… can you plz make video to add arabic name and sales description in pos receipt.
Thanks so much for your compliment yeah sure I will add video on that definitely
How do i edit pos receipt in odoo online versions to add client name
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.
@@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 ?
please this video goes with odoo 13 ?
yes but manifest reference will be slight different. i will send you a detailed answer.
@@odooistic ok brother thank you