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

In the POS there is an option in the Payment stage for generating invoice for the sale being made. instead of giving an option i want to make invoicing mandatory. How to do it? Kindly guide.

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Made the following changes in to code to force invoice on all POS orders

addons/point_of_sale/static/js/Screens/PaymentScreen.js

 i.      Search for async validateOrder(isForceValidate) {                         (around line 165)

 ii.      Add  the following code below the function definition

if (!this.currentOrder.is_to_invoice()){this.toggleIsToInvoice();}


Upgrade the Point of sale app


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

Archive the "Cash" and "Bank" Payment Methods

Point of Sale --> Configuration --> Payment Methods.

อวตาร
ละทิ้ง