From 93ae6ca2bdb1c6fe4a07483aef0e5b941968dcb5 Mon Sep 17 00:00:00 2001 From: Raf Geens Date: Wed, 16 Sep 2020 16:40:58 +0200 Subject: [PATCH 1/7] [FIX] odoo.sh: Make unidecode description more specific MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The original description says calling unidecode will remove special characters, but this is not entirely accurate. For example, when I inserted unicode emojis in the name, they were not removed. I was then confused whether my module had correctly updated or not. Instead, what unidecode will do is convert text characters to their nearest ASCII equivalent, so "trés" becomes "tres" for example. The description has been updated to reflect that. --- odoo_sh/getting_started/first_module.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo_sh/getting_started/first_module.rst b/odoo_sh/getting_started/first_module.rst index 55d808c3b..131eab6de 100644 --- a/odoo_sh/getting_started/first_module.rst +++ b/odoo_sh/getting_started/first_module.rst @@ -447,7 +447,7 @@ Add unidecode -Then use the library in your module, for instance to remove any special characters in the name field of your +Then use the library in your module, for instance to remove accents from characters in the name field of your model. Open the file *models/models.py*. From f93fb12e6bce55e336f98268950e18d73f4c2164 Mon Sep 17 00:00:00 2001 From: Raf Geens Date: Wed, 16 Sep 2020 16:47:07 +0200 Subject: [PATCH 2/7] [FIX] technical: Sphinx deprecation warnings `add_stylesheet` and `add_javascript` are deprecated and were generating a bunch of warnings, replaced them with `add_css_file` and `add_js_file`. --- conf.py | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/conf.py b/conf.py index 848924ac2..a45f736b9 100644 --- a/conf.py +++ b/conf.py @@ -326,22 +326,22 @@ LANGUAGES = { } def setup(app): - app.add_stylesheet('accounting.css') - app.add_stylesheet('legal.css') - app.add_javascript('prefixfree.min.js') - app.add_javascript('atom.js') - app.add_javascript('immutable.js') - app.add_javascript('react.min.js') - app.add_javascript('accounts.js') - app.add_javascript('chart-of-accounts.js') - app.add_javascript('entries.js') - app.add_javascript('reconciliation.js') - app.add_javascript('misc.js') + app.add_css_file('accounting.css') + app.add_css_file('legal.css') + app.add_js_file('prefixfree.min.js') + app.add_js_file('atom.js') + app.add_js_file('immutable.js') + app.add_js_file('react.min.js') + app.add_js_file('accounts.js') + app.add_js_file('chart-of-accounts.js') + app.add_js_file('entries.js') + app.add_js_file('reconciliation.js') + app.add_js_file('misc.js') - app.add_javascript('inventory.js') - app.add_javascript('coa-valuation.js') - app.add_javascript('coa-valuation-continental.js') - app.add_javascript('coa-valuation-anglo-saxon.js') + app.add_js_file('inventory.js') + app.add_js_file('coa-valuation.js') + app.add_js_file('coa-valuation-continental.js') + app.add_js_file('coa-valuation-anglo-saxon.js') app.connect('html-page-context', canonicalize) app.add_config_value('canonical_root', None, 'env') From 51bc9d0719ed91c524ce5f2118c6f52d35ab6a79 Mon Sep 17 00:00:00 2001 From: Raf Geens Date: Thu, 17 Sep 2020 09:17:39 +0200 Subject: [PATCH 3/7] [FIX] odoo.sh: Use right anchor in link The "Commit & Push your changes" link was referring to the page instead of the corresponding section. --- odoo_sh/getting_started/first_module.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo_sh/getting_started/first_module.rst b/odoo_sh/getting_started/first_module.rst index 131eab6de..bb2482897 100644 --- a/odoo_sh/getting_started/first_module.rst +++ b/odoo_sh/getting_started/first_module.rst @@ -178,7 +178,7 @@ From an Odoo.sh editor terminal: The above command is explained in the section :ref:`Commit & Push your changes -` of the +` of the :ref:`Online Editor ` chapter. It includes the explanation regarding the fact you will be prompted to type your username and password, From 188a876a25b684d2f1868f0a1e4e43e3a0825b46 Mon Sep 17 00:00:00 2001 From: Raf Geens Date: Thu, 17 Sep 2020 09:21:40 +0200 Subject: [PATCH 4/7] [IMP] odoo.sh: Clarify which permissions to grant in a PAT Make explicit which permissions you need to grant in a personal access token. I verified `repo` suffices to complete the tutorial, and I'm assuming Odoo.sh doesn't need any of the admin and site permissions. --- odoo_sh/getting_started/online-editor.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo_sh/getting_started/online-editor.rst b/odoo_sh/getting_started/online-editor.rst index e36ed1a64..50a8564be 100644 --- a/odoo_sh/getting_started/online-editor.rst +++ b/odoo_sh/getting_started/online-editor.rst @@ -133,7 +133,7 @@ In this last command, If you activated the two-factor authentication on Github, you can create a `personal access token `_ - and use it as password. + and use it as password. Granting the `repo` permission suffices. .. Note:: From 21963b82a6bc9ed9d99fe98d6753758b4b711d0b Mon Sep 17 00:00:00 2001 From: Raf Geens Date: Fri, 23 Oct 2020 12:38:50 +0200 Subject: [PATCH 5/7] [IMP] accounting: Warning about currency exchange entries (#773) It's not really obvious that payments and invoices need to be fully reconciled before their currency exchange entries get created, so this is a warning about that. --- accounting/others/multicurrencies/exchange.rst | 4 +++- .../others/multicurrencies/full_reconcile_warning.rst | 7 +++++++ accounting/others/multicurrencies/how_it_works.rst | 2 ++ accounting/others/multicurrencies/invoices_payments.rst | 2 ++ 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 accounting/others/multicurrencies/full_reconcile_warning.rst diff --git a/accounting/others/multicurrencies/exchange.rst b/accounting/others/multicurrencies/exchange.rst index 13a5e945b..5495c18dc 100644 --- a/accounting/others/multicurrencies/exchange.rst +++ b/accounting/others/multicurrencies/exchange.rst @@ -105,6 +105,8 @@ journal entries. All the exchange rates differences are recorded in it. .. tip:: The Exchange difference journal can be changed in your accounting settings. +.. include:: full_reconcile_warning.rst + .. seealso:: * :doc:`../../bank/reconciliation/configure` - * :doc:`../../bank/reconciliation/use_cases` \ No newline at end of file + * :doc:`../../bank/reconciliation/use_cases` diff --git a/accounting/others/multicurrencies/full_reconcile_warning.rst b/accounting/others/multicurrencies/full_reconcile_warning.rst new file mode 100644 index 000000000..e9b79ddc7 --- /dev/null +++ b/accounting/others/multicurrencies/full_reconcile_warning.rst @@ -0,0 +1,7 @@ +.. warning:: + In order for an exchange difference entry to be created automatically, the + corresponding invoices and payments need to be fully reconciled. This means + the invoices are fully paid and the payments are fully spent on invoices. + If you partially pay 3 invoices from 2 payments, and the last invoice still + has an amount due, there will be no exchange difference entry for any of + them until that final amount is paid. diff --git a/accounting/others/multicurrencies/how_it_works.rst b/accounting/others/multicurrencies/how_it_works.rst index 37cedf1df..a8d5bb63a 100644 --- a/accounting/others/multicurrencies/how_it_works.rst +++ b/accounting/others/multicurrencies/how_it_works.rst @@ -165,6 +165,8 @@ journal entries. All the exchange rates differences are recorded in it. .. image:: media/works14.png :align: center +.. include:: full_reconcile_warning.rst + .. seealso:: * :doc:`invoices_payments` diff --git a/accounting/others/multicurrencies/invoices_payments.rst b/accounting/others/multicurrencies/invoices_payments.rst index e659ec84f..7a92db3e9 100644 --- a/accounting/others/multicurrencies/invoices_payments.rst +++ b/accounting/others/multicurrencies/invoices_payments.rst @@ -114,6 +114,8 @@ Difference** journal entries. All the exchange rates differences are recorded in .. image:: media/invoice09.png :align: center +.. include:: full_reconcile_warning.rst + .. seealso:: * :doc:`how_it_works` From 739e538b7a780eafa28fc2e1fa54315680528833 Mon Sep 17 00:00:00 2001 From: Odoo Translation Bot Date: Sun, 25 Oct 2020 02:30:28 +0200 Subject: [PATCH 6/7] [I18N] Update translation terms from Transifex --- locale/de/LC_MESSAGES/accounting.po | 7 ++++--- locale/de/LC_MESSAGES/purchase.po | 5 +++-- locale/es/LC_MESSAGES/accounting.po | 7 ++++--- locale/es/LC_MESSAGES/purchase.po | 11 +++++++---- 4 files changed, 18 insertions(+), 12 deletions(-) diff --git a/locale/de/LC_MESSAGES/accounting.po b/locale/de/LC_MESSAGES/accounting.po index 2a86005c5..d5d5fddea 100644 --- a/locale/de/LC_MESSAGES/accounting.po +++ b/locale/de/LC_MESSAGES/accounting.po @@ -7,7 +7,7 @@ # Thorsten Vocks , 2019 # e2f , 2019 # Philipp Hug , 2019 -# darenkster , 2019 +# f91684c3ff9ec3e650d5c8461e534581_686eae3 <449b96d9f63071f94d89e129677b83de_366193>, 2019 # Johannes Croe , 2019 # Michael Schütt , 2019 # Leon Grill , 2019 @@ -22,6 +22,7 @@ # Ermin Trevisan , 2019 # Florian Pose , 2020 # philku79 , 2020 +# Tobias Arndt, 2020 # #, fuzzy msgid "" @@ -30,7 +31,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-10-03 11:34+0200\n" "PO-Revision-Date: 2018-10-19 08:14+0000\n" -"Last-Translator: philku79 , 2020\n" +"Last-Translator: Tobias Arndt, 2020\n" "Language-Team: German (https://www.transifex.com/odoo/teams/41243/de/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -5572,7 +5573,7 @@ msgstr "" #: ../../accounting/others/analytic/purchases_expenses.rst:117 msgid "Subcontracting" -msgstr "" +msgstr "An Subunternehmer vergeben" #: ../../accounting/others/analytic/purchases_expenses.rst:119 msgid "" diff --git a/locale/de/LC_MESSAGES/purchase.po b/locale/de/LC_MESSAGES/purchase.po index fa6caccca..0c698be3c 100644 --- a/locale/de/LC_MESSAGES/purchase.po +++ b/locale/de/LC_MESSAGES/purchase.po @@ -8,6 +8,7 @@ # Thorsten Vocks , 2019 # Martin Trigaux, 2019 # Chris Egal , 2019 +# Tobias Arndt, 2020 # #, fuzzy msgid "" @@ -16,7 +17,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-09-16 15:50+0200\n" "PO-Revision-Date: 2018-10-19 08:15+0000\n" -"Last-Translator: Chris Egal , 2019\n" +"Last-Translator: Tobias Arndt, 2020\n" "Language-Team: German (https://www.transifex.com/odoo/teams/41243/de/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1330,7 +1331,7 @@ msgstr "" #: ../../purchase/replenishment.rst:3 msgid "Replenishment" -msgstr "" +msgstr "Auffüllung" #: ../../purchase/replenishment/flows.rst:3 msgid "Replenishment Flows" diff --git a/locale/es/LC_MESSAGES/accounting.po b/locale/es/LC_MESSAGES/accounting.po index 5bb4e0c90..ef42c053e 100644 --- a/locale/es/LC_MESSAGES/accounting.po +++ b/locale/es/LC_MESSAGES/accounting.po @@ -53,6 +53,7 @@ # Jorge Obiols , 2020 # Jesús Alan Ramos Rodríguez , 2020 # Leonardo J. Caballero G. , 2020 +# Susanna Pujol, 2020 # #, fuzzy msgid "" @@ -61,7 +62,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-10-03 11:34+0200\n" "PO-Revision-Date: 2018-10-19 08:14+0000\n" -"Last-Translator: Leonardo J. Caballero G. , 2020\n" +"Last-Translator: Susanna Pujol, 2020\n" "Language-Team: Spanish (https://www.transifex.com/odoo/teams/41243/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1796,11 +1797,11 @@ msgstr "" #: ../../accounting/bank/setup/create_bank_account.rst:0 msgid "ABA/Routing" -msgstr "" +msgstr "Número de enrutamiento de ABA" #: ../../accounting/bank/setup/create_bank_account.rst:0 msgid "American Bankers Association Routing Number" -msgstr "" +msgstr "Número de enrutamiento de la American Bankers Association" #: ../../accounting/bank/setup/create_bank_account.rst:0 msgid "Account Holder Name" diff --git a/locale/es/LC_MESSAGES/purchase.po b/locale/es/LC_MESSAGES/purchase.po index 623b14825..72e5f9805 100644 --- a/locale/es/LC_MESSAGES/purchase.po +++ b/locale/es/LC_MESSAGES/purchase.po @@ -14,7 +14,8 @@ # Jon Perez , 2019 # Martin Trigaux, 2019 # Jesus Vicente Alcala Rodriguez , 2020 -# luis abarca , 2020 +# 0bbd034d1b285e7568819a743ec2b501_2b84791 , 2020 +# Susanna Pujol, 2020 # #, fuzzy msgid "" @@ -23,7 +24,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-09-16 15:50+0200\n" "PO-Revision-Date: 2018-10-19 08:15+0000\n" -"Last-Translator: luis abarca , 2020\n" +"Last-Translator: Susanna Pujol, 2020\n" "Language-Team: Spanish (https://www.transifex.com/odoo/teams/41243/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -52,6 +53,8 @@ msgid "" "It is key for companies to be able to import vendors pricelists to stay up " "to date on products pricing." msgstr "" +"Es crucial para las empresas poder importar las listas de precios para estar" +" al día del precio de los productos." #: ../../purchase/purchases/master/import.rst:9 #: ../../purchase/purchases/master/uom.rst:22 @@ -115,7 +118,7 @@ msgstr "" #: ../../purchase/purchases/master/suppliers.rst:9 msgid "Add vendors in a product" -msgstr "" +msgstr "Añada vendedores en un producto" #: ../../purchase/purchases/master/suppliers.rst:11 msgid "" @@ -458,7 +461,7 @@ msgstr "" #: ../../purchase/purchases/rfq/analyze.rst:3 msgid "Analyze the performance of my vendors" -msgstr "" +msgstr "Analizar el rendimiento de sus vendedores" #: ../../purchase/purchases/rfq/analyze.rst:5 msgid "" From e946532b9b9cc13b2ea3a7ab76e160c3e51c6d98 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Tue, 27 Oct 2020 14:22:14 +0100 Subject: [PATCH 7/7] [REV] conf: revert f93fb12e6bce55 Revert "[FIX] technical: Sphinx deprecation warnings" Nightly servers still use sphinx 1.7 Revert until we have updated the server to newer versions --- conf.py | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/conf.py b/conf.py index a45f736b9..848924ac2 100644 --- a/conf.py +++ b/conf.py @@ -326,22 +326,22 @@ LANGUAGES = { } def setup(app): - app.add_css_file('accounting.css') - app.add_css_file('legal.css') - app.add_js_file('prefixfree.min.js') - app.add_js_file('atom.js') - app.add_js_file('immutable.js') - app.add_js_file('react.min.js') - app.add_js_file('accounts.js') - app.add_js_file('chart-of-accounts.js') - app.add_js_file('entries.js') - app.add_js_file('reconciliation.js') - app.add_js_file('misc.js') + app.add_stylesheet('accounting.css') + app.add_stylesheet('legal.css') + app.add_javascript('prefixfree.min.js') + app.add_javascript('atom.js') + app.add_javascript('immutable.js') + app.add_javascript('react.min.js') + app.add_javascript('accounts.js') + app.add_javascript('chart-of-accounts.js') + app.add_javascript('entries.js') + app.add_javascript('reconciliation.js') + app.add_javascript('misc.js') - app.add_js_file('inventory.js') - app.add_js_file('coa-valuation.js') - app.add_js_file('coa-valuation-continental.js') - app.add_js_file('coa-valuation-anglo-saxon.js') + app.add_javascript('inventory.js') + app.add_javascript('coa-valuation.js') + app.add_javascript('coa-valuation-continental.js') + app.add_javascript('coa-valuation-anglo-saxon.js') app.connect('html-page-context', canonicalize) app.add_config_value('canonical_root', None, 'env')