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

I want to Edit POS customer receipt but i am not able to find it. Can anyone please send me the exact path of that repot?

I triend to find that report in Point of Sales module but when i match the pos receipt report with the output PDF, its different.

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

Hello !
We have done many customization in OpenERP/Odoo POS for 6.1, 7.0, 8.

There is a file in path: point_of_sale/static/src/xml/pos.xml.

Search this line: <t t-name="PosTicket">, and here you will find code for receipt.

Thanks,
Acespritech Solutions Pvt. Ltd.
http://acespritechblog.com
info@acespritech.com

الصورة الرمزية
إهمال

Actually there are multiple reports regarding the POS. There are two in the pos.xml file, PosTicket and XmlReceipt.

PosTicket is for direct printer connected to local machine, and XmlReceipt is for proxy printer.

الكاتب أفضل إجابة

Yes brother i tried to change the width of POS reciept from pos.css file:


.pos .pos-sale-ticket {
    text-align: right; 
    width: 700px; /* <------ Old 300px */
    background-color: white;
    margin: 10px;
    padding: 15px;
    font-size: 10px; 
    padding-bottom:30px;
   display: inline-block; 
    font-family: "Inconsolata";
    border: solid 1px rgb(220,220,220);
    clear: both;
   overflow: hidden; 
}

The width of pos reciept is increased in browser view but when i print it or try to see in print preview, it is shown at the old 300px width.

الصورة الرمزية
إهمال

same problem here...