2
0

[FIX] account_move_fiscal_year: check if the company is defined.

This commit is contained in:
Adrien Peiffer (ACSONE) 2017-10-18 09:30:16 +02:00 committed by BT-anieto
parent 38548915b2
commit 45aa106068
No known key found for this signature in database
17 changed files with 563 additions and 1 deletions

View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.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 <transbot@odoo-community.org>, 2017\n"
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/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
#: model:ir.model,name:account_move_fiscal_year.model_account_move
msgid "Account Entry"
msgstr "Asiento 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 ""

View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.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 <transbot@odoo-community.org>, 2017\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/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
#: model:ir.model,name:account_move_fiscal_year.model_account_move
msgid "Account Entry"
msgstr "Assentament 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 ""

View File

@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
# Rudolf Schnapka <rs@techno-flex.de>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.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 <rs@techno-flex.de>, 2017\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/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
#: model:ir.model,name:account_move_fiscal_year.model_account_move
msgid "Account Entry"
msgstr "Kontobuchung"
#. 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 "Journalposten"

View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.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 <transbot@odoo-community.org>, 2017\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/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
#: model:ir.model,name:account_move_fiscal_year.model_account_move
msgid "Account Entry"
msgstr "Asiento 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 ""

View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_fiscal_year
#
# Translators:
# Cristian Salamea <ovnicraft@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.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: Cristian Salamea <ovnicraft@gmail.com>, 2017\n"
"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/es_EC/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es_EC\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: 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 "Detalle Contable"

View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.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 <transbot@odoo-community.org>, 2017\n"
"Language-Team: French (https://www.transifex.com/oca/teams/23907/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
#: 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 ""

View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.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 <transbot@odoo-community.org>, 2017\n"
"Language-Team: Galician (https://www.transifex.com/oca/teams/23907/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
#: model:ir.model,name:account_move_fiscal_year.model_account_move
msgid "Account Entry"
msgstr "Asento 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 ""

View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_fiscal_year
#
# Translators:
# Bole <bole@dajmi5.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-23 01:41+0000\n"
"PO-Revision-Date: 2018-02-23 01:41+0000\n"
"Last-Translator: Bole <bole@dajmi5.com>, 2017\n"
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/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"
#. module: account_move_fiscal_year
#: model:ir.model,name:account_move_fiscal_year.model_account_move
msgid "Account Entry"
msgstr "Stavka knjiženja"
#. 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 "Fiskalna godina"
#. module: account_move_fiscal_year
#: model:ir.model,name:account_move_fiscal_year.model_account_move_line
msgid "Journal Item"
msgstr "Stavka dnevnika"

View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.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 <transbot@odoo-community.org>, 2017\n"
"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: hr_HR\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#. module: account_move_fiscal_year
#: model:ir.model,name:account_move_fiscal_year.model_account_move
msgid "Account Entry"
msgstr "Stavka dnevnika"
#. 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 ""

View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.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 <transbot@odoo-community.org>, 2017\n"
"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/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
#: model:ir.model,name:account_move_fiscal_year.model_account_move
msgid "Account Entry"
msgstr "Registrazione Contabile"
#. 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 ""

View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.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 <transbot@odoo-community.org>, 2017\n"
"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/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
#: model:ir.model,name:account_move_fiscal_year.model_account_move
msgid "Account Entry"
msgstr "Boeking"
#. 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 ""

View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.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 <transbot@odoo-community.org>, 2017\n"
"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/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
#: model:ir.model,name:account_move_fiscal_year.model_account_move
msgid "Account Entry"
msgstr "Movimento de Conta"
#. 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 ""

View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.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 <transbot@odoo-community.org>, 2017\n"
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: pt_BR\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: account_move_fiscal_year
#: model:ir.model,name:account_move_fiscal_year.model_account_move
msgid "Account Entry"
msgstr "Entrada de conta"
#. 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 ""

View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.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 <transbot@odoo-community.org>, 2017\n"
"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/teams/23907/pt_PT/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: pt_PT\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: account_move_fiscal_year
#: model:ir.model,name:account_move_fiscal_year.model_account_move
msgid "Account Entry"
msgstr "Movimento de Conta"
#. 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 ""

View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_fiscal_year
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.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 <transbot@odoo-community.org>, 2017\n"
"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/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"
#. module: account_move_fiscal_year
#: model:ir.model,name:account_move_fiscal_year.model_account_move
msgid "Account Entry"
msgstr "Knjigovodski vnos"
#. 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 ""

View File

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_fiscal_year
#
# Translators:
# Ediz Duman <neps1192@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.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: Ediz Duman <neps1192@gmail.com>, 2017\n"
"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/tr_TR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: tr_TR\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: 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 "Yevmiye Öğe"

View File

@ -26,7 +26,8 @@ class AccountMove(models.Model):
for rec in self:
date = fields.Date.from_string(rec.date)
company = rec.company_id
rec.date_range_fy_id = company.find_daterange_fy(date)
rec.date_range_fy_id =\
company and company.find_daterange_fy(date) or False
@api.model
def _search_date_range_fy(self, operator, value):