Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
9663 Zobrazení

While Restoring Database,

In order to avoid conflicts between databases, Odoo needs to know if this database was moved or copied. If you don't know, answer "This database is a copy".

What is the exact difference, what will happen when choose copy and move?

Avatar
Zrušit
Nejlepší odpověď

The following code can be found under "/odoo/odoo/service/db.py:286". As I see it, the only difference is that with a copy a new database uid is created and with a move the old uid remains.

if copy:
    # if it's a copy of a database, force generation of a new dbuuid
    env['ir.config_parameter'].init(force=True)
Avatar
Zrušit

This has implications for licensing in the case of the Enterprise Edition - a license is assigned (linked) to a DBUUID (but can be re-linked).

Related Posts Odpovědi Zobrazení Aktivita
2
říj 23
6224
2
lis 22
6638
1
kvě 22
3871
1
dub 22
5386
0
zář 21
2762