openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #01443
Re: Problem with recreating standard-data
-
To:
Niels Huylebroeck <nh@xxxxxxxxxx>
-
From:
Olivier Dony <odo@xxxxxxxxxxx>
-
Date:
Tue, 16 Oct 2012 17:53:22 +0200
-
Cc:
openerp-community@xxxxxxxxxxxxxxxxxxx
-
In-reply-to:
<CANkQ1RBM5vB-L3pmp=wVKqON830eG4Y1BOk0UU_akbic4BbU7w@mail.gmail.com>
-
Organization:
OpenERP s.a.
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1
On 10/16/2012 04:07 PM, Niels Huylebroeck wrote:
> Deleting the data is not your problem. Re-creating it is your problem.
Exactly. Deletion of module data is managed by the ORM already.
As Niels says, the question is about re-creating the data, and in fact you'll
only get this kind of error when *conflicting data* has been created in the
mean time. No-one wants to have two countries with the same name/code.
Ultimately I think this boils down to the discussion on
https://bugs.launchpad.net/openobject-server/+bug/1023615 (and perhaps older
related ones). If you have a look at the bug comments, you'll see that it's not
a trivial issue.
References