From 7ea6d309271beec4ac5f5593e44f05d5771dd0d2 Mon Sep 17 00:00:00 2001 From: Giovanni Date: Thu, 25 Mar 2021 10:39:13 +0100 Subject: [PATCH 1/2] * [BCK][13.0] Multi stores improvements for UX * new form layout for store * fix warehouse search inheriting * imp inherithing store form views --- account_multi_store/README.rst | 5 +- account_multi_store/__manifest__.py | 2 +- account_multi_store/views/res_store_views.xml | 21 +++---- base_multi_store/README.rst | 3 + base_multi_store/__manifest__.py | 2 +- base_multi_store/models/res_store.py | 7 +++ base_multi_store/models/res_users.py | 50 ++++++++++++--- .../security/multi_store_security.xml | 7 +++ base_multi_store/views/res_store_view.xml | 61 ++++++++++++------- base_multi_store/views/res_users_view.xml | 4 +- stock_multi_store/README.rst | 3 + stock_multi_store/__manifest__.py | 2 +- stock_multi_store/models/stock_warehouse.py | 5 +- stock_multi_store/views/res_store_view.xml | 23 +++---- .../views/stock_warehouse_view.xml | 5 +- 15 files changed, 133 insertions(+), 67 deletions(-) diff --git a/account_multi_store/README.rst b/account_multi_store/README.rst index ced6227..567fdc6 100644 --- a/account_multi_store/README.rst +++ b/account_multi_store/README.rst @@ -70,6 +70,9 @@ Images Contributors ------------ +* Giovanni Serra + + Maintainer ---------- @@ -77,4 +80,4 @@ Maintainer This module is maintained by the |company|. -To contribute to this module, please visit https://www.adhoc.com.ar. \ No newline at end of file +To contribute to this module, please visit https://www.adhoc.com.ar. diff --git a/account_multi_store/__manifest__.py b/account_multi_store/__manifest__.py index 2864f16..2485a04 100644 --- a/account_multi_store/__manifest__.py +++ b/account_multi_store/__manifest__.py @@ -19,7 +19,7 @@ ############################################################################## { 'name': 'Multi Store for Accounting', - 'version': '12.0.1.1.0', + 'version': '12.0.1.2.0', 'category': 'Accounting', 'sequence': 14, 'summary': '', diff --git a/account_multi_store/views/res_store_views.xml b/account_multi_store/views/res_store_views.xml index e1234c3..9928807 100644 --- a/account_multi_store/views/res_store_views.xml +++ b/account_multi_store/views/res_store_views.xml @@ -6,21 +6,16 @@ res.store -
- -
- - - - - + + + + + +
diff --git a/base_multi_store/README.rst b/base_multi_store/README.rst index 3322d9b..e111333 100644 --- a/base_multi_store/README.rst +++ b/base_multi_store/README.rst @@ -84,6 +84,9 @@ Images Contributors ------------ +* Giovanni Serra + + Maintainer ---------- diff --git a/base_multi_store/__manifest__.py b/base_multi_store/__manifest__.py index 089b41f..b0e5f76 100644 --- a/base_multi_store/__manifest__.py +++ b/base_multi_store/__manifest__.py @@ -19,7 +19,7 @@ ############################################################################## { 'name': 'Multi Stores Management', - 'version': '12.0.1.1.0', + 'version': '12.0.1.2.0', 'category': 'Accounting', 'sequence': 14, 'summary': '', diff --git a/base_multi_store/models/res_store.py b/base_multi_store/models/res_store.py index eaba64f..cb7068b 100644 --- a/base_multi_store/models/res_store.py +++ b/base_multi_store/models/res_store.py @@ -40,6 +40,8 @@ class ResStore(models.Model): 'Users' ) + active = fields.Boolean('Active', default=True) + _sql_constraints = [ ('name_uniq', 'unique (name, company_id)', 'The store name must be unique per company!') @@ -52,6 +54,11 @@ def _check_parent_id(self): raise ValidationError( _('Error! You can not create recursive stores.')) + @api.multi + def toggle_active(self): + for record in self: + record.active = not record.active + @api.model def name_search(self, name='', args=None, operator='ilike', limit=100): context = dict(self._context or {}) diff --git a/base_multi_store/models/res_users.py b/base_multi_store/models/res_users.py index 7a74bd0..47fe4e3 100644 --- a/base_multi_store/models/res_users.py +++ b/base_multi_store/models/res_users.py @@ -2,7 +2,8 @@ # For copyright and license notices, see __manifest__.py file in module root # directory ############################################################################## -from odoo import models, fields, api +from odoo import _, models, fields, api +from odoo.exceptions import ValidationError class ResUsers(models.Model): @@ -23,14 +24,6 @@ class ResUsers(models.Model): 'Stores', ) - @api.multi - def write(self, values): - res = super().write(values) - # clear cache rules when store changes - if 'store_id' in values: - self.env['ir.rule'].clear_caches() - return res - def __init__(self, pool, cr): """ Override of __init__ to add access rights on store fields. Access rights are disabled by @@ -44,3 +37,42 @@ def __init__(self, pool, cr): # duplicate list to avoid modifying the original reference self.SELF_READABLE_FIELDS = list(self.SELF_READABLE_FIELDS) self.SELF_READABLE_FIELDS.append('store_id') + + @api.constrains('store_id') + def _check_store_id(self): + for rec in self: + if rec.store_id and rec.store_id not in rec.store_ids: + raise ValidationError( + _("The selected store it's not allow for your user") + ) + + @api.model + def create(self, values): + values = self._remove_reified_groups(values) + user = super().create(values) + group_multi_store = self.env.ref('base_multi_store.group_multi_store', False) + if group_multi_store and 'store_ids' in values: + if len(user.store_ids) <= 1 and user.id in group_multi_store.users.ids: + user.write({'groups_id': [(3, group_multi_store.id)]}) + elif len(user.store_ids) > 1 and user.id not in group_multi_store.users.ids: + user.write({'groups_id': [(4, group_multi_store.id)]}) + return user + + @api.multi + def write(self, values): + values = self._remove_reified_groups(values) + res = super().write(values) + # clear cache rules when store changes + if 'store_id' in values: + self.env['ir.rule'].clear_caches() + + group_multi_store = self.env.ref('base_multi_store.group_multi_store', False) + if group_multi_store and 'store_ids' in values: + for user in self: + if len(user.store_ids) <= 1 and user.id in group_multi_store.users.ids: + user.write({'groups_id': [(3, group_multi_store.id)]}) + elif len( + user.store_ids + ) > 1 and user.id not in group_multi_store.users.ids: + user.write({'groups_id': [(4, group_multi_store.id)]}) + return res diff --git a/base_multi_store/security/multi_store_security.xml b/base_multi_store/security/multi_store_security.xml index b86b4c1..ded6ec5 100644 --- a/base_multi_store/security/multi_store_security.xml +++ b/base_multi_store/security/multi_store_security.xml @@ -19,5 +19,12 @@ [(1,'=',1)] + + + Store multi-company rule + + + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] + diff --git a/base_multi_store/views/res_store_view.xml b/base_multi_store/views/res_store_view.xml index e49abe3..5917ee8 100644 --- a/base_multi_store/views/res_store_view.xml +++ b/base_multi_store/views/res_store_view.xml @@ -7,8 +7,8 @@ - + @@ -20,40 +20,59 @@
-
- - -
-
-
-

