Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

How to disable automatic print tickets in Point of Sales ?

By
Olivier Milis
on 4/11/13, 11:12 AM 2,517 views

I don't want to print any tickets, how to disable this automatic feature ?

Oliver, Have solved this issue?

idelfonso
on 12/19/13, 8:12 AM
1
Julius
On 3/19/15, 9:39 AM

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.

0
Thierry Godin
On 7/29/13, 7:26 AM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 4/11/13, 11:12 AM
Seen: 2517 times
Last updated: 4/8/15, 10:53 AM