I don't want to print any tickets, how to disable this automatic feature ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
I'm trying to do the same, but it seems that changing receipt_type to 'invoice' doesn't change anything .
The solution is as simple as going to Point of Sale => Configuration => Point Of Sale, then select your POS and check "Print via Proxy ".
To avoid pressing on "Skip" at each POS launch, you can specify "127.0.0.1" as IP address in the configuration of POS. It works for me as there is no printer on the system hosting Odoo, i don't know what can happen if you have printers on the hosting system.
Hi,
Take a look at the initialize() function of module.Order() (File : point-of-sale/static/src/js/model.js around line 625)
initialize: function(attributes){
Backbone.Model.prototype.initialize.apply(this, arguments);
this.set({
creationDate: new Date(),
orderLines: new module.OrderlineCollection(),
paymentLines: new module.PaymentlineCollection(),
name: "Vente " + this.generateUniqueId(),
client: null,
partner_id: null,
partner_name: null,
});
this.pos = attributes.pos;
this.selected_orderline = undefined;
this.screen_data = {}; // see ScreenSelector
this.receipt_type = 'receipt'; // 'receipt' || 'invoice'
this.db = new module.PosLS();
return this;
},
I have'nt tried it but it seems that you can change receipt_type to "invoice"
Best regards
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 8 18
|
5266 | ||
|
0
thg 11 16
|
3870 | ||
|
1
thg 3 16
|
5021 | ||
|
3
thg 3 15
|
8612 | ||
|
1
thg 3 15
|
13243 |
Oliver, Have solved this issue?