diff --git a/addons/spreadsheet_account/i18n/spreadsheet_account.pot b/addons/spreadsheet_account/i18n/spreadsheet_account.pot index 8d42f1be48b..16d3c8daee6 100644 --- a/addons/spreadsheet_account/i18n/spreadsheet_account.pot +++ b/addons/spreadsheet_account/i18n/spreadsheet_account.pot @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 17.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-10-26 21:56+0000\n" -"PO-Revision-Date: 2023-10-26 21:56+0000\n" +"POT-Creation-Date: 2024-02-08 07:29+0000\n" +"PO-Revision-Date: 2024-02-08 07:29+0000\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -36,13 +36,6 @@ msgstr "" msgid "Account" msgstr "" -#. module: spreadsheet_account -#. odoo-javascript -#: code:addons/spreadsheet_account/static/src/accounting_functions.js:0 -#, python-format -msgid "Account type." -msgstr "" - #. module: spreadsheet_account #: model:ir.model,name:spreadsheet_account.model_res_company msgid "Companies" @@ -76,14 +69,6 @@ msgstr "" msgid "Journal items for account prefix %s" msgstr "" -#. module: spreadsheet_account -#. odoo-javascript -#: code:addons/spreadsheet_account/static/src/accounting_functions.js:0 -#: code:addons/spreadsheet_account/static/src/accounting_functions.js:0 -#, python-format -msgid "Reference date." -msgstr "" - #. module: spreadsheet_account #. odoo-javascript #: code:addons/spreadsheet_account/static/src/accounting_functions.js:0 @@ -121,6 +106,13 @@ msgstr "" msgid "Set to TRUE to include unposted entries." msgstr "" +#. module: spreadsheet_account +#. odoo-javascript +#: code:addons/spreadsheet_account/static/src/accounting_functions.js:0 +#, python-format +msgid "The account type (income, expense, asset_current,...)." +msgstr "" + #. module: spreadsheet_account #. odoo-javascript #: code:addons/spreadsheet_account/static/src/accounting_datasource.js:0 @@ -152,6 +144,20 @@ msgid "" "\"12/2022\", and \"2022\"." msgstr "" +#. module: spreadsheet_account +#. odoo-javascript +#: code:addons/spreadsheet_account/static/src/accounting_functions.js:0 +#, python-format +msgid "The day from which to extract the fiscal year end." +msgstr "" + +#. module: spreadsheet_account +#. odoo-javascript +#: code:addons/spreadsheet_account/static/src/accounting_functions.js:0 +#, python-format +msgid "The day from which to extract the fiscal year start." +msgstr "" + #. module: spreadsheet_account #. odoo-javascript #: code:addons/spreadsheet_account/static/src/accounting_functions.js:0 diff --git a/addons/spreadsheet_account/static/src/accounting_functions.js b/addons/spreadsheet_account/static/src/accounting_functions.js index 5ce1e3fc569..ab647cf1320 100644 --- a/addons/spreadsheet_account/static/src/accounting_functions.js +++ b/addons/spreadsheet_account/static/src/accounting_functions.js @@ -266,11 +266,9 @@ functionRegistry.add("ODOO.BALANCE", { }); functionRegistry.add("ODOO.FISCALYEAR.START", { - description: _t( - "Returns the starting date of the fiscal year encompassing the provided date." - ), + description: _t("Returns the starting date of the fiscal year encompassing the provided date."), args: [ - arg("date (date)", _t("Reference date.")), + arg("day (date)", _t("The day from which to extract the fiscal year start.")), arg("company_id (number, optional)", _t("The company.")), ], category: "Odoo", @@ -290,7 +288,7 @@ functionRegistry.add("ODOO.FISCALYEAR.START", { functionRegistry.add("ODOO.FISCALYEAR.END", { description: _t("Returns the ending date of the fiscal year encompassing the provided date."), args: [ - arg("date (date)", _t("Reference date.")), + arg("day (date)", _t("The day from which to extract the fiscal year end.")), arg("company_id (number, optional)", _t("The company.")), ], category: "Odoo", @@ -309,7 +307,7 @@ functionRegistry.add("ODOO.FISCALYEAR.END", { functionRegistry.add("ODOO.ACCOUNT.GROUP", { description: _t("Returns the account ids of a given group."), - args: [arg("type (string)", _t("Account type."))], + args: [arg("type (string)", _t("The account type (income, expense, asset_current,...)."))], category: "Odoo", returns: ["NUMBER"], compute: function (accountType) {