Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
3357 มุมมอง

Hello everyone, I would like to customize the POS Receipt to include the customer address. How can I achieve this?


I am using Odoo online the standard edition.


Thank you.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello Mohamed,

In Odoo online, you can import the custom module with XML and JS files.
You have to create a custom module to extend the POS receipt format and import it into Odoo online.

Thanks,
info@creyox.com

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

I tried building a module that works fine in my development enviroment, but just makes the POS hang in odoo online. There is no other way to modify the static files, but with a custom module. Not sure if Iḿ missing something but it's just two files, maybe someone can help us out :P

This is odoo 17:

manifest:

{
    'name': 'POS Custom Receipt',
    'version': 'saas~17.2.0.1',
    "license": "OPL-1",
    'category': 'Sales/Point of Sale',
    'description': "Customized our point of sale receipt.",
    'depends': ['base', 'point_of_sale'],
    'assets': {
        'point_of_sale._assets_pos': [
            'custom_pos_receipt/static/src/**/*',
        ],
    },
    'installable': True,
}


static/src/xml/pos.xml

For some reason xml will get stripped away, nothing fancy, just inherit the point_of_sale.OrderReceipt

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Invoices check by default on POS ? แก้ไขแล้ว
3
ก.ค. 25
1320
2
มี.ค. 25
2411
1
ธ.ค. 24
2434
0
ส.ค. 24
1967
1
ส.ค. 24
3109