[IMP] spreadsheet_account: improve function descriptions
Improve the wording of the argument descriptions for the functions `ODOO.ACCOUNT.GROUP`, `ODOO.FISCALYEAR.START`, and `ODOO.FISCALYEAR.END`. closes odoo/odoo#154668 Task: 3680374 X-original-commit: bd5ddaca16f6ced709d3aa3af72829b1d443d4bb Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com> Signed-off-by: Adrien Minne (adrm) <adrm@odoo.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user