From c5252ceaa8086b5e3d9dbc332a133b61ab76a38d Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Tue, 7 Nov 2023 11:30:06 +0100 Subject: [PATCH] [ADD] required knowledge --- docsource/020_required_knowledge.rst | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/docsource/020_required_knowledge.rst b/docsource/020_required_knowledge.rst index 270b68734c3d..7c6bb81bfa6a 100644 --- a/docsource/020_required_knowledge.rst +++ b/docsource/020_required_knowledge.rst @@ -1,4 +1,30 @@ Required Knowledge ================== -TODO : write here prerequisites. \ No newline at end of file +To Use Openupgrade +------------------ + +* you should be able to launch an instance of Odoo on your local PC, + or on your server, **for each version of your migration**. + For example, if you're migrating from version 12.0 to 16.0, + you should be able to launch Odoo versions 13.0, 14.0, 15.0 and 16.0. + +* If you're migrating to a recent version, + you'll certainly have to reference numerous open pull requests on OCA/OpenUpgrade, + for the modules installed on your instance. + In this case, using the `gitaggregate `_ + tool greatly facilitates the management of these numerous pull requests. + +To develop Openupgrade Scripts +------------------------------ + +- If you want to develop migration scripts for a given module, you need to have + complete functional knowledge of this module. + For example, to develop migration scripts for `account` module from version 12.0 + to 13.0, you need to master how account is working in version 12.0 and how + account is working in version 13.0. + +- Knowledge of SQL is a must if you need to write fast queries on huge amounts of data. + +- you need to have a good understanding of the functions provided + by the `openupgradelib `_ library.