From ac813f2b5bf6fb471f7fe2c779b75bff6c64dd3b Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Tue, 25 Oct 2022 15:32:59 +0000 Subject: [PATCH] [FIX] developer/guidelines: do not mention deprecated xml tags act_window & report xml tags have been deprecated by https://github.com/odoo/odoo/commit/6835aeb0de6895f7f4d6b23e0b4654465ef21d6a two years ago, we should avoid mentioning them in the guidelines. Furthermore, in 17.0 they won't be available anymore. closes odoo/documentation#2862 X-original-commit: 758463edd4fce8d52db6ada98a73c76e026d31e5 Signed-off-by: Victor Feyens (vfe) --- content/contributing/development/coding_guidelines.rst | 4 +--- content/developer/reference/backend/data.rst | 3 --- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/content/contributing/development/coding_guidelines.rst b/content/contributing/development/coding_guidelines.rst index 9463be5d0..509c3e54b 100644 --- a/content/contributing/development/coding_guidelines.rst +++ b/content/contributing/development/coding_guidelines.rst @@ -276,10 +276,8 @@ Odoo supports custom tags acting as syntactic sugar: - menuitem: use it as a shortcut to declare a ``ir.ui.menu`` - template: use it to declare a QWeb View requiring only the ``arch`` section of the view. -- report: use to declare a :ref:`report action ` -- act_window: use it if the record notation can't do what you want -The 4 first tags are preferred over the *record* notation. +These tags are preferred over the *record* notation. XML IDs and naming diff --git a/content/developer/reference/backend/data.rst b/content/developer/reference/backend/data.rst index 414dd9957..019d76dd5 100644 --- a/content/developer/reference/backend/data.rst +++ b/content/developer/reference/backend/data.rst @@ -257,9 +257,6 @@ section of the view, and allowing a few *optional* attributes: website interface) and its default status. If unset, the view is always enabled. -.. deprecated act_window & report -.. ignored url, act_window and ir_set - .. _reference/data/csvdatafiles: CSV data files