- -

- - +
+
- - + + +
+
+
+

+ +

+ + + + +
+ + + res.store.search + res.store + + + + + + + + + + + + + + + Stores ir.actions.act_window res.store form tree,form + - + diff --git a/base_multi_store/views/res_users_view.xml b/base_multi_store/views/res_users_view.xml index 0ce3fcb..a969c35 100644 --- a/base_multi_store/views/res_users_view.xml +++ b/base_multi_store/views/res_users_view.xml @@ -20,8 +20,8 @@ res.users - - + + diff --git a/stock_multi_store/README.rst b/stock_multi_store/README.rst index cd25d07..f8527df 100644 --- a/stock_multi_store/README.rst +++ b/stock_multi_store/README.rst @@ -69,6 +69,9 @@ Images Contributors ------------ +* Giovanni Serra + + Maintainer ---------- diff --git a/stock_multi_store/__manifest__.py b/stock_multi_store/__manifest__.py index 0b488c5..5f3e31d 100644 --- a/stock_multi_store/__manifest__.py +++ b/stock_multi_store/__manifest__.py @@ -19,7 +19,7 @@ ############################################################################## { 'name': 'Multi Store for Warehouse', - 'version': '12.0.1.1.0', + 'version': '12.0.1.2.0', 'category': 'Accounting', 'sequence': 14, 'summary': '', diff --git a/stock_multi_store/models/stock_warehouse.py b/stock_multi_store/models/stock_warehouse.py index e586d62..81eae96 100644 --- a/stock_multi_store/models/stock_warehouse.py +++ b/stock_multi_store/models/stock_warehouse.py @@ -27,5 +27,8 @@ def search(self, args, offset=0, limit=None, order=None, count=False): user = self.env.user # if superadmin, do not apply if user.id != 1: - args += ['|', ('store_id', '=', False), ('store_id', 'child_of', [user.store_id.id])] + args += [ + '|', ('store_id', '=', False), + ('store_id', 'child_of', [user.store_id.id]) + ] return super().search(args, offset, limit, order, count=count) diff --git a/stock_multi_store/views/res_store_view.xml b/stock_multi_store/views/res_store_view.xml index 678fc5e..5d3955a 100644 --- a/stock_multi_store/views/res_store_view.xml +++ b/stock_multi_store/views/res_store_view.xml @@ -6,24 +6,17 @@ res.store - -
- -
- - - - - - + + + + + +
diff --git a/stock_multi_store/views/stock_warehouse_view.xml b/stock_multi_store/views/stock_warehouse_view.xml index f541a13..41ef7de 100644 --- a/stock_multi_store/views/stock_warehouse_view.xml +++ b/stock_multi_store/views/stock_warehouse_view.xml @@ -16,10 +16,11 @@ stock.warehouse.search stock.warehouse + - + - + From 7e3e1bf34a31699943006e8d33b8bb5acf6f120b Mon Sep 17 00:00:00 2001 From: Giovanni Date: Thu, 25 Mar 2021 11:14:44 +0100 Subject: [PATCH 2/2] * add archive filter in store search view * add .pot files * add it.po --- .../i18n/account_multi_store.pot | 54 ++++++++ account_multi_store/i18n/es.po | 51 +++---- account_multi_store/i18n/it.po | 38 +++++ account_multi_store/i18n/ru.po | 52 +++---- base_multi_store/i18n/base_multi_store.pot | 66 +++++++++ base_multi_store/i18n/es.po | 130 +++++++----------- base_multi_store/i18n/it.po | 50 +++++++ base_multi_store/i18n/ru.po | 90 ++---------- base_multi_store/views/res_store_view.xml | 1 + purchase_multi_store/i18n/es.po | 25 ++-- purchase_multi_store/i18n/it.po | 9 ++ .../i18n/purchase_multi_store.pot | 25 ++++ purchase_multi_store/i18n/ru.po | 19 +-- .../views/purchase_order_views.xml | 2 +- sale_multi_store/i18n/es.po | 34 ++--- sale_multi_store/i18n/it.po | 9 ++ sale_multi_store/i18n/ru.po | 21 +-- sale_multi_store/i18n/sale_multi_store.pot | 25 ++++ sale_multi_store/views/sale_order_view.xml | 2 +- stock_multi_store/i18n/es.po | 52 +++---- stock_multi_store/i18n/it.po | 24 ++++ stock_multi_store/i18n/ru.po | 39 +----- stock_multi_store/i18n/stock_multi_store.pot | 40 ++++++ 23 files changed, 512 insertions(+), 346 deletions(-) create mode 100644 account_multi_store/i18n/account_multi_store.pot create mode 100644 account_multi_store/i18n/it.po create mode 100644 base_multi_store/i18n/base_multi_store.pot create mode 100644 base_multi_store/i18n/it.po create mode 100644 purchase_multi_store/i18n/it.po create mode 100644 purchase_multi_store/i18n/purchase_multi_store.pot create mode 100644 sale_multi_store/i18n/it.po create mode 100644 sale_multi_store/i18n/sale_multi_store.pot create mode 100644 stock_multi_store/i18n/it.po create mode 100644 stock_multi_store/i18n/stock_multi_store.pot diff --git a/account_multi_store/i18n/account_multi_store.pot b/account_multi_store/i18n/account_multi_store.pot new file mode 100644 index 0000000..961b96d --- /dev/null +++ b/account_multi_store/i18n/account_multi_store.pot @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_multi_store +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.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: account_multi_store +#: model:ir.model,name:account_multi_store.model_account_invoice +msgid "Invoice" +msgstr "" + +#. module: account_multi_store +#: model:ir.model,name:account_multi_store.model_account_journal +msgid "Journal" +msgstr "" + +#. module: account_multi_store +#: model:ir.model,name:account_multi_store.model_account_move +msgid "Journal Entries" +msgstr "" + +#. module: account_multi_store +#: model:ir.model,name:account_multi_store.model_account_move_line +msgid "Journal Item" +msgstr "" + +#. module: account_multi_store +#: model:ir.model,name:account_multi_store.model_account_payment +msgid "Payments" +msgstr "" + +#. module: account_multi_store +#: model_terms:ir.ui.view,arch_db:account_multi_store.view_account_invoice_filter +#: model_terms:ir.ui.view,arch_db:account_multi_store.view_account_journal_search +#: model_terms:ir.ui.view,arch_db:account_multi_store.view_account_move_filter +#: model_terms:ir.ui.view,arch_db:account_multi_store.view_account_move_line_filter +#: model_terms:ir.ui.view,arch_db:account_multi_store.view_account_payment_search +msgid "Store" +msgstr "" + +#. module: account_multi_store +#: model:ir.model,name:account_multi_store.model_res_store +msgid "Stores" +msgstr "" + diff --git a/account_multi_store/i18n/es.po b/account_multi_store/i18n/es.po index eab76a2..cd9c467 100644 --- a/account_multi_store/i18n/es.po +++ b/account_multi_store/i18n/es.po @@ -1,11 +1,11 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_multi_store -# +# # Translators: # Juan José Scarafía , 2019 # Federico La Torre <3doeste@gmail.com>, 2019 -# +# msgid "" msgstr "" "Project-Id-Version: Odoo Server 12.0\n" @@ -14,10 +14,10 @@ msgstr "" "PO-Revision-Date: 2019-09-02 23:45+0000\n" "Last-Translator: Federico La Torre <3doeste@gmail.com>, 2019\n" "Language-Team: Spanish (https://www.transifex.com/adhoc/teams/46451/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: account_multi_store @@ -40,28 +40,12 @@ msgstr "Entradas de Diario" msgid "Journal Item" msgstr "Apunte Contable" -#. module: account_multi_store -#: model:ir.model.fields,field_description:account_multi_store.field_res_store__journal_ids -#: model_terms:ir.ui.view,arch_db:account_multi_store.view_res_store_form -msgid "Journals" -msgstr "Diarios" - -#. module: account_multi_store -#: model:ir.model.fields,field_description:account_multi_store.field_res_store__journals_count -msgid "Journals Count" -msgstr "Recuento de Diarios" - #. module: account_multi_store #: model:ir.model,name:account_multi_store.model_account_payment msgid "Payments" msgstr "Pagos" #. module: account_multi_store -#: model:ir.model.fields,field_description:account_multi_store.field_account_invoice__store_id -#: model:ir.model.fields,field_description:account_multi_store.field_account_journal__store_id -#: model:ir.model.fields,field_description:account_multi_store.field_account_move__store_id -#: model:ir.model.fields,field_description:account_multi_store.field_account_move_line__store_id -#: model:ir.model.fields,field_description:account_multi_store.field_account_payment__store_id #: model_terms:ir.ui.view,arch_db:account_multi_store.view_account_invoice_filter #: model_terms:ir.ui.view,arch_db:account_multi_store.view_account_journal_search #: model_terms:ir.ui.view,arch_db:account_multi_store.view_account_move_filter @@ -70,21 +54,22 @@ msgstr "Pagos" msgid "Store" msgstr "Sucursal" -#. module: account_multi_store -#: model:ir.model.fields,help:account_multi_store.field_account_invoice__store_id -#: model:ir.model.fields,help:account_multi_store.field_account_journal__store_id -#: model:ir.model.fields,help:account_multi_store.field_account_move__store_id -#: model:ir.model.fields,help:account_multi_store.field_account_move_line__store_id -#: model:ir.model.fields,help:account_multi_store.field_account_payment__store_id -msgid "" -"Store used for data analysys and also users that are not of this store, can " -"only see this journal records but can not post or modify any entry on them." -msgstr "" -"Almacén utilizado para el análisis de datos y también los usuarios que no " -"son de esta sucursal, sólo puede ver este diario pero no puede publicar o " -"modificar una entrada en ellos." - #. module: account_multi_store #: model:ir.model,name:account_multi_store.model_res_store msgid "Stores" msgstr "Sucursales" + +#~ msgid "Journals" +#~ msgstr "Diarios" + +#~ msgid "Journals Count" +#~ msgstr "Recuento de Diarios" + +#~ msgid "" +#~ "Store used for data analysys and also users that are not of this store, " +#~ "can only see this journal records but can not post or modify any entry " +#~ "on them." +#~ msgstr "" +#~ "Almacén utilizado para el análisis de datos y también los usuarios que no " +#~ "son de esta sucursal, sólo puede ver este diario pero no puede publicar o " +#~ "modificar una entrada en ellos." diff --git a/account_multi_store/i18n/it.po b/account_multi_store/i18n/it.po new file mode 100644 index 0000000..448d42d --- /dev/null +++ b/account_multi_store/i18n/it.po @@ -0,0 +1,38 @@ +#. module: account_multi_store +#: model:ir.model,name:account_multi_store.model_account_invoice +msgid "Invoice" +msgstr "Fattura" + +#. module: account_multi_store +#: model:ir.model,name:account_multi_store.model_account_journal +msgid "Journal" +msgstr "Registro" + +#. module: account_multi_store +#: model:ir.model,name:account_multi_store.model_account_move +msgid "Journal Entries" +msgstr "Registrazioni contabili" + +#. module: account_multi_store +#: model:ir.model,name:account_multi_store.model_account_move_line +msgid "Journal Item" +msgstr "Movimento contabile" + +#. module: account_multi_store +#: model:ir.model,name:account_multi_store.model_account_payment +msgid "Payments" +msgstr "Pagamenti" + +#. module: account_multi_store +#: model_terms:ir.ui.view,arch_db:account_multi_store.view_account_invoice_filter +#: model_terms:ir.ui.view,arch_db:account_multi_store.view_account_journal_search +#: model_terms:ir.ui.view,arch_db:account_multi_store.view_account_move_filter +#: model_terms:ir.ui.view,arch_db:account_multi_store.view_account_move_line_filter +#: model_terms:ir.ui.view,arch_db:account_multi_store.view_account_payment_search +msgid "Store" +msgstr "Negozio" + +#. module: account_multi_store +#: model:ir.model,name:account_multi_store.model_res_store +msgid "Stores" +msgstr "Negozi" diff --git a/account_multi_store/i18n/ru.po b/account_multi_store/i18n/ru.po index 2bed1cf..8f371f8 100644 --- a/account_multi_store/i18n/ru.po +++ b/account_multi_store/i18n/ru.po @@ -1,10 +1,10 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_multi_store -# +# # Translators: # Juan José Scarafía , 2019 -# +# msgid "" msgstr "" "Project-Id-Version: Odoo Server 12.0\n" @@ -13,11 +13,13 @@ msgstr "" "PO-Revision-Date: 2019-09-02 23:45+0000\n" "Last-Translator: Juan José Scarafía , 2019\n" "Language-Team: Russian (https://www.transifex.com/adhoc/teams/46451/ru/)\n" +"Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \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" +"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: account_multi_store #: model:ir.model,name:account_multi_store.model_account_invoice @@ -39,28 +41,12 @@ msgstr "" msgid "Journal Item" msgstr "Элемент журнала" -#. module: account_multi_store -#: model:ir.model.fields,field_description:account_multi_store.field_res_store__journal_ids -#: model_terms:ir.ui.view,arch_db:account_multi_store.view_res_store_form -msgid "Journals" -msgstr "Журналы" - -#. module: account_multi_store -#: model:ir.model.fields,field_description:account_multi_store.field_res_store__journals_count -msgid "Journals Count" -msgstr "" - #. module: account_multi_store #: model:ir.model,name:account_multi_store.model_account_payment msgid "Payments" msgstr "Платежи" #. module: account_multi_store -#: model:ir.model.fields,field_description:account_multi_store.field_account_invoice__store_id -#: model:ir.model.fields,field_description:account_multi_store.field_account_journal__store_id -#: model:ir.model.fields,field_description:account_multi_store.field_account_move__store_id -#: model:ir.model.fields,field_description:account_multi_store.field_account_move_line__store_id -#: model:ir.model.fields,field_description:account_multi_store.field_account_payment__store_id #: model_terms:ir.ui.view,arch_db:account_multi_store.view_account_invoice_filter #: model_terms:ir.ui.view,arch_db:account_multi_store.view_account_journal_search #: model_terms:ir.ui.view,arch_db:account_multi_store.view_account_move_filter @@ -69,21 +55,19 @@ msgstr "Платежи" msgid "Store" msgstr "Магазин" -#. module: account_multi_store -#: model:ir.model.fields,help:account_multi_store.field_account_invoice__store_id -#: model:ir.model.fields,help:account_multi_store.field_account_journal__store_id -#: model:ir.model.fields,help:account_multi_store.field_account_move__store_id -#: model:ir.model.fields,help:account_multi_store.field_account_move_line__store_id -#: model:ir.model.fields,help:account_multi_store.field_account_payment__store_id -msgid "" -"Store used for data analysys and also users that are not of this store, can " -"only see this journal records but can not post or modify any entry on them." -msgstr "" -"Магазин используется для анализа данных, а также пользователей, которые не " -"из этого магазина, видят только эти журналы записей, но не могут размещать " -"или изменять какие-либо записи" - #. module: account_multi_store #: model:ir.model,name:account_multi_store.model_res_store msgid "Stores" msgstr "Магазины" + +#~ msgid "Journals" +#~ msgstr "Журналы" + +#~ msgid "" +#~ "Store used for data analysys and also users that are not of this store, " +#~ "can only see this journal records but can not post or modify any entry " +#~ "on them." +#~ msgstr "" +#~ "Магазин используется для анализа данных, а также пользователей, которые " +#~ "не из этого магазина, видят только эти журналы записей, но не могут " +#~ "размещать или изменять какие-либо записи" diff --git a/base_multi_store/i18n/base_multi_store.pot b/base_multi_store/i18n/base_multi_store.pot new file mode 100644 index 0000000..a586105 --- /dev/null +++ b/base_multi_store/i18n/base_multi_store.pot @@ -0,0 +1,66 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_multi_store +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.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: base_multi_store +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_store_users_form +msgid "Allowed Stores" +msgstr "" + +#. module: base_multi_store +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_form +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_search +msgid "Company" +msgstr "" + +#. module: base_multi_store +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_store_users_form +msgid "Current Store" +msgstr "" + +#. module: base_multi_store +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_search +msgid "Group By..." +msgstr "" + +#. module: base_multi_store +#: model:res.groups,name:base_multi_store.group_multi_store +msgid "Multi Stores" +msgstr "" + +#. module: base_multi_store +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_form +msgid "Name" +msgstr "" + +#. module: base_multi_store +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_form +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_search +msgid "Parent Store" +msgstr "" + +#. module: base_multi_store +#: model:ir.actions.act_window,name:base_multi_store.action_store +#: model:ir.model,name:base_multi_store.model_res_store +#: model:ir.ui.menu,name:base_multi_store.menu_action_res_store +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_search +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_tree +msgid "Stores" +msgstr "" + +#. module: base_multi_store +#: model:ir.model,name:base_multi_store.model_res_users +msgid "Users" +msgstr "" + diff --git a/base_multi_store/i18n/es.po b/base_multi_store/i18n/es.po index 0a5a3b0..ae106fb 100644 --- a/base_multi_store/i18n/es.po +++ b/base_multi_store/i18n/es.po @@ -1,10 +1,10 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_multi_store -# +# # Translators: # Juan José Scarafía , 2019 -# +# msgid "" msgstr "" "Project-Id-Version: Odoo Server 12.0\n" @@ -13,10 +13,10 @@ msgstr "" "PO-Revision-Date: 2019-09-02 23:46+0000\n" "Last-Translator: Juan José Scarafía , 2019\n" "Language-Team: Spanish (https://www.transifex.com/adhoc/teams/46451/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: base_multi_store @@ -25,68 +25,20 @@ msgid "Allowed Stores" msgstr "Sucursales Permitidas" #. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__child_ids -msgid "Child Stores" -msgstr "Sucursales hijas" - -#. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__company_id #: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_form +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_search msgid "Company" msgstr "Compañía" -#. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__create_uid -msgid "Created by" -msgstr "Creado por" - -#. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__create_date -msgid "Created on" -msgstr "Created on" - #. module: base_multi_store #: model_terms:ir.ui.view,arch_db:base_multi_store.view_store_users_form msgid "Current Store" msgstr "Sucursal Actual" #. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__display_name -msgid "Display Name" -msgstr "Nombre mostrado" - -#. module: base_multi_store -#: code:addons/base_multi_store/models/res_store.py:53 -#, python-format -msgid "Error! You can not create recursive stores." -msgstr "¡Error! No puede crear sucursales recursivas." - -#. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__id -msgid "ID" -msgstr "ID" - -#. module: base_multi_store -#: model:ir.model.fields,help:base_multi_store.field_res_store__company_id -msgid "If specified, this store will be only available on selected company" +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_search +msgid "Group By..." msgstr "" -"Si se especifica, esta sucursal sólo estará disponible en la empresa " -"seleccionada" - -#. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store____last_update -msgid "Last Modified on" -msgstr "Última modificación en" - -#. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__write_uid -msgid "Last Updated by" -msgstr "Última actualización de" - -#. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__write_date -msgid "Last Updated on" -msgstr "Última Actualización el" #. module: base_multi_store #: model:res.groups,name:base_multi_store.group_multi_store @@ -94,47 +46,71 @@ msgid "Multi Stores" msgstr "Multi Sucursales" #. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__name #: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_form msgid "Name" msgstr "Nombre" #. module: base_multi_store #: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_form -msgid "Parent" -msgstr "Padre" - -#. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__parent_id +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_search msgid "Parent Store" msgstr "Sucursal Padre" -#. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_users__store_id -msgid "Store" -msgstr "Sucursal" - #. module: base_multi_store #: model:ir.actions.act_window,name:base_multi_store.action_store #: model:ir.model,name:base_multi_store.model_res_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_users__store_ids #: model:ir.ui.menu,name:base_multi_store.menu_action_res_store +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_search #: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_tree msgid "Stores" msgstr "Sucursales" -#. module: base_multi_store -#: sql_constraint:res.store:0 -msgid "The store name must be unique per company!" -msgstr "¡El nombre de la sucursal debe ser único por empresa!" - -#. module: base_multi_store -#: model:ir.model.fields,help:base_multi_store.field_res_users__store_id -msgid "The store this user is currently working for." -msgstr "La sucursal en la que este usuario está trabajando actualmente." - #. module: base_multi_store #: model:ir.model,name:base_multi_store.model_res_users -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__user_ids msgid "Users" msgstr "Usuarios" + +#~ msgid "Child Stores" +#~ msgstr "Sucursales hijas" + +#~ msgid "Created by" +#~ msgstr "Creado por" + +#~ msgid "Created on" +#~ msgstr "Created on" + +#~ msgid "Display Name" +#~ msgstr "Nombre mostrado" + +#, python-format +#~ msgid "Error! You can not create recursive stores." +#~ msgstr "¡Error! No puede crear sucursales recursivas." + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "If specified, this store will be only available on selected company" +#~ msgstr "" +#~ "Si se especifica, esta sucursal sólo estará disponible en la empresa " +#~ "seleccionada" + +#~ msgid "Last Modified on" +#~ msgstr "Última modificación en" + +#~ msgid "Last Updated by" +#~ msgstr "Última actualización de" + +#~ msgid "Last Updated on" +#~ msgstr "Última Actualización el" + +#~ msgid "Parent" +#~ msgstr "Padre" + +#~ msgid "Store" +#~ msgstr "Sucursal" + +#~ msgid "The store name must be unique per company!" +#~ msgstr "¡El nombre de la sucursal debe ser único por empresa!" + +#~ msgid "The store this user is currently working for." +#~ msgstr "La sucursal en la que este usuario está trabajando actualmente." diff --git a/base_multi_store/i18n/it.po b/base_multi_store/i18n/it.po new file mode 100644 index 0000000..c0164e5 --- /dev/null +++ b/base_multi_store/i18n/it.po @@ -0,0 +1,50 @@ +#. module: base_multi_store +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_store_users_form +msgid "Allowed Stores" +msgstr "Negozi abilitati" + +#. module: base_multi_store +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_form +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_search +msgid "Company" +msgstr "Azienda" + +#. module: base_multi_store +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_store_users_form +msgid "Current Store" +msgstr "Negozio attuale" + +#. module: base_multi_store +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_search +msgid "Group By..." +msgstr "Raggruppa per" + +#. module: base_multi_store +#: model:res.groups,name:base_multi_store.group_multi_store +msgid "Multi Stores" +msgstr "Multi negozio" + +#. module: base_multi_store +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_form +msgid "Name" +msgstr "Nome" + +#. module: base_multi_store +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_form +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_search +msgid "Parent Store" +msgstr "Negozio genitore" + +#. module: base_multi_store +#: model:ir.actions.act_window,name:base_multi_store.action_store +#: model:ir.model,name:base_multi_store.model_res_store +#: model:ir.ui.menu,name:base_multi_store.menu_action_res_store +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_search +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_tree +msgid "Stores" +msgstr "Negozi" + +#. module: base_multi_store +#: model:ir.model,name:base_multi_store.model_res_users +msgid "Users" +msgstr "Utenti" diff --git a/base_multi_store/i18n/ru.po b/base_multi_store/i18n/ru.po index abbb0db..45503c9 100644 --- a/base_multi_store/i18n/ru.po +++ b/base_multi_store/i18n/ru.po @@ -1,10 +1,10 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_multi_store -# +# # Translators: # Juan José Scarafía , 2019 -# +# msgid "" msgstr "" "Project-Id-Version: Odoo Server 12.0\n" @@ -13,11 +13,13 @@ msgstr "" "PO-Revision-Date: 2019-09-02 23:46+0000\n" "Last-Translator: Juan José Scarafía , 2019\n" "Language-Team: Russian (https://www.transifex.com/adhoc/teams/46451/ru/)\n" +"Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \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" +"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: base_multi_store #: model_terms:ir.ui.view,arch_db:base_multi_store.view_store_users_form @@ -25,65 +27,19 @@ msgid "Allowed Stores" msgstr "" #. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__child_ids -msgid "Child Stores" -msgstr "" - -#. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__company_id #: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_form +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_search msgid "Company" msgstr "" -#. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__create_uid -msgid "Created by" -msgstr "" - -#. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__create_date -msgid "Created on" -msgstr "" - #. module: base_multi_store #: model_terms:ir.ui.view,arch_db:base_multi_store.view_store_users_form msgid "Current Store" msgstr "" #. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__display_name -msgid "Display Name" -msgstr "" - -#. module: base_multi_store -#: code:addons/base_multi_store/models/res_store.py:53 -#, python-format -msgid "Error! You can not create recursive stores." -msgstr "" - -#. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__id -msgid "ID" -msgstr "" - -#. module: base_multi_store -#: model:ir.model.fields,help:base_multi_store.field_res_store__company_id -msgid "If specified, this store will be only available on selected company" -msgstr "" - -#. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store____last_update -msgid "Last Modified on" -msgstr "" - -#. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__write_uid -msgid "Last Updated by" -msgstr "" - -#. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__write_date -msgid "Last Updated on" +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_search +msgid "Group By..." msgstr "" #. module: base_multi_store @@ -92,47 +48,29 @@ msgid "Multi Stores" msgstr "" #. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__name #: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_form msgid "Name" msgstr "" #. module: base_multi_store #: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_form -msgid "Parent" -msgstr "" - -#. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__parent_id +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_search msgid "Parent Store" msgstr "" -#. module: base_multi_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_users__store_id -msgid "Store" -msgstr "Магазин" - #. module: base_multi_store #: model:ir.actions.act_window,name:base_multi_store.action_store #: model:ir.model,name:base_multi_store.model_res_store -#: model:ir.model.fields,field_description:base_multi_store.field_res_users__store_ids #: model:ir.ui.menu,name:base_multi_store.menu_action_res_store +#: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_search #: model_terms:ir.ui.view,arch_db:base_multi_store.view_res_store_tree msgid "Stores" msgstr "Магазины" -#. module: base_multi_store -#: sql_constraint:res.store:0 -msgid "The store name must be unique per company!" -msgstr "" - -#. module: base_multi_store -#: model:ir.model.fields,help:base_multi_store.field_res_users__store_id -msgid "The store this user is currently working for." -msgstr "" - #. module: base_multi_store #: model:ir.model,name:base_multi_store.model_res_users -#: model:ir.model.fields,field_description:base_multi_store.field_res_store__user_ids msgid "Users" msgstr "" + +#~ msgid "Store" +#~ msgstr "Магазин" diff --git a/base_multi_store/views/res_store_view.xml b/base_multi_store/views/res_store_view.xml index 5917ee8..212c762 100644 --- a/base_multi_store/views/res_store_view.xml +++ b/base_multi_store/views/res_store_view.xml @@ -53,6 +53,7 @@ + diff --git a/purchase_multi_store/i18n/es.po b/purchase_multi_store/i18n/es.po index ad656a0..25a5f2e 100644 --- a/purchase_multi_store/i18n/es.po +++ b/purchase_multi_store/i18n/es.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * purchase_multi_store -# +# # Translators: # Nicolas Mac Rouillon , 2017 # Juan José Scarafía , 2017 @@ -13,10 +13,10 @@ msgstr "" "PO-Revision-Date: 2017-02-20 20:04+0000\n" "Last-Translator: Juan José Scarafía , 2017\n" "Language-Team: Spanish (https://www.transifex.com/adhoc/teams/46451/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: purchase_multi_store @@ -25,18 +25,15 @@ msgid "Purchase Order" msgstr "Orden de compra" #. module: purchase_multi_store -#: model:ir.model.fields,field_description:purchase_multi_store.field_purchase_order_store_id -#: model:ir.ui.view,arch_db:purchase_multi_store.view_purchase_order_filter +#: model_terms:ir.ui.view,arch_db:purchase_multi_store.view_purchase_order_filter msgid "Store" msgstr "Sucursal" -#. module: purchase_multi_store -#: model:ir.model.fields,help:purchase_multi_store.field_purchase_order_store_id -msgid "" -"Store used for data analysys and also users that are not of this store, can " -"only see this warehouse records but can not post or modify any record " -"related to them." -msgstr "" -"Almacén utilizado para el análisis de datos y también los usuarios que no " -"son de esta sucursal, sólo puede ver los registros de este almacén, pero no " -"puede publicar o modificar cualquier registro relacionado con ellos." +#~ msgid "" +#~ "Store used for data analysys and also users that are not of this store, " +#~ "can only see this warehouse records but can not post or modify any record " +#~ "related to them." +#~ msgstr "" +#~ "Almacén utilizado para el análisis de datos y también los usuarios que no " +#~ "son de esta sucursal, sólo puede ver los registros de este almacén, pero " +#~ "no puede publicar o modificar cualquier registro relacionado con ellos." diff --git a/purchase_multi_store/i18n/it.po b/purchase_multi_store/i18n/it.po new file mode 100644 index 0000000..05e9601 --- /dev/null +++ b/purchase_multi_store/i18n/it.po @@ -0,0 +1,9 @@ +#. module: purchase_multi_store +#: model:ir.model,name:purchase_multi_store.model_purchase_order +msgid "Purchase Order" +msgstr "Ordine di acquisto" + +#. module: purchase_multi_store +#: model_terms:ir.ui.view,arch_db:purchase_multi_store.view_purchase_order_filter +msgid "Store" +msgstr "Negozio" diff --git a/purchase_multi_store/i18n/purchase_multi_store.pot b/purchase_multi_store/i18n/purchase_multi_store.pot new file mode 100644 index 0000000..f06c08e --- /dev/null +++ b/purchase_multi_store/i18n/purchase_multi_store.pot @@ -0,0 +1,25 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * purchase_multi_store +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.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: purchase_multi_store +#: model:ir.model,name:purchase_multi_store.model_purchase_order +msgid "Purchase Order" +msgstr "" + +#. module: purchase_multi_store +#: model_terms:ir.ui.view,arch_db:purchase_multi_store.view_purchase_order_filter +msgid "Store" +msgstr "" + diff --git a/purchase_multi_store/i18n/ru.po b/purchase_multi_store/i18n/ru.po index 76280ae..8ede979 100644 --- a/purchase_multi_store/i18n/ru.po +++ b/purchase_multi_store/i18n/ru.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * purchase_multi_store -# +# # Translators: # Nikolai Buzovskiy , 2017 msgid "" @@ -12,11 +12,13 @@ msgstr "" "PO-Revision-Date: 2017-02-20 20:04+0000\n" "Last-Translator: Nikolai Buzovskiy , 2017\n" "Language-Team: Russian (https://www.transifex.com/adhoc/teams/46451/ru/)\n" +"Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \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" +"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: purchase_multi_store #: model:ir.model,name:purchase_multi_store.model_purchase_order @@ -24,15 +26,6 @@ msgid "Purchase Order" msgstr "" #. module: purchase_multi_store -#: model:ir.model.fields,field_description:purchase_multi_store.field_purchase_order_store_id -#: model:ir.ui.view,arch_db:purchase_multi_store.view_purchase_order_filter +#: model_terms:ir.ui.view,arch_db:purchase_multi_store.view_purchase_order_filter msgid "Store" msgstr "Магазин" - -#. module: purchase_multi_store -#: model:ir.model.fields,help:purchase_multi_store.field_purchase_order_store_id -msgid "" -"Store used for data analysys and also users that are not of this store, can " -"only see this warehouse records but can not post or modify any record " -"related to them." -msgstr "" diff --git a/purchase_multi_store/views/purchase_order_views.xml b/purchase_multi_store/views/purchase_order_views.xml index 1018236..26f170b 100644 --- a/purchase_multi_store/views/purchase_order_views.xml +++ b/purchase_multi_store/views/purchase_order_views.xml @@ -10,7 +10,7 @@ - + diff --git a/sale_multi_store/i18n/es.po b/sale_multi_store/i18n/es.po index 865b84c..efe8d68 100644 --- a/sale_multi_store/i18n/es.po +++ b/sale_multi_store/i18n/es.po @@ -1,10 +1,10 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_multi_store -# +# # Translators: # Juan José Scarafía , 2019 -# +# msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" @@ -13,30 +13,30 @@ msgstr "" "PO-Revision-Date: 2018-09-11 22:02+0000\n" "Last-Translator: Juan José Scarafía , 2019\n" "Language-Team: Spanish (https://www.transifex.com/adhoc/teams/46451/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: sale_multi_store #: model:ir.model,name:sale_multi_store.model_sale_order -msgid "Quotation" -msgstr "Presupuesto" +msgid "Sale Order" +msgstr "" #. module: sale_multi_store -#: model:ir.model.fields,field_description:sale_multi_store.field_sale_order_store_id -#: model:ir.ui.view,arch_db:sale_multi_store.view_sales_order_filter +#: model_terms:ir.ui.view,arch_db:sale_multi_store.view_sales_order_filter msgid "Store" msgstr "Sucursal" -#. module: sale_multi_store -#: model:ir.model.fields,help:sale_multi_store.field_sale_order_store_id -msgid "" -"Store used for data analysys and also users that are not of this store, can " -"only see this warehouse records but can not post or modify any record " -"related to them." -msgstr "" -"Almacén utilizado para el análisis de datos y también los usuarios que no " -"son de esta sucursal, sólo puede ver los registros de este almacén, pero no " -"puede publicar o modificar cualquier registro relacionado con ellos." +#~ msgid "Quotation" +#~ msgstr "Presupuesto" + +#~ msgid "" +#~ "Store used for data analysys and also users that are not of this store, " +#~ "can only see this warehouse records but can not post or modify any record " +#~ "related to them." +#~ msgstr "" +#~ "Almacén utilizado para el análisis de datos y también los usuarios que no " +#~ "son de esta sucursal, sólo puede ver los registros de este almacén, pero " +#~ "no puede publicar o modificar cualquier registro relacionado con ellos." diff --git a/sale_multi_store/i18n/it.po b/sale_multi_store/i18n/it.po new file mode 100644 index 0000000..da924ea --- /dev/null +++ b/sale_multi_store/i18n/it.po @@ -0,0 +1,9 @@ +#. module: sale_multi_store +#: model:ir.model,name:sale_multi_store.model_sale_order +msgid "Sale Order" +msgstr "Ordine di vendita" + +#. module: sale_multi_store +#: model_terms:ir.ui.view,arch_db:sale_multi_store.view_sales_order_filter +msgid "Store" +msgstr "Negozio" diff --git a/sale_multi_store/i18n/ru.po b/sale_multi_store/i18n/ru.po index 7e09e74..55849c4 100644 --- a/sale_multi_store/i18n/ru.po +++ b/sale_multi_store/i18n/ru.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * sale_multi_store -# +# # Translators: # Juan José Scarafía , 2018 msgid "" @@ -12,27 +12,20 @@ msgstr "" "PO-Revision-Date: 2018-09-11 22:01+0000\n" "Last-Translator: Juan José Scarafía , 2018\n" "Language-Team: Russian (https://www.transifex.com/adhoc/teams/46451/ru/)\n" +"Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \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" +"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: sale_multi_store #: model:ir.model,name:sale_multi_store.model_sale_order -msgid "Quotation" +msgid "Sale Order" msgstr "" #. module: sale_multi_store -#: model:ir.model.fields,field_description:sale_multi_store.field_sale_order_store_id -#: model:ir.ui.view,arch_db:sale_multi_store.view_sales_order_filter +#: model_terms:ir.ui.view,arch_db:sale_multi_store.view_sales_order_filter msgid "Store" msgstr "Магазин" - -#. module: sale_multi_store -#: model:ir.model.fields,help:sale_multi_store.field_sale_order_store_id -msgid "" -"Store used for data analysys and also users that are not of this store, can " -"only see this warehouse records but can not post or modify any record " -"related to them." -msgstr "" diff --git a/sale_multi_store/i18n/sale_multi_store.pot b/sale_multi_store/i18n/sale_multi_store.pot new file mode 100644 index 0000000..711504f --- /dev/null +++ b/sale_multi_store/i18n/sale_multi_store.pot @@ -0,0 +1,25 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_multi_store +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.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: sale_multi_store +#: model:ir.model,name:sale_multi_store.model_sale_order +msgid "Sale Order" +msgstr "" + +#. module: sale_multi_store +#: model_terms:ir.ui.view,arch_db:sale_multi_store.view_sales_order_filter +msgid "Store" +msgstr "" + diff --git a/sale_multi_store/views/sale_order_view.xml b/sale_multi_store/views/sale_order_view.xml index 2ed43ce..cf15757 100644 --- a/sale_multi_store/views/sale_order_view.xml +++ b/sale_multi_store/views/sale_order_view.xml @@ -11,7 +11,7 @@ - +
diff --git a/stock_multi_store/i18n/es.po b/stock_multi_store/i18n/es.po index bd3e298..d98add0 100644 --- a/stock_multi_store/i18n/es.po +++ b/stock_multi_store/i18n/es.po @@ -1,11 +1,11 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_multi_store -# +# # Translators: # Juan José Scarafía , 2019 # Federico La Torre <3doeste@gmail.com>, 2019 -# +# msgid "" msgstr "" "Project-Id-Version: Odoo Server 12.0\n" @@ -14,10 +14,10 @@ msgstr "" "PO-Revision-Date: 2019-09-02 23:46+0000\n" "Last-Translator: Federico La Torre <3doeste@gmail.com>, 2019\n" "Language-Team: Spanish (https://www.transifex.com/adhoc/teams/46451/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: stock_multi_store @@ -26,31 +26,10 @@ msgid "Picking Type" msgstr "" #. module: stock_multi_store -#: model_terms:ir.ui.view,arch_db:stock_multi_store.view_stock_warehouse_search -msgid "Search Stock_Warehouse" -msgstr "Search Stock_Warehouse" - -#. module: stock_multi_store -#: model:ir.model.fields,field_description:stock_multi_store.field_stock_picking__store_id -#: model:ir.model.fields,field_description:stock_multi_store.field_stock_picking_type__store_id -#: model:ir.model.fields,field_description:stock_multi_store.field_stock_warehouse__store_id #: model_terms:ir.ui.view,arch_db:stock_multi_store.view_picking_internal_search msgid "Store" msgstr "Sucursal" -#. module: stock_multi_store -#: model:ir.model.fields,help:stock_multi_store.field_stock_picking__store_id -#: model:ir.model.fields,help:stock_multi_store.field_stock_picking_type__store_id -#: model:ir.model.fields,help:stock_multi_store.field_stock_warehouse__store_id -msgid "" -"Store used for data analysys and also users that are not of this store, can " -"only see this warehouse records but can not post or modify any record " -"related to them." -msgstr "" -"Almacén utilizado para el análisis de datos y también los usuarios que no " -"son de esta sucursal, sólo puede ver los registros de este almacén, pero no " -"puede publicar o modificar cualquier registro relacionado con ellos." - #. module: stock_multi_store #: model:ir.model,name:stock_multi_store.model_res_store msgid "Stores" @@ -66,13 +45,20 @@ msgstr "Transferir" msgid "Warehouse" msgstr "Almacén" -#. module: stock_multi_store -#: model:ir.model.fields,field_description:stock_multi_store.field_res_store__warehouse_ids -#: model_terms:ir.ui.view,arch_db:stock_multi_store.view_res_store_form -msgid "Warehouses" -msgstr "Almacenes" +#~ msgid "Search Stock_Warehouse" +#~ msgstr "Search Stock_Warehouse" -#. module: stock_multi_store -#: model:ir.model.fields,field_description:stock_multi_store.field_res_store__warehouses_count -msgid "Warehouses Count" -msgstr "Recuento de Depósitos" +#~ msgid "" +#~ "Store used for data analysys and also users that are not of this store, " +#~ "can only see this warehouse records but can not post or modify any record " +#~ "related to them." +#~ msgstr "" +#~ "Almacén utilizado para el análisis de datos y también los usuarios que no " +#~ "son de esta sucursal, sólo puede ver los registros de este almacén, pero " +#~ "no puede publicar o modificar cualquier registro relacionado con ellos." + +#~ msgid "Warehouses" +#~ msgstr "Almacenes" + +#~ msgid "Warehouses Count" +#~ msgstr "Recuento de Depósitos" diff --git a/stock_multi_store/i18n/it.po b/stock_multi_store/i18n/it.po new file mode 100644 index 0000000..b447f6d --- /dev/null +++ b/stock_multi_store/i18n/it.po @@ -0,0 +1,24 @@ +#. module: stock_multi_store +#: model:ir.model,name:stock_multi_store.model_stock_picking_type +msgid "Picking Type" +msgstr "Tipo di prelievo" + +#. module: stock_multi_store +#: model_terms:ir.ui.view,arch_db:stock_multi_store.view_picking_internal_search +msgid "Store" +msgstr "Negozio" + +#. module: stock_multi_store +#: model:ir.model,name:stock_multi_store.model_res_store +msgid "Stores" +msgstr "Negozi" + +#. module: stock_multi_store +#: model:ir.model,name:stock_multi_store.model_stock_picking +msgid "Transfer" +msgstr "Trasferimento" + +#. module: stock_multi_store +#: model:ir.model,name:stock_multi_store.model_stock_warehouse +msgid "Warehouse" +msgstr "Magazzino" diff --git a/stock_multi_store/i18n/ru.po b/stock_multi_store/i18n/ru.po index 2ffeed1..70563cc 100644 --- a/stock_multi_store/i18n/ru.po +++ b/stock_multi_store/i18n/ru.po @@ -1,10 +1,10 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * stock_multi_store -# +# # Translators: # Juan José Scarafía , 2019 -# +# msgid "" msgstr "" "Project-Id-Version: Odoo Server 12.0\n" @@ -13,11 +13,13 @@ msgstr "" "PO-Revision-Date: 2019-09-02 23:46+0000\n" "Last-Translator: Juan José Scarafía , 2019\n" "Language-Team: Russian (https://www.transifex.com/adhoc/teams/46451/ru/)\n" +"Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \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" +"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: stock_multi_store #: model:ir.model,name:stock_multi_store.model_stock_picking_type @@ -25,28 +27,10 @@ msgid "Picking Type" msgstr "" #. module: stock_multi_store -#: model_terms:ir.ui.view,arch_db:stock_multi_store.view_stock_warehouse_search -msgid "Search Stock_Warehouse" -msgstr "" - -#. module: stock_multi_store -#: model:ir.model.fields,field_description:stock_multi_store.field_stock_picking__store_id -#: model:ir.model.fields,field_description:stock_multi_store.field_stock_picking_type__store_id -#: model:ir.model.fields,field_description:stock_multi_store.field_stock_warehouse__store_id #: model_terms:ir.ui.view,arch_db:stock_multi_store.view_picking_internal_search msgid "Store" msgstr "Магазин" -#. module: stock_multi_store -#: model:ir.model.fields,help:stock_multi_store.field_stock_picking__store_id -#: model:ir.model.fields,help:stock_multi_store.field_stock_picking_type__store_id -#: model:ir.model.fields,help:stock_multi_store.field_stock_warehouse__store_id -msgid "" -"Store used for data analysys and also users that are not of this store, can " -"only see this warehouse records but can not post or modify any record " -"related to them." -msgstr "" - #. module: stock_multi_store #: model:ir.model,name:stock_multi_store.model_res_store msgid "Stores" @@ -61,14 +45,3 @@ msgstr "" #: model:ir.model,name:stock_multi_store.model_stock_warehouse msgid "Warehouse" msgstr "" - -#. module: stock_multi_store -#: model:ir.model.fields,field_description:stock_multi_store.field_res_store__warehouse_ids -#: model_terms:ir.ui.view,arch_db:stock_multi_store.view_res_store_form -msgid "Warehouses" -msgstr "" - -#. module: stock_multi_store -#: model:ir.model.fields,field_description:stock_multi_store.field_res_store__warehouses_count -msgid "Warehouses Count" -msgstr "" diff --git a/stock_multi_store/i18n/stock_multi_store.pot b/stock_multi_store/i18n/stock_multi_store.pot new file mode 100644 index 0000000..228b878 --- /dev/null +++ b/stock_multi_store/i18n/stock_multi_store.pot @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_multi_store +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.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: stock_multi_store +#: model:ir.model,name:stock_multi_store.model_stock_picking_type +msgid "Picking Type" +msgstr "" + +#. module: stock_multi_store +#: model_terms:ir.ui.view,arch_db:stock_multi_store.view_picking_internal_search +msgid "Store" +msgstr "" + +#. module: stock_multi_store +#: model:ir.model,name:stock_multi_store.model_res_store +msgid "Stores" +msgstr "" + +#. module: stock_multi_store +#: model:ir.model,name:stock_multi_store.model_stock_picking +msgid "Transfer" +msgstr "" + +#. module: stock_multi_store +#: model:ir.model,name:stock_multi_store.model_stock_warehouse +msgid "Warehouse" +msgstr "" +