Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[12.0][BCK]Multi stores improvements for UX [13.0] #31

Open
wants to merge 2 commits into
base: 12.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion account_multi_store/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,14 @@ Images
Contributors
------------

* Giovanni Serra <[email protected]>


Maintainer
----------

|company_logo|

This module is maintained by the |company|.

To contribute to this module, please visit https://www.adhoc.com.ar.
To contribute to this module, please visit https://www.adhoc.com.ar.
2 changes: 1 addition & 1 deletion account_multi_store/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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': '',
Expand Down
54 changes: 54 additions & 0 deletions account_multi_store/i18n/account_multi_store.pot
Original file line number Diff line number Diff line change
@@ -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 ""

51 changes: 18 additions & 33 deletions account_multi_store/i18n/es.po
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>, 2019
# Federico La Torre <[email protected]>, 2019
#
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
Expand All @@ -14,10 +14,10 @@ msgstr ""
"PO-Revision-Date: 2019-09-02 23:45+0000\n"
"Last-Translator: Federico La Torre <[email protected]>, 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
Expand All @@ -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
Expand All @@ -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."
38 changes: 38 additions & 0 deletions account_multi_store/i18n/it.po
Original file line number Diff line number Diff line change
@@ -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"
52 changes: 18 additions & 34 deletions account_multi_store/i18n/ru.po
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>, 2019
#
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
Expand All @@ -13,11 +13,13 @@ msgstr ""
"PO-Revision-Date: 2019-09-02 23:45+0000\n"
"Last-Translator: Juan José Scarafía <[email protected]>, 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
Expand All @@ -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
Expand All @@ -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 ""
#~ "Магазин используется для анализа данных, а также пользователей, которые "
#~ "не из этого магазина, видят только эти журналы записей, но не могут "
#~ "размещать или изменять какие-либо записи"
21 changes: 8 additions & 13 deletions account_multi_store/views/res_store_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,16 @@
<field name="model">res.store</field>
<field name="inherit_id" ref="base_multi_store.view_res_store_form"/>
<field name="arch" type="xml">
<div name="buttons">
<button
class="oe_inline oe_stat_button"
name="%(account.action_account_journal_form)d"
type="action"
context="{'search_default_store_id': active_id}"
icon="fa-money">
<button name="toggle_active" position="before">
<button class="oe_stat_button" name="%(account.action_account_journal_form)d" type="action" context="{'search_default_store_id': active_id}" icon="fa-money">
<field name="journals_count" widget="statinfo"/>
</button>
</div>
<notebook>
<page string="Journals" name="journals">
<field name="journal_ids"/>
</page>
</notebook>
</button>
<group name="store" position="after">
<group>
<field name="journal_ids" widget="many2many_tags"/>
</group>
</group>
</field>
</record>
</odoo>
3 changes: 3 additions & 0 deletions base_multi_store/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ Images
Contributors
------------

* Giovanni Serra <[email protected]>


Maintainer
----------

Expand Down
2 changes: 1 addition & 1 deletion base_multi_store/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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': '',
Expand Down
Loading