跳至內容
選單
此問題已被標幟
2 回覆
8451 瀏覽次數

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
9月 18
6850
8
11月 24
30934
1
5月 22
3315
1
6月 23
2816
0
4月 22
2646