diff --git a/pos_quotation_order/i18n/es.po b/pos_quotation_order/i18n/es.po index 43c67e839..305186381 100644 --- a/pos_quotation_order/i18n/es.po +++ b/pos_quotation_order/i18n/es.po @@ -301,21 +301,21 @@ msgstr "Lista presupuesto" #. module: pos_quotation_order #: model:ir.model.fields,field_description:pos_quotation_order.field_pos_order__quot_ref msgid "Quotation Ref" -msgstr "ref presupuesto" +msgstr "Ref. presupuesto" #. module: pos_quotation_order #. openerp-web #: code:addons/pos_quotation_order/static/src/js/pos_quotation.js:114 #, python-format msgid "Quotation Ref : " -msgstr "Ref presupuesto :" +msgstr "Ref. presupuesto :" #. module: pos_quotation_order #. openerp-web #: code:addons/pos_quotation_order/static/src/xml/pos_quotation.xml:116 #, python-format msgid "Quotation Ref:" -msgstr "Ref presupuesto:" +msgstr "Ref. presupuesto:" #. module: pos_quotation_order #. openerp-web @@ -406,3 +406,10 @@ msgstr "" #: model:ir.model,name:pos_quotation_order.model_pos_quotation msgid "pos.quotation" 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" diff --git a/pos_quotation_order/static/src/js/pos_quotation.js b/pos_quotation_order/static/src/js/pos_quotation.js index c05cf0720..50a52d6eb 100644 --- a/pos_quotation_order/static/src/js/pos_quotation.js +++ b/pos_quotation_order/static/src/js/pos_quotation.js @@ -18,6 +18,8 @@ var QuotationPopupWidget = PopupWidget.extend({ }), show: function(options){ options = options || {}; + if (options.title === undefined) + options.title = _t('My Create Quotation'); var self = this; this._super(options); this.renderElement(); @@ -301,5 +303,13 @@ screens.define_action_button({ } }); +return { + QuotationPopupWidget: QuotationPopupWidget, + QuotationResultPopupWidget: QuotationResultPopupWidget, + QuotationListScreenWidget: QuotationListScreenWidget, + QuotationListButton: QuotationListButton, + QuotationButton: QuotationButton, +}; + });