Browse Source

[REF] 7219 Return of widgets of pos_quotation_order

pull/163/head
Imanol Aranburu 4 years ago
parent
commit
131bbd91a5
  1. 13
      pos_quotation_order/i18n/es.po
  2. 10
      pos_quotation_order/static/src/js/pos_quotation.js

13
pos_quotation_order/i18n/es.po

@ -301,21 +301,21 @@ msgstr "Lista presupuesto"
#. module: pos_quotation_order #. module: pos_quotation_order
#: model:ir.model.fields,field_description:pos_quotation_order.field_pos_order__quot_ref #: model:ir.model.fields,field_description:pos_quotation_order.field_pos_order__quot_ref
msgid "Quotation Ref" msgid "Quotation Ref"
msgstr "ref presupuesto" msgstr "Ref. presupuesto"
#. module: pos_quotation_order #. module: pos_quotation_order
#. openerp-web #. openerp-web
#: code:addons/pos_quotation_order/static/src/js/pos_quotation.js:114 #: code:addons/pos_quotation_order/static/src/js/pos_quotation.js:114
#, python-format #, python-format
msgid "Quotation Ref : " msgid "Quotation Ref : "
msgstr "Ref presupuesto :" msgstr "Ref. presupuesto :"
#. module: pos_quotation_order #. module: pos_quotation_order
#. openerp-web #. openerp-web
#: code:addons/pos_quotation_order/static/src/xml/pos_quotation.xml:116 #: code:addons/pos_quotation_order/static/src/xml/pos_quotation.xml:116
#, python-format #, python-format
msgid "Quotation Ref:" msgid "Quotation Ref:"
msgstr "Ref presupuesto:" msgstr "Ref. presupuesto:"
#. module: pos_quotation_order #. module: pos_quotation_order
#. openerp-web #. openerp-web
@ -406,3 +406,10 @@ msgstr ""
#: model:ir.model,name:pos_quotation_order.model_pos_quotation #: model:ir.model,name:pos_quotation_order.model_pos_quotation
msgid "pos.quotation" msgid "pos.quotation"
msgstr "" msgstr ""
#. module: pos_quotation_order
#. openerp-web
#: code:addons/pos_quotation_order/static/src/js/pos_quotation.js:22
#, python-format
msgid "My Create Quotation"
msgstr "Crear presupuesto"

10
pos_quotation_order/static/src/js/pos_quotation.js

@ -18,6 +18,8 @@ var QuotationPopupWidget = PopupWidget.extend({
}), }),
show: function(options){ show: function(options){
options = options || {}; options = options || {};
if (options.title === undefined)
options.title = _t('My Create Quotation');
var self = this; var self = this;
this._super(options); this._super(options);
this.renderElement(); this.renderElement();
@ -301,5 +303,13 @@ screens.define_action_button({
} }
}); });
return {
QuotationPopupWidget: QuotationPopupWidget,
QuotationResultPopupWidget: QuotationResultPopupWidget,
QuotationListScreenWidget: QuotationListScreenWidget,
QuotationListButton: QuotationListButton,
QuotationButton: QuotationButton,
};
}); });

Loading…
Cancel
Save