odoo 12中的pos发票自动检查

问题描述

如何在 point_of_sale 屏幕中显示发票按钮 auto_checked 我不知道如何操作,请任何人在这里帮助我

if (order.is_to_invoice()) {
    var invoiced = this.pos.push_and_invoice_order(order);
    this.invoicing = true;

    invoiced.fail(this._handleFailedPushForInvoice.bind(this,order,false));

    invoiced.done(function(){
        self.invoicing = false;
        self.gui.show_screen('receipt');
    });
} else {
    this.pos.push_order(order);
    this.gui.show_screen('receipt');
}

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)