From a821fcd7ea3b76957390ae88b31bab99c7b6e8f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 24 Jul 2024 11:31:05 +0200 Subject: [PATCH] Fix label of asset sequence field of configuration --- modules/account_asset/account.py | 2 +- modules/account_asset/doc/design.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/account_asset/account.py b/modules/account_asset/account.py index 76070db89b..1df034bbb3 100644 --- a/modules/account_asset/account.py +++ b/modules/account_asset/account.py @@ -44,7 +44,7 @@ def get_asset_selection(field_name): class Configuration(metaclass=PoolMeta): __name__ = 'account.configuration' asset_sequence = fields.MultiValue(fields.Many2One( - 'ir.sequence', "Asset Reference Sequence", required=True, + 'ir.sequence', "Asset Sequence", required=True, domain=[ ('company', 'in', [ Eval('context', {}).get('company', -1), None]), diff --git a/modules/account_asset/doc/design.rst b/modules/account_asset/doc/design.rst index cba1601b18..8cf282e8ea 100644 --- a/modules/account_asset/doc/design.rst +++ b/modules/account_asset/doc/design.rst @@ -18,8 +18,8 @@ be depreciated. .. note:: - Most of the properties are filled automatically when a supplier invoice line - is set. + Most of the properties are filled in automatically when a supplier invoice + line is set. When the asset is run, lines are calculated for each date based on the frequency and the method for the period defined by the start and end dates.