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

Hi,

I'm using the POS module from Odoo Community v9.  In the payment screen, the numpad has pre-programmed buttons for 10, 20 and 50.  To better reflect local currency,  it would be more appropriate to change the buttons to 100, 500 and 1000.  I have done this by modifying directly the relevant lines in pos.xml file.  However, when Odoo updates the pos.xml file in the future, these changes will be gone.

Is there perhaps a better way of doing this or preventing future updates from reverting to the changes I have made?


Best regards,

KM

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

Inherit the standard view and make your changes in the inherited view. This will prevent an update to overwrite your changes. Read about view inheritance in the doc: https://www.odoo.com/documentation/9.0/reference/views.html#inheritance

الصورة الرمزية
إهمال
الكاتب

Thanks Fabrice for pointing me in the right direction. I'll definitely acquaint myself with it.

Cheers!

km

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
سبتمبر 18
6840
8
نوفمبر 24
30919
1
مايو 22
3315
1
يونيو 23
2816
0
أبريل 22
2638