Browse Source

[FIX] remove commented code

Co-authored-by: Iván Todorovich <ivan.todorovich@druidoo.io>
pull/441/head
Sylvain LE GAL 4 years ago
parent
commit
1dd59f9e8e
  1. 2
      pos_order_to_sale_order/static/src/js/screens.js
  2. 2
      pos_order_to_sale_order/static/src/xml/pos_order_to_sale_order.xml
  3. 23
      pos_order_to_sale_order/views/view_pos_config.xml

2
pos_order_to_sale_order/static/src/js/screens.js

@ -94,8 +94,6 @@ odoo.define('pos_order_to_sale_order.screens', function (require) {
click_sale_order_button: function(action) {
var self = this;
console.log("click_sale_order_button : " + action);
this.gui.show_popup('confirm', {
'title': _t(
'Create Sale Order and discard the current' +

2
pos_order_to_sale_order/static/src/xml/pos_order_to_sale_order.xml

@ -34,6 +34,4 @@
</div>
</div>
</t>
<!-- t-att-data-action="'confirmed'" -->
</template>

23
pos_order_to_sale_order/views/view_pos_config.xml

@ -41,26 +41,3 @@
</field>
</record>
</odoo>
<!-- string="Create Delivered Sale Orders" -->
<!-- <div class="text-muted">
Display pictures of product categories
</div>
<xpath expr="//field[@name='iface_cashdrawer']/.." position="after">
<div class="row">
<label string="Create Draft Sale Orders" for="iface_create_draft_sale_order" class="col-lg-3 o_light_label"/>
<field name="iface_create_draft_sale_order"/>
</div>
<div class="row">
<label string="Create Confirmed Sale Orders" for="iface_create_confirmed_sale_order" class="col-lg-3 o_light_label"/>
<field name="iface_create_confirmed_sale_order"/>
</div>
<div class="row">
<label string="Create Delivered Sale Orders" for="iface_create_delivered_sale_order" class="col-lg-3 o_light_label"/>
<field name="iface_create_delivered_sale_order"/>
</div> -->
Loading…
Cancel
Save