Browse Source

[MIG] pos_order_load: Migration to 12.0

pull/517/head
Cyril VINH-TUNG 4 years ago
parent
commit
8eae59cdf3
  1. 2
      pos_order_load/__manifest__.py
  2. 5
      pos_order_load/i18n/am.po
  3. 8
      pos_order_load/i18n/ar.po
  4. 5
      pos_order_load/i18n/bg.po
  5. 8
      pos_order_load/i18n/bs.po
  6. 5
      pos_order_load/i18n/ca.po
  7. 8
      pos_order_load/i18n/ca_ES.po
  8. 5
      pos_order_load/i18n/cs.po
  9. 5
      pos_order_load/i18n/da.po
  10. 5
      pos_order_load/i18n/de.po
  11. 8
      pos_order_load/i18n/el_GR.po
  12. 8
      pos_order_load/i18n/en_AU.po
  13. 8
      pos_order_load/i18n/en_GB.po
  14. 8
      pos_order_load/i18n/es.po
  15. 8
      pos_order_load/i18n/es_AR.po
  16. 8
      pos_order_load/i18n/es_CL.po
  17. 8
      pos_order_load/i18n/es_CO.po
  18. 8
      pos_order_load/i18n/es_CR.po
  19. 8
      pos_order_load/i18n/es_DO.po
  20. 8
      pos_order_load/i18n/es_EC.po
  21. 8
      pos_order_load/i18n/es_ES.po
  22. 8
      pos_order_load/i18n/es_MX.po
  23. 8
      pos_order_load/i18n/es_PY.po
  24. 8
      pos_order_load/i18n/es_VE.po
  25. 5
      pos_order_load/i18n/et.po
  26. 5
      pos_order_load/i18n/eu.po
  27. 8
      pos_order_load/i18n/eu_ES.po
  28. 5
      pos_order_load/i18n/fa.po
  29. 5
      pos_order_load/i18n/fi.po
  30. 12
      pos_order_load/i18n/fr.po
  31. 8
      pos_order_load/i18n/fr_CA.po
  32. 8
      pos_order_load/i18n/fr_CH.po
  33. 8
      pos_order_load/i18n/fr_FR.po
  34. 5
      pos_order_load/i18n/gl.po
  35. 5
      pos_order_load/i18n/he.po
  36. 5
      pos_order_load/i18n/hi.po
  37. 8
      pos_order_load/i18n/hr.po
  38. 11
      pos_order_load/i18n/hr_HR.po
  39. 5
      pos_order_load/i18n/hu.po
  40. 5
      pos_order_load/i18n/id.po
  41. 5
      pos_order_load/i18n/it.po
  42. 5
      pos_order_load/i18n/ja.po
  43. 5
      pos_order_load/i18n/ko.po
  44. 5
      pos_order_load/i18n/lo.po
  45. 8
      pos_order_load/i18n/lt.po
  46. 11
      pos_order_load/i18n/lt_LT.po
  47. 8
      pos_order_load/i18n/lv.po
  48. 5
      pos_order_load/i18n/mk.po
  49. 5
      pos_order_load/i18n/mn.po
  50. 8
      pos_order_load/i18n/nb.po
  51. 8
      pos_order_load/i18n/nb_NO.po
  52. 5
      pos_order_load/i18n/nl.po
  53. 8
      pos_order_load/i18n/nl_BE.po
  54. 8
      pos_order_load/i18n/nl_NL.po
  55. 8
      pos_order_load/i18n/pl.po
  56. 139
      pos_order_load/i18n/pos_order_load.pot
  57. 5
      pos_order_load/i18n/pt.po
  58. 11
      pos_order_load/i18n/pt_BR.po
  59. 8
      pos_order_load/i18n/pt_PT.po
  60. 8
      pos_order_load/i18n/ro.po
  61. 9
      pos_order_load/i18n/ru.po
  62. 5
      pos_order_load/i18n/sk.po
  63. 11
      pos_order_load/i18n/sl.po
  64. 8
      pos_order_load/i18n/sr.po
  65. 11
      pos_order_load/i18n/sr@latin.po
  66. 5
      pos_order_load/i18n/sv.po
  67. 5
      pos_order_load/i18n/th.po
  68. 5
      pos_order_load/i18n/tr.po
  69. 8
      pos_order_load/i18n/tr_TR.po
  70. 8
      pos_order_load/i18n/uk.po
  71. 5
      pos_order_load/i18n/vi.po
  72. 8
      pos_order_load/i18n/vi_VN.po
  73. 8
      pos_order_load/i18n/zh_CN.po
  74. 8
      pos_order_load/i18n/zh_TW.po
  75. 2
      pos_order_load/models/pos_order.py
  76. BIN
      pos_order_load/static/description/icon.png
  77. 150
      pos_order_load/static/src/js/pos_order_load.js
  78. 6
      pos_order_load/static/src/xml/pos_order_load.xml
  79. 8
      pos_order_load/view/pos_order_load.xml

2
pos_order_load/__openerp__.py → pos_order_load/__manifest__.py

@ -22,7 +22,7 @@
{
'name': 'POS Order Load and Save',
'version': '8.0.1.0.0',
'version': '12.0.1.0.0',
'author': 'Akretion,GRAP,Odoo Community Association (OCA)',
'category': 'Point Of Sale',
'license': 'AGPL-3',

5
pos_order_load/i18n/am.po

@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n"
"Language: am\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: am\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: pos_order_load
@ -124,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/ar.po

@ -12,12 +12,11 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
"Language: ar\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
#. module: pos_order_load
#. openerp-web
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/bg.po

@ -13,10 +13,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: Kaloyan Naumov <kaloyan@lumnus.net>, 2016\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"Language: bg\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: bg\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +125,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/bs.po

@ -12,12 +12,11 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n"
"Language: bs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"Language: bs\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: pos_order_load
#. openerp-web
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/ca.po

@ -13,10 +13,10 @@ msgstr ""
"PO-Revision-Date: 2017-04-29 00:49+0000\n"
"Last-Translator: Marc Tormo i Bochaca <mtbochaca@gmail.com>, 2017\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ca\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +125,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/ca_ES.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Catalan (Spain) (https://www.transifex.com/oca/teams/23907/"
"ca_ES/)\n"
"Language: ca_ES\n"
"Language-Team: Catalan (Spain) (https://www.transifex.com/oca/teams/23907/ca_ES/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ca_ES\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/cs.po

@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Czech (https://www.transifex.com/oca/teams/23907/cs/)\n"
"Language: cs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: cs\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
#. module: pos_order_load
@ -124,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/da.po

@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Danish (https://www.transifex.com/oca/teams/23907/da/)\n"
"Language: da\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: da\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -124,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/de.po

@ -13,10 +13,10 @@ msgstr ""
"PO-Revision-Date: 2017-01-21 05:04+0000\n"
"Last-Translator: Rudolf Schnapka <rs@techno-flex.de>, 2017\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +125,7 @@ msgstr "Gesamtbetrag"
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/el_GR.po

@ -12,12 +12,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/"
"el_GR/)\n"
"Language: el_GR\n"
"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/el_GR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: el_GR\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -126,8 +125,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/en_AU.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: English (Australia) (https://www.transifex.com/oca/"
"teams/23907/en_AU/)\n"
"Language: en_AU\n"
"Language-Team: English (Australia) (https://www.transifex.com/oca/teams/23907/en_AU/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: en_AU\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/en_GB.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2017-08-29 01:16+0000\n"
"PO-Revision-Date: 2017-08-29 01:16+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: English (United Kingdom) (https://www.transifex.com/oca/"
"teams/23907/en_GB/)\n"
"Language: en_GB\n"
"Language-Team: English (United Kingdom) (https://www.transifex.com/oca/teams/23907/en_GB/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: en_GB\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr "Total Amount"
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/es.po

@ -13,10 +13,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-15 03:43+0000\n"
"Last-Translator: Janire Olagibel <janire.olagibel@factorlibre.com>, 2016\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -130,15 +130,13 @@ msgstr "Importe total"
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"
" * "
msgstr ""
"No es posible cargar algunas líneas de pedido porque los productos no están "
"disponibles en la caché del TPV.\n"
"No es posible cargar algunas líneas de pedido porque los productos no están disponibles en la caché del TPV.\n"
"Por favor, compruebe las líneas :"
#. module: pos_order_load

8
pos_order_load/i18n/es_AR.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Spanish (Argentina) (https://www.transifex.com/oca/"
"teams/23907/es_AR/)\n"
"Language: es_AR\n"
"Language-Team: Spanish (Argentina) (https://www.transifex.com/oca/teams/23907/es_AR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es_AR\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/es_CL.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Spanish (Chile) (https://www.transifex.com/oca/teams/23907/"
"es_CL/)\n"
"Language: es_CL\n"
"Language-Team: Spanish (Chile) (https://www.transifex.com/oca/teams/23907/es_CL/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es_CL\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/es_CO.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Spanish (Colombia) (https://www.transifex.com/oca/teams/23907/"
"es_CO/)\n"
"Language: es_CO\n"
"Language-Team: Spanish (Colombia) (https://www.transifex.com/oca/teams/23907/es_CO/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es_CO\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/es_CR.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Spanish (Costa Rica) (https://www.transifex.com/oca/"
"teams/23907/es_CR/)\n"
"Language: es_CR\n"
"Language-Team: Spanish (Costa Rica) (https://www.transifex.com/oca/teams/23907/es_CR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es_CR\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/es_DO.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Spanish (Dominican Republic) (https://www.transifex.com/oca/"
"teams/23907/es_DO/)\n"
"Language: es_DO\n"
"Language-Team: Spanish (Dominican Republic) (https://www.transifex.com/oca/teams/23907/es_DO/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es_DO\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/es_EC.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/"
"es_EC/)\n"
"Language: es_EC\n"
"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/es_EC/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es_EC\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/es_ES.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/"
"es_ES/)\n"
"Language: es_ES\n"
"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/es_ES/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es_ES\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/es_MX.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/"
"es_MX/)\n"
"Language: es_MX\n"
"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/es_MX/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es_MX\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/es_PY.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Spanish (Paraguay) (https://www.transifex.com/oca/teams/23907/"
"es_PY/)\n"
"Language: es_PY\n"
"Language-Team: Spanish (Paraguay) (https://www.transifex.com/oca/teams/23907/es_PY/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es_PY\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/es_VE.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/"
"teams/23907/es_VE/)\n"
"Language: es_VE\n"
"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/teams/23907/es_VE/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es_VE\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/et.po

@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Estonian (https://www.transifex.com/oca/teams/23907/et/)\n"
"Language: et\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: et\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -124,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/eu.po

@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Basque (https://www.transifex.com/oca/teams/23907/eu/)\n"
"Language: eu\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: eu\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -124,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/eu_ES.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: oihane <oihanecruce@gmail.com>, 2016\n"
"Language-Team: Basque (Spain) (https://www.transifex.com/oca/teams/23907/"
"eu_ES/)\n"
"Language: eu_ES\n"
"Language-Team: Basque (Spain) (https://www.transifex.com/oca/teams/23907/eu_ES/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: eu_ES\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/fa.po

@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Persian (https://www.transifex.com/oca/teams/23907/fa/)\n"
"Language: fa\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: fa\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: pos_order_load
@ -124,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/fi.po

@ -13,10 +13,10 @@ msgstr ""
"PO-Revision-Date: 2017-02-11 04:29+0000\n"
"Last-Translator: Jarmo Kortetjärvi <jarmo.kortetjarvi@gmail.com>, 2017\n"
"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n"
"Language: fi\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: fi\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +125,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

12
pos_order_load/i18n/fr.po

@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: fr\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: pos_order_load
@ -115,8 +115,8 @@ msgid ""
"This operation will save the current order in a draft state. You'll have to "
"mark it as paid after."
msgstr ""
"Cette opération va sauvegarder la vente en cours à l'état de brouillon. Vous "
"devrez la marquer comme payée ultérieurement"
"Cette opération va sauvegarder la vente en cours à l'état de brouillon. Vous"
" devrez la marquer comme payée ultérieurement"
#. module: pos_order_load
#. openerp-web
@ -130,15 +130,13 @@ msgstr "Montant Total"
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"
" * "
msgstr ""
"Impossible de charger certaines lignes de ventes parce que les produits ne "
"sont pas disponibles dans le cache du point de vente.\n"
"Impossible de charger certaines lignes de ventes parce que les produits ne sont pas disponibles dans le cache du point de vente.\n"
"\n"
"Veuillez vérifier ces lignes :\n"
"\n"

8
pos_order_load/i18n/fr_CA.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: French (Canada) (https://www.transifex.com/oca/teams/23907/"
"fr_CA/)\n"
"Language: fr_CA\n"
"Language-Team: French (Canada) (https://www.transifex.com/oca/teams/23907/fr_CA/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: fr_CA\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/fr_CH.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: French (Switzerland) (https://www.transifex.com/oca/"
"teams/23907/fr_CH/)\n"
"Language: fr_CH\n"
"Language-Team: French (Switzerland) (https://www.transifex.com/oca/teams/23907/fr_CH/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: fr_CH\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr "Montant total"
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/fr_FR.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: Mohamed HABOU <m.habou@agoradeveloppement.com>, 2016\n"
"Language-Team: French (France) (https://www.transifex.com/oca/teams/23907/"
"fr_FR/)\n"
"Language: fr_FR\n"
"Language-Team: French (France) (https://www.transifex.com/oca/teams/23907/fr_FR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: fr_FR\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/gl.po

@ -13,10 +13,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: César Castro Cruz <ulmroan@gmail.com>, 2016\n"
"Language-Team: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n"
"Language: gl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: gl\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +125,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/he.po

@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Hebrew (https://www.transifex.com/oca/teams/23907/he/)\n"
"Language: he\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: he\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -124,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/hi.po

@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Hindi (https://www.transifex.com/oca/teams/23907/hi/)\n"
"Language: hi\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: hi\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -124,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/hr.po

@ -14,12 +14,11 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: Bole <bole@dajmi5.com>, 2016\n"
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"Language: hr\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#. module: pos_order_load
#. openerp-web
@ -127,8 +126,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

11
pos_order_load/i18n/hr_HR.po

@ -11,14 +11,12 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: Bole <bole@dajmi5.com>, 2016\n"
"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/"
"hr_HR/)\n"
"Language: hr_HR\n"
"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"Language: hr_HR\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#. module: pos_order_load
#. openerp-web
@ -126,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/hu.po

@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/hu/)\n"
"Language: hu\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: hu\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -124,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/id.po

@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Indonesian (https://www.transifex.com/oca/teams/23907/id/)\n"
"Language: id\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: id\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: pos_order_load
@ -124,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/it.po

@ -14,10 +14,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: Andrea Cometa <a.cometa@apuliasoftware.it>, 2016\n"
"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: it\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -126,8 +126,7 @@ msgstr "Importo Totale"
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/ja.po

@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Japanese (https://www.transifex.com/oca/teams/23907/ja/)\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ja\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: pos_order_load
@ -124,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/ko.po

@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Korean (https://www.transifex.com/oca/teams/23907/ko/)\n"
"Language: ko\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ko\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: pos_order_load
@ -124,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/lo.po

@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Lao (https://www.transifex.com/oca/teams/23907/lo/)\n"
"Language: lo\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: lo\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: pos_order_load
@ -124,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/lt.po

@ -12,12 +12,11 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Lithuanian (https://www.transifex.com/oca/teams/23907/lt/)\n"
"Language: lt\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n"
"%100<10 || n%100>=20) ? 1 : 2);\n"
"Language: lt\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: pos_order_load
#. openerp-web
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

11
pos_order_load/i18n/lt_LT.po

@ -11,14 +11,12 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: Arminas Grigonis <arminas@versada.lt>, 2016\n"
"Language-Team: Lithuanian (Lithuania) (https://www.transifex.com/oca/"
"teams/23907/lt_LT/)\n"
"Language: lt_LT\n"
"Language-Team: Lithuanian (Lithuania) (https://www.transifex.com/oca/teams/23907/lt_LT/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n"
"%100<10 || n%100>=20) ? 1 : 2);\n"
"Language: lt_LT\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: pos_order_load
#. openerp-web
@ -126,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/lv.po

@ -12,12 +12,11 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Latvian (https://www.transifex.com/oca/teams/23907/lv/)\n"
"Language: lv\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
"2);\n"
"Language: lv\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"
#. module: pos_order_load
#. openerp-web
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/mk.po

@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Macedonian (https://www.transifex.com/oca/teams/23907/mk/)\n"
"Language: mk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: mk\n"
"Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n"
#. module: pos_order_load
@ -124,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/mn.po

@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Mongolian (https://www.transifex.com/oca/teams/23907/mn/)\n"
"Language: mn\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: mn\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -124,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/nb.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Norwegian Bokmål (https://www.transifex.com/oca/teams/23907/"
"nb/)\n"
"Language: nb\n"
"Language-Team: Norwegian Bokmål (https://www.transifex.com/oca/teams/23907/nb/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: nb\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/nb_NO.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: Imre Kristoffer Eilertsen <imreeil42@gmail.com>, 2016\n"
"Language-Team: Norwegian Bokmål (Norway) (https://www.transifex.com/oca/"
"teams/23907/nb_NO/)\n"
"Language: nb_NO\n"
"Language-Team: Norwegian Bokmål (Norway) (https://www.transifex.com/oca/teams/23907/nb_NO/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: nb_NO\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr "Totalsum"
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/nl.po

@ -13,10 +13,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: Erwin van der Ploeg <erwin@odooexperts.nl>, 2016\n"
"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: nl\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +125,7 @@ msgstr "Totaalbedrag"
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/nl_BE.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Dutch (Belgium) (https://www.transifex.com/oca/teams/23907/"
"nl_BE/)\n"
"Language: nl_BE\n"
"Language-Team: Dutch (Belgium) (https://www.transifex.com/oca/teams/23907/nl_BE/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: nl_BE\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/nl_NL.po

@ -12,12 +12,11 @@ msgstr ""
"POT-Creation-Date: 2017-08-29 01:16+0000\n"
"PO-Revision-Date: 2017-08-29 01:16+0000\n"
"Last-Translator: Peter Hageman <hageman.p@gmail.com>, 2017\n"
"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/"
"teams/23907/nl_NL/)\n"
"Language: nl_NL\n"
"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/nl_NL/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: nl_NL\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -126,8 +125,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/pl.po

@ -12,12 +12,11 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Polish (https://www.transifex.com/oca/teams/23907/pl/)\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2);\n"
"Language: pl\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: pos_order_load
#. openerp-web
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

139
pos_order_load/i18n/pos_order_load.pot

@ -1,139 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_order_load
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: pos_order_load
#. openerp-web
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:289
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:315
#, python-format
msgid "Can not execute this action because the POS is currently offline"
msgstr ""
#. module: pos_order_load
#. openerp-web
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:181
#, python-format
msgid "Can not load the Selected Order because the POS is currently offline"
msgstr ""
#. module: pos_order_load
#. openerp-web
#: code:addons/pos_order_load/static/src/xml/pos_order_load.xml:28
#, python-format
msgid "Cancel"
msgstr ""
#. module: pos_order_load
#. openerp-web
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:180
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:288
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:314
#, python-format
msgid "Connection error"
msgstr ""
#. module: pos_order_load
#. openerp-web
#: code:addons/pos_order_load/static/src/xml/pos_order_load.xml:60
#, python-format
msgid "Customer"
msgstr ""
#. module: pos_order_load
#. openerp-web
#: code:addons/pos_order_load/static/src/xml/pos_order_load.xml:5
#, python-format
msgid "Load Draft Order"
msgstr ""
#. module: pos_order_load
#. openerp-web
#: code:addons/pos_order_load/static/src/xml/pos_order_load.xml:59
#, python-format
msgid "Order"
msgstr ""
#. module: pos_order_load
#: model:ir.model,name:pos_order_load.model_pos_order
msgid "Point of Sale"
msgstr ""
#. module: pos_order_load
#. openerp-web
#: code:addons/pos_order_load/static/src/xml/pos_order_load.xml:10
#, python-format
msgid "Save Current Order"
msgstr ""
#. module: pos_order_load
#. openerp-web
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:71
#, python-format
msgid "Save The current Order ?"
msgstr ""
#. module: pos_order_load
#. openerp-web
#: code:addons/pos_order_load/static/src/xml/pos_order_load.xml:36
#, python-format
msgid "Search Orders"
msgstr ""
#. module: pos_order_load
#. openerp-web
#: code:addons/pos_order_load/static/src/xml/pos_order_load.xml:40
#, python-format
msgid "Select Order"
msgstr ""
#. module: pos_order_load
#. openerp-web
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:72
#, python-format
msgid "This operation will save the current order in a draft state. You'll have to mark it as paid after."
msgstr ""
#. module: pos_order_load
#. openerp-web
#: code:addons/pos_order_load/static/src/xml/pos_order_load.xml:61
#, python-format
msgid "Total Amount"
msgstr ""
#. module: pos_order_load
#. openerp-web
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid "Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"
" * "
msgstr ""
#. module: pos_order_load
#. openerp-web
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:266
#, python-format
msgid "Unknown Products"
msgstr ""
#. module: pos_order_load
#. openerp-web
#: code:addons/pos_order_load/static/src/xml/pos_order_load.xml:32
#, python-format
msgid "Validate"
msgstr ""

5
pos_order_load/i18n/pt.po

@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n"
"Language: pt\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: pt\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -124,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

11
pos_order_load/i18n/pt_BR.po

@ -11,14 +11,12 @@ msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: Claudio Araujo Santos <claudioaraujosantos@gmail.com>, "
"2016\n"
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/"
"teams/23907/pt_BR/)\n"
"Language: pt_BR\n"
"Last-Translator: Claudio Araujo Santos <claudioaraujosantos@gmail.com>, 2016\n"
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: pt_BR\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: pos_order_load
@ -127,8 +125,7 @@ msgstr "Valor total"
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/pt_PT.po

@ -12,12 +12,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-15 03:43+0000\n"
"PO-Revision-Date: 2016-12-15 03:43+0000\n"
"Last-Translator: Pedro Castro Silva <pedrocs@sossia.pt>, 2016\n"
"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/"
"teams/23907/pt_PT/)\n"
"Language: pt_PT\n"
"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/teams/23907/pt_PT/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: pt_PT\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -126,8 +125,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/ro.po

@ -12,12 +12,11 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n"
"Language: ro\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?"
"2:1));\n"
"Language: ro\n"
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
#. module: pos_order_load
#. openerp-web
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

9
pos_order_load/i18n/ru.po

@ -13,13 +13,11 @@ msgstr ""
"PO-Revision-Date: 2017-05-01 20:52+0000\n"
"Last-Translator: Victor Safronovich <vsafronovich@suvit.ru>, 2017\n"
"Language-Team: Russian (https://www.transifex.com/oca/teams/23907/ru/)\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n"
"%100>=11 && n%100<=14)? 2 : 3);\n"
"Language: ru\n"
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
#. module: pos_order_load
#. openerp-web
@ -127,8 +125,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/sk.po

@ -13,10 +13,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-15 03:43+0000\n"
"Last-Translator: gebri <gebri@inmail.sk>, 2016\n"
"Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n"
"Language: sk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: sk\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
#. module: pos_order_load
@ -125,8 +125,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

11
pos_order_load/i18n/sl.po

@ -13,12 +13,11 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: Matjaž Mozetič <m.mozetic@matmoz.si>, 2016\n"
"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n"
"Language: sl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
"%100==4 ? 2 : 3);\n"
"Language: sl\n"
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
#. module: pos_order_load
#. openerp-web
@ -128,15 +127,13 @@ msgstr "Skupni znesek"
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"
" * "
msgstr ""
"Nekaterih postavk naloga ni bilo mogoče naložiti, ker v predpomnilniku "
"proizvodi niso na voljo.\n"
"Nekaterih postavk naloga ni bilo mogoče naložiti, ker v predpomnilniku proizvodi niso na voljo.\n"
"\n"
"Preverite te postavke :\n"
"\n"

8
pos_order_load/i18n/sr.po

@ -12,12 +12,11 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Serbian (https://www.transifex.com/oca/teams/23907/sr/)\n"
"Language: sr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"Language: sr\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: pos_order_load
#. openerp-web
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

11
pos_order_load/i18n/sr@latin.po

@ -11,14 +11,12 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Serbian (Latin) (https://www.transifex.com/oca/teams/23907/"
"sr@latin/)\n"
"Language: sr@latin\n"
"Language-Team: Serbian (Latin) (https://www.transifex.com/oca/teams/23907/sr@latin/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"Language: sr@latin\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: pos_order_load
#. openerp-web
@ -126,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/sv.po

@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Swedish (https://www.transifex.com/oca/teams/23907/sv/)\n"
"Language: sv\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: sv\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: pos_order_load
@ -124,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/th.po

@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Thai (https://www.transifex.com/oca/teams/23907/th/)\n"
"Language: th\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: th\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: pos_order_load
@ -124,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/tr.po

@ -13,10 +13,10 @@ msgstr ""
"PO-Revision-Date: 2017-01-07 04:35+0000\n"
"Last-Translator: Ivan BARAYEV <ivanbarayev@hotmail.com>, 2017\n"
"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n"
"Language: tr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: tr\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: pos_order_load
@ -125,8 +125,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/tr_TR.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-31 05:41+0000\n"
"PO-Revision-Date: 2016-12-31 05:41+0000\n"
"Last-Translator: Ozge Altinisik <ozge@altinkaya.com.tr>, 2017\n"
"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/"
"tr_TR/)\n"
"Language: tr_TR\n"
"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/tr_TR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: tr_TR\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/uk.po

@ -12,12 +12,11 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Ukrainian (https://www.transifex.com/oca/teams/23907/uk/)\n"
"Language: uk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"Language: uk\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: pos_order_load
#. openerp-web
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

5
pos_order_load/i18n/vi.po

@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Vietnamese (https://www.transifex.com/oca/teams/23907/vi/)\n"
"Language: vi\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: vi\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: pos_order_load
@ -124,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/vi_VN.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Vietnamese (Viet Nam) (https://www.transifex.com/oca/"
"teams/23907/vi_VN/)\n"
"Language: vi_VN\n"
"Language-Team: Vietnamese (Viet Nam) (https://www.transifex.com/oca/teams/23907/vi_VN/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: vi_VN\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/zh_CN.po

@ -13,12 +13,11 @@ msgstr ""
"POT-Creation-Date: 2017-04-29 00:49+0000\n"
"PO-Revision-Date: 2017-04-29 00:49+0000\n"
"Last-Translator: liAnGjiA <liangjia@qq.com>, 2017\n"
"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/"
"zh_CN/)\n"
"Language: zh_CN\n"
"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/zh_CN/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: zh_CN\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: pos_order_load
@ -127,8 +126,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

8
pos_order_load/i18n/zh_TW.po

@ -11,12 +11,11 @@ msgstr ""
"POT-Creation-Date: 2016-12-02 03:44+0000\n"
"PO-Revision-Date: 2016-12-02 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Chinese (Taiwan) (https://www.transifex.com/oca/teams/23907/"
"zh_TW/)\n"
"Language: zh_TW\n"
"Language-Team: Chinese (Taiwan) (https://www.transifex.com/oca/teams/23907/zh_TW/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: zh_TW\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: pos_order_load
@ -125,8 +124,7 @@ msgstr ""
#: code:addons/pos_order_load/static/src/js/pos_order_load.js:267
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"Unable to load some order lines because the products are not available in the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"

2
pos_order_load/models/pos_order.py

@ -21,7 +21,7 @@
#
##############################################################################
from openerp import models, api
from odoo import models, api
class PosOrder(models.Model):

BIN
pos_order_load/static/description/icon.png

Before

Width: 128  |  Height: 128  |  Size: 9.2 KiB

150
pos_order_load/static/src/js/pos_order_load.js

@ -15,17 +15,32 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*****************************************************************************/
openerp.pos_order_load = function(instance, local) {
module = instance.point_of_sale;
var QWeb = instance.web.qweb;
var _t = instance.web._t;
var round_pr = instance.web.round_precision;
odoo.define('pos_order_load', function (require) {
"use strict";
var PosBaseWidget = require('point_of_sale.BaseWidget');
var chrome = require('point_of_sale.chrome');
var gui = require('point_of_sale.gui');
var models = require('point_of_sale.models');
var screens = require('point_of_sale.screens');
var rpc = require('web.rpc');
var utils = require('web.utils');
var round_pr = utils.round_precision;
var core = require('web.core');
var QWeb = core.qweb;
var _t = core._t;
/*************************************************************************
Extend Model Order:
* Add getter and setter function for field 'order_id';
*/
module.Order = module.Order.extend({
var _super_order = models.Order.prototype;
models.Order = models.Order.extend({
set_order_id: function(id) {
this.set({
@ -43,15 +58,14 @@ openerp.pos_order_load = function(instance, local) {
New Widget LoadButtonWidget:
* On click, display a new screen to select draft orders;
*/
module.LoadButtonWidget = module.PosBaseWidget.extend({
var LoadButtonWidget = PosBaseWidget.extend({
template: 'LoadButtonWidget',
renderElement: function() {
var self = this;
this._super();
this.$el.click(function(){
var ss = self.pos.pos_widget.screen_selector;
ss.set_current_screen('orderlist');
self.gui.show_screen('orderlist');
});
},
});
@ -60,16 +74,16 @@ openerp.pos_order_load = function(instance, local) {
New Widget SaveButtonWidget:
* On click, save the current draft order;
*/
module.SaveButtonWidget = module.PosBaseWidget.extend({
var SaveButtonWidget = PosBaseWidget.extend({
template: 'SaveButtonWidget',
renderElement: function() {
var self = this;
this._super();
this.$el.click(function(){
self.pos.pos_widget.screen_selector.show_popup('confirm',{
message: _t('Save The current Order ?'),
comment: _t('This operation will save the current order in a draft state. You\'ll have to mark it as paid after.'),
self.gui.show_popup('confirm',{
'title': _t('Save The current Order ?'),
'body': _t('This operation will save the current order in a draft state. You\'ll have to mark it as paid after.'),
confirm: function(){
var currentOrder = this.pos.get('selectedOrder');
this.pos.push_order(currentOrder);
@ -86,54 +100,49 @@ openerp.pos_order_load = function(instance, local) {
* Create new screen;
* Add load and save button;
*/
module.PosWidget = module.PosWidget.extend({
chrome.Chrome.include({
build_widgets: function() {
this._super();
// New Screen to select Draft Orders
this.orderlist_screen = new module.OrderListScreenWidget(this, {});
this.orderlist_screen.appendTo(this.$('.screens'));
this.orderlist_screen.hide();
this.screen_selector.screen_set.orderlist = this.orderlist_screen;
this.load_button = new LoadButtonWidget(this, {});
this.load_button.appendTo(this.$('div.order-empty'));
// Add buttons
this.load_button = new module.LoadButtonWidget(this,{});
this.load_button.appendTo(this.pos_widget.$('li.orderline.empty'));
this.save_button = new module.SaveButtonWidget(this,{});
this.save_button = new SaveButtonWidget(this, {});
},
});
/*************************************************************************
Extend OrderWidget:
* Extend OrderWidget:
*/
module.OrderWidget = module.OrderWidget.extend({
screens.OrderWidget.include({
renderElement: function(scrollbottom){
this._super(scrollbottom);
if (this.pos_widget.load_button) {
this.pos_widget.load_button.appendTo(
this.pos_widget.$('li.orderline.empty')
if (this.chrome.load_button) {
this.chrome.load_button.appendTo(
this.chrome.$('div.order-empty')
);
}
if (this.pos_widget.save_button && (this.pos.get('selectedOrder').get('orderLines').length > 0)) {
this.pos_widget.save_button.appendTo(
this.pos_widget.$('div.summary')
if (this.pos.get_order()) {
if (this.chrome.save_button && (this.pos.get_order().get_orderlines().length > 0)) {
this.chrome.save_button.appendTo(
this.chrome.$('div.summary')
);
}
}
}
});
/*************************************************************************
New ScreenWidget OrderListScreenWidget:
* New ScreenWidget OrderListScreenWidget:
* On show, display all draft orders;
* on click on an order, display the content;
* on click on 'validate', allow to use this POS Order;
* on click on 'cancel', display the preview screen;
*/
module.OrderListScreenWidget = module.ScreenWidget.extend({
//
var OrderListScreenWidget = screens.ScreenWidget.extend({
template: 'OrderListScreenWidget',
show_leftpane: true,
model: 'pos.order',
@ -146,7 +155,7 @@ openerp.pos_order_load = function(instance, local) {
reset_order: function(order) {
order.set_client(undefined);
order.set_order_id(undefined);
order.get('orderLines').reset();
order.orderlines.reset();
return order;
},
@ -154,29 +163,30 @@ openerp.pos_order_load = function(instance, local) {
var self = this;
this._super();
this.$el.find('span.button.back').click(function(){
order = self.pos.get('selectedOrder');
var order = self.pos.get('selectedOrder');
self.reset_order(order);
self.pos_widget.order_widget.change_selected_order();
var ss = self.pos.pos_widget.screen_selector;
ss.set_current_screen('products');
self.chrome.screens.products.order_widget.change_selected_order();
self.gui.show_screen('products');
});
this.$el.find('span.button.validate').click(function(){
var orderModel = new instance.web.Model('pos.order');
return orderModel.call('unlink', [[self.current_order_id]])
.then(function (result) {
var ss = self.pos.pos_widget.screen_selector;
ss.set_current_screen('products');
var orderModel = rpc.query({
model: 'pos.order',
method: 'unlink',
args: [self.current_order_id],
});
return orderModel.then(function (result) {
self.gui.show_screen('products');
}).fail(function (error, event){
if (parseInt(error.code) === 200) {
// Business Logic Error, not a connection problem
self.pos_widget.screen_selector.show_popup(
self.gui.show_popup(
'error-traceback', {
message: error.data.message,
comment: error.data.debug
});
}
else{
self.pos_widget.screen_selector.show_popup('error',{
self.gui.show_popup('error',{
message: _t('Connection error'),
comment: _t('Can not load the Selected Order because the POS is currently offline'),
});
@ -227,12 +237,15 @@ openerp.pos_order_load = function(instance, local) {
load_order: function(order_id) {
var self = this;
var orderModel = new instance.web.Model(this.model);
return orderModel.call('load_order', [order_id])
.then(function (result) {
var orderModel = rpc.query({
model: this.model,
method: 'load_order',
args: [order_id],
});
return orderModel.then(function (result) {
var order = self.pos.get('selectedOrder');
order = self.load_order_fields(order, result);
order.get('orderLines').reset();
order.orderlines.reset();
var orderlines = result.orderlines || [];
var unknown_products = [];
for (var i=0, len=orderlines.length; i<len; i++) {
@ -253,15 +266,15 @@ openerp.pos_order_load = function(instance, local) {
}
}
order.addProduct(product,
order.add_product(product,
self.prepare_orderline_options(orderline)
);
last_orderline = order.getLastOrderline();
var last_orderline = order.get_last_orderline();
last_orderline = jQuery.extend(last_orderline, orderline);
}
// Forbid POS Order loading if some products are unknown
if (unknown_products.length > 0){
self.pos_widget.screen_selector.show_popup(
self.gui.show_popup(
'error-traceback', {
message: _t('Unknown Products'),
comment: _t('Unable to load some order lines because the ' +
@ -277,14 +290,14 @@ openerp.pos_order_load = function(instance, local) {
}).fail(function (error, event){
if (parseInt(error.code) === 200) {
// Business Logic Error, not a connection problem
self.pos_widget.screen_selector.show_popup(
self.gui.show_popup(
'error-traceback', {
message: error.data.message,
comment: error.data.debug
});
}
else{
self.pos_widget.screen_selector.show_popup('error',{
self.gui.show_popup('error',{
message: _t('Connection error'),
comment: _t('Can not execute this action because the POS is currently offline'),
});
@ -295,14 +308,17 @@ openerp.pos_order_load = function(instance, local) {
load_orders: function(query) {
var self = this;
var orderModel = new instance.web.Model(this.model);
return orderModel.call('search_read_orders', [query || ''])
.then(function (result) {
var orderModel = rpc.query({
model: this.model,
method: 'search_read_orders',
args: [query || ''],
})
return orderModel.then(function (result) {
self.render_list(result);
}).fail(function (error, event){
if (parseInt(error.code) === 200) {
// Business Logic Error, not a connection problem
self.pos_widget.screen_selector.show_popup(
self.gui.show_popup(
'error-traceback', {
message: error.data.message,
comment: error.data.debug
@ -310,7 +326,7 @@ openerp.pos_order_load = function(instance, local) {
);
}
else{
self.pos_widget.screen_selector.show_popup('error',{
self.gui.show_popup('error',{
message: _t('Connection error'),
comment: _t('Can not execute this action because the POS is currently offline'),
});
@ -321,15 +337,16 @@ openerp.pos_order_load = function(instance, local) {
show: function() {
this._super();
var ss = this.pos.pos_widget.screen_selector;
if (ss.get_current_screen() == 'orderlist') {
if (this.gui.get_current_screen() == 'orderlist') {
this.load_orders();
}
},
on_click_draft_order: function(event){
this.$('.order-list .highlight').removeClass('highlight');
this.current_order_id = parseInt(event.target.parentNode.dataset.orderId);
this.load_order(this.current_order_id);
$(event.target.parentNode).addClass('highlight');
},
render_list: function(orders){
@ -359,5 +376,10 @@ openerp.pos_order_load = function(instance, local) {
},
});
gui.define_screen({'name': 'orderlist', 'widget': OrderListScreenWidget});
return {
LoadButtonButton: LoadButtonWidget,
SaveButtonButton: SaveButtonWidget,
OrderListScreenWidget: OrderListScreenWidget,
};
});

6
pos_order_load/static/src/xml/pos_order_load.xml

@ -44,12 +44,6 @@
</section>
<section class="full-content">
<div class="window">
<section class="subwindow collapsed">
<div class="subwindow-container">
<div class="subwindow-container-fix order-details-contents">
</div>
</div>
</section>
<section class="subwindow">
<div class="subwindow-container">
<div class="subwindow-container-fix touch-scrollable scrollable-y">

8
pos_order_load/view/pos_order_load.xml

@ -1,8 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- vim:fdn=3:
-->
<openerp>
<data>
<odoo>
<template id="assets_backend" name="pos_order_load assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<script type="text/javascript" src="/pos_order_load/static/src/js/pos_order_load.js"></script>
@ -13,6 +10,5 @@
<link rel="stylesheet" href="/pos_order_load/static/src/css/pos_order_load.css"/>
</xpath>
</template>
</data>
</openerp>
</odoo>
Loading…
Cancel
Save