From 9610ef3bce7fe89a98fcc2ffb39811a12854c397 Mon Sep 17 00:00:00 2001 From: Fekete Mihai Date: Sat, 17 Mar 2018 07:56:35 +0200 Subject: [PATCH] Migrate account_move_fiscal_year. Remove store --- account_move_fiscal_year/README.rst | 6 +-- account_move_fiscal_year/__manifest__.py | 5 +-- .../i18n/account_move_fiscal_year.pot | 31 ++++++++++++++++ account_move_fiscal_year/i18n/am.po | 4 +- account_move_fiscal_year/i18n/ca.po | 4 +- account_move_fiscal_year/i18n/de.po | 18 ++++----- account_move_fiscal_year/i18n/es.po | 4 +- account_move_fiscal_year/i18n/es_CO.po | 37 +++++++++++++++++++ account_move_fiscal_year/i18n/es_EC.po | 7 ++-- account_move_fiscal_year/i18n/fr.po | 19 +++++----- account_move_fiscal_year/i18n/fr_FR.po | 36 ++++++++++++++++++ account_move_fiscal_year/i18n/gl.po | 4 +- account_move_fiscal_year/i18n/hr.po | 7 ++-- account_move_fiscal_year/i18n/hr_HR.po | 10 +++-- account_move_fiscal_year/i18n/it.po | 4 +- account_move_fiscal_year/i18n/nl.po | 4 +- account_move_fiscal_year/i18n/pt.po | 4 +- account_move_fiscal_year/i18n/pt_BR.po | 7 ++-- account_move_fiscal_year/i18n/pt_PT.po | 7 ++-- account_move_fiscal_year/i18n/sl.po | 7 ++-- account_move_fiscal_year/i18n/tr_TR.po | 7 ++-- .../models/account_move.py | 1 - .../models/account_move_line.py | 4 +- .../tests/test_account_move_fiscal_year.py | 1 - 24 files changed, 173 insertions(+), 65 deletions(-) create mode 100644 account_move_fiscal_year/i18n/account_move_fiscal_year.pot create mode 100644 account_move_fiscal_year/i18n/es_CO.po create mode 100644 account_move_fiscal_year/i18n/fr_FR.po diff --git a/account_move_fiscal_year/README.rst b/account_move_fiscal_year/README.rst index 764e6bed..8deaa31f 100644 --- a/account_move_fiscal_year/README.rst +++ b/account_move_fiscal_year/README.rst @@ -1,5 +1,5 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png + :target: https://www.gnu.org/licenses/agpl :alt: License: AGPL-3 ======================== @@ -23,7 +23,7 @@ Usage .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/92/10.0 + :target: https://runbot.odoo-community.org/runbot/92/11.0 Bug Tracker =========== diff --git a/account_move_fiscal_year/__manifest__.py b/account_move_fiscal_year/__manifest__.py index 62bfb930..5469683e 100644 --- a/account_move_fiscal_year/__manifest__.py +++ b/account_move_fiscal_year/__manifest__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2017 ACSONE SA/NV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). @@ -6,7 +5,7 @@ 'name': 'Account Move Fiscal Year', 'summary': """ Display the fiscal year on journal entries/item""", - 'version': '10.0.1.0.0', + 'version': '11.0.1.0.0', 'license': 'AGPL-3', 'author': 'ACSONE SA/NV, Odoo Community Association (OCA)', 'website': 'https://github.com/OCA/account-financial-tools', @@ -17,6 +16,4 @@ 'views/account_move.xml', 'views/account_move_line.xml', ], - 'demo': [ - ], } diff --git a/account_move_fiscal_year/i18n/account_move_fiscal_year.pot b/account_move_fiscal_year/i18n/account_move_fiscal_year.pot new file mode 100644 index 00000000..7c03ec24 --- /dev/null +++ b/account_move_fiscal_year/i18n/account_move_fiscal_year.pot @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_move_fiscal_year +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.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_move_fiscal_year +#: model:ir.model,name:account_move_fiscal_year.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_move_fiscal_year +#: model:ir.model.fields,field_description:account_move_fiscal_year.field_account_move_date_range_fy_id +#: model:ir.model.fields,field_description:account_move_fiscal_year.field_account_move_line_date_range_fy_id +msgid "Fiscal year" +msgstr "" + +#. module: account_move_fiscal_year +#: model:ir.model,name:account_move_fiscal_year.model_account_move_line +msgid "Journal Item" +msgstr "" + diff --git a/account_move_fiscal_year/i18n/am.po b/account_move_fiscal_year/i18n/am.po index fb8a9665..4f5b9fed 100644 --- a/account_move_fiscal_year/i18n/am.po +++ b/account_move_fiscal_year/i18n/am.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_move_fiscal_year -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-12-22 03:41+0000\n" "Last-Translator: OCA Transbot , 2017\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: account_move_fiscal_year diff --git a/account_move_fiscal_year/i18n/ca.po b/account_move_fiscal_year/i18n/ca.po index 9a8fe9a8..c0148a35 100644 --- a/account_move_fiscal_year/i18n/ca.po +++ b/account_move_fiscal_year/i18n/ca.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_move_fiscal_year -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-12-22 03:41+0000\n" "Last-Translator: OCA Transbot , 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: account_move_fiscal_year diff --git a/account_move_fiscal_year/i18n/de.po b/account_move_fiscal_year/i18n/de.po index 0bef17a5..38dbd258 100644 --- a/account_move_fiscal_year/i18n/de.po +++ b/account_move_fiscal_year/i18n/de.po @@ -1,22 +1,22 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_move_fiscal_year -# +# # Translators: -# OCA Transbot , 2017 -# Rudolf Schnapka , 2017 +# OCA Transbot , 2018 +# Ricardo Gross , 2018 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-12-22 23:20+0000\n" -"PO-Revision-Date: 2017-12-22 23:20+0000\n" -"Last-Translator: Rudolf Schnapka , 2017\n" +"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"PO-Revision-Date: 2018-03-30 02:39+0000\n" +"Last-Translator: Ricardo Gross , 2018\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: account_move_fiscal_year @@ -28,7 +28,7 @@ msgstr "Kontobuchung" #: model:ir.model.fields,field_description:account_move_fiscal_year.field_account_move_date_range_fy_id #: model:ir.model.fields,field_description:account_move_fiscal_year.field_account_move_line_date_range_fy_id msgid "Fiscal year" -msgstr "" +msgstr "Steuerjahr" #. module: account_move_fiscal_year #: model:ir.model,name:account_move_fiscal_year.model_account_move_line diff --git a/account_move_fiscal_year/i18n/es.po b/account_move_fiscal_year/i18n/es.po index ef7ac5f4..6934c084 100644 --- a/account_move_fiscal_year/i18n/es.po +++ b/account_move_fiscal_year/i18n/es.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_move_fiscal_year -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-12-22 03:41+0000\n" "Last-Translator: OCA Transbot , 2017\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: account_move_fiscal_year diff --git a/account_move_fiscal_year/i18n/es_CO.po b/account_move_fiscal_year/i18n/es_CO.po new file mode 100644 index 00000000..d2a56fea --- /dev/null +++ b/account_move_fiscal_year/i18n/es_CO.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_move_fiscal_year +# +# Translators: +# JOSE ALEJANDRO ECHEVERRI VALENCIA , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"PO-Revision-Date: 2018-03-30 02:39+0000\n" +"Last-Translator: JOSE ALEJANDRO ECHEVERRI VALENCIA , 2018\n" +"Language-Team: Spanish (Colombia) (https://www.transifex.com/oca/teams/23907/" +"es_CO/)\n" +"Language: es_CO\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_move_fiscal_year +#: model:ir.model,name:account_move_fiscal_year.model_account_move +msgid "Account Entry" +msgstr "Registro Contable" + +#. module: account_move_fiscal_year +#: model:ir.model.fields,field_description:account_move_fiscal_year.field_account_move_date_range_fy_id +#: model:ir.model.fields,field_description:account_move_fiscal_year.field_account_move_line_date_range_fy_id +msgid "Fiscal year" +msgstr "" + +#. module: account_move_fiscal_year +#: model:ir.model,name:account_move_fiscal_year.model_account_move_line +msgid "Journal Item" +msgstr "" diff --git a/account_move_fiscal_year/i18n/es_EC.po b/account_move_fiscal_year/i18n/es_EC.po index 12c08e49..efb2b99e 100644 --- a/account_move_fiscal_year/i18n/es_EC.po +++ b/account_move_fiscal_year/i18n/es_EC.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_move_fiscal_year -# +# # Translators: # Cristian Salamea , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-12-22 03:41+0000\n" "PO-Revision-Date: 2017-12-22 03:41+0000\n" "Last-Translator: Cristian Salamea , 2017\n" -"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/es_EC/)\n" +"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/" +"es_EC/)\n" +"Language: 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: account_move_fiscal_year diff --git a/account_move_fiscal_year/i18n/fr.po b/account_move_fiscal_year/i18n/fr.po index d7bcea72..d0a74208 100644 --- a/account_move_fiscal_year/i18n/fr.po +++ b/account_move_fiscal_year/i18n/fr.po @@ -1,21 +1,22 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_move_fiscal_year -# +# # Translators: -# OCA Transbot , 2017 +# OCA Transbot , 2018 +# Quentin THEURET , 2018 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-12-22 03:41+0000\n" -"PO-Revision-Date: 2017-12-22 03:41+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"POT-Creation-Date: 2018-04-06 02:40+0000\n" +"PO-Revision-Date: 2018-04-06 02:40+0000\n" +"Last-Translator: Quentin THEURET , 2018\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: account_move_fiscal_year @@ -27,9 +28,9 @@ msgstr "Pièce comptable" #: model:ir.model.fields,field_description:account_move_fiscal_year.field_account_move_date_range_fy_id #: model:ir.model.fields,field_description:account_move_fiscal_year.field_account_move_line_date_range_fy_id msgid "Fiscal year" -msgstr "" +msgstr "Année fiscale" #. module: account_move_fiscal_year #: model:ir.model,name:account_move_fiscal_year.model_account_move_line msgid "Journal Item" -msgstr "" +msgstr "Écriture comptable" diff --git a/account_move_fiscal_year/i18n/fr_FR.po b/account_move_fiscal_year/i18n/fr_FR.po new file mode 100644 index 00000000..7aa267a2 --- /dev/null +++ b/account_move_fiscal_year/i18n/fr_FR.po @@ -0,0 +1,36 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_move_fiscal_year +# +# Translators: +# Quentin THEURET , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"PO-Revision-Date: 2018-03-30 02:39+0000\n" +"Last-Translator: Quentin THEURET , 2018\n" +"Language-Team: French (France) (https://www.transifex.com/oca/teams/23907/" +"fr_FR/)\n" +"Language: fr_FR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_move_fiscal_year +#: model:ir.model,name:account_move_fiscal_year.model_account_move +msgid "Account Entry" +msgstr "Pièce comptable" + +#. module: account_move_fiscal_year +#: model:ir.model.fields,field_description:account_move_fiscal_year.field_account_move_date_range_fy_id +#: model:ir.model.fields,field_description:account_move_fiscal_year.field_account_move_line_date_range_fy_id +msgid "Fiscal year" +msgstr "" + +#. module: account_move_fiscal_year +#: model:ir.model,name:account_move_fiscal_year.model_account_move_line +msgid "Journal Item" +msgstr "" diff --git a/account_move_fiscal_year/i18n/gl.po b/account_move_fiscal_year/i18n/gl.po index 8e1ce18e..d2224a73 100644 --- a/account_move_fiscal_year/i18n/gl.po +++ b/account_move_fiscal_year/i18n/gl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_move_fiscal_year -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-12-22 03:41+0000\n" "Last-Translator: OCA Transbot , 2017\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: account_move_fiscal_year diff --git a/account_move_fiscal_year/i18n/hr.po b/account_move_fiscal_year/i18n/hr.po index 0cf7815e..ea7c54e2 100644 --- a/account_move_fiscal_year/i18n/hr.po +++ b/account_move_fiscal_year/i18n/hr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_move_fiscal_year -# +# # Translators: # Bole , 2017 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2018-02-23 01:41+0000\n" "Last-Translator: Bole , 2017\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" -"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" +"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: account_move_fiscal_year #: model:ir.model,name:account_move_fiscal_year.model_account_move diff --git a/account_move_fiscal_year/i18n/hr_HR.po b/account_move_fiscal_year/i18n/hr_HR.po index 331b5810..d2c2b9b8 100644 --- a/account_move_fiscal_year/i18n/hr_HR.po +++ b/account_move_fiscal_year/i18n/hr_HR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_move_fiscal_year -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,12 +11,14 @@ msgstr "" "POT-Creation-Date: 2017-12-22 03:41+0000\n" "PO-Revision-Date: 2017-12-22 03:41+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/" +"hr_HR/)\n" +"Language: hr_HR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \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" +"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: account_move_fiscal_year #: model:ir.model,name:account_move_fiscal_year.model_account_move diff --git a/account_move_fiscal_year/i18n/it.po b/account_move_fiscal_year/i18n/it.po index 46f44cdc..72bbc7ce 100644 --- a/account_move_fiscal_year/i18n/it.po +++ b/account_move_fiscal_year/i18n/it.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_move_fiscal_year -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-12-22 03:41+0000\n" "Last-Translator: OCA Transbot , 2017\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: account_move_fiscal_year diff --git a/account_move_fiscal_year/i18n/nl.po b/account_move_fiscal_year/i18n/nl.po index 612dddf9..2c72c542 100644 --- a/account_move_fiscal_year/i18n/nl.po +++ b/account_move_fiscal_year/i18n/nl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_move_fiscal_year -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-12-22 03:41+0000\n" "Last-Translator: OCA Transbot , 2017\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: account_move_fiscal_year diff --git a/account_move_fiscal_year/i18n/pt.po b/account_move_fiscal_year/i18n/pt.po index a25b885e..d22822de 100644 --- a/account_move_fiscal_year/i18n/pt.po +++ b/account_move_fiscal_year/i18n/pt.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_move_fiscal_year -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-12-22 03:41+0000\n" "Last-Translator: OCA Transbot , 2017\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: account_move_fiscal_year diff --git a/account_move_fiscal_year/i18n/pt_BR.po b/account_move_fiscal_year/i18n/pt_BR.po index 03ab9b8b..6d398db9 100644 --- a/account_move_fiscal_year/i18n/pt_BR.po +++ b/account_move_fiscal_year/i18n/pt_BR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_move_fiscal_year -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-12-22 03:41+0000\n" "PO-Revision-Date: 2017-12-22 03:41+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/pt_BR/)\n" +"Language: 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: account_move_fiscal_year diff --git a/account_move_fiscal_year/i18n/pt_PT.po b/account_move_fiscal_year/i18n/pt_PT.po index 9cb50d75..be3c934c 100644 --- a/account_move_fiscal_year/i18n/pt_PT.po +++ b/account_move_fiscal_year/i18n/pt_PT.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_move_fiscal_year -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-12-22 03:41+0000\n" "PO-Revision-Date: 2017-12-22 03:41+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/teams/23907/pt_PT/)\n" +"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/" +"teams/23907/pt_PT/)\n" +"Language: 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: account_move_fiscal_year diff --git a/account_move_fiscal_year/i18n/sl.po b/account_move_fiscal_year/i18n/sl.po index a2efa36c..bd2405dd 100644 --- a/account_move_fiscal_year/i18n/sl.po +++ b/account_move_fiscal_year/i18n/sl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_move_fiscal_year -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2017-12-22 03:41+0000\n" "Last-Translator: OCA Transbot , 2017\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" -"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" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" #. module: account_move_fiscal_year #: model:ir.model,name:account_move_fiscal_year.model_account_move diff --git a/account_move_fiscal_year/i18n/tr_TR.po b/account_move_fiscal_year/i18n/tr_TR.po index 5a1c1e67..633762ed 100644 --- a/account_move_fiscal_year/i18n/tr_TR.po +++ b/account_move_fiscal_year/i18n/tr_TR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_move_fiscal_year -# +# # Translators: # Ediz Duman , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-12-22 03:41+0000\n" "PO-Revision-Date: 2017-12-22 03:41+0000\n" "Last-Translator: Ediz Duman , 2017\n" -"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/tr_TR/)\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/" +"tr_TR/)\n" +"Language: 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: account_move_fiscal_year diff --git a/account_move_fiscal_year/models/account_move.py b/account_move_fiscal_year/models/account_move.py index eba8c0e3..bcf86c54 100644 --- a/account_move_fiscal_year/models/account_move.py +++ b/account_move_fiscal_year/models/account_move.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2017 ACSONE SA/NV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). diff --git a/account_move_fiscal_year/models/account_move_line.py b/account_move_fiscal_year/models/account_move_line.py index 876f124a..25b0f956 100644 --- a/account_move_fiscal_year/models/account_move_line.py +++ b/account_move_fiscal_year/models/account_move_line.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2017 ACSONE SA/NV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). @@ -10,4 +9,5 @@ class AccountMoveLine(models.Model): _inherit = 'account.move.line' date_range_fy_id = fields.Many2one( - related='move_id.date_range_fy_id', readonly=True) + related='move_id.date_range_fy_id', readonly=True, + store=True, copy=False) diff --git a/account_move_fiscal_year/tests/test_account_move_fiscal_year.py b/account_move_fiscal_year/tests/test_account_move_fiscal_year.py index 59fabd0b..8e7f297f 100644 --- a/account_move_fiscal_year/tests/test_account_move_fiscal_year.py +++ b/account_move_fiscal_year/tests/test_account_move_fiscal_year.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2017 ACSONE SA/NV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).