c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #19947
Re: [Bug 740134] Re: Problem for duplicating a record
I think the best way is, avoid the readonly one2many field data from the
duplication. I believe this can easily done by changing the orm. Any way the
decision is up to you
On Wed, Mar 23, 2011 at 3:02 PM, Azazahmed Saiyed (OpenERP) <
740134@xxxxxxxxxxxxxxxxxx> wrote:
> Hello Dinil,
>
> Indeed the problem comes from the addons just check the code of
> invoice.py line no : 1592 file in account module where res.partner
> object is inherited. We need to override the copy method of res.partner
> here and in that we have to update the dictionary with invoice_ids as
> false.
>
> Thanks.
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/740134
>
> Title:
> Problem for duplicating a record
>
> Status in OpenERP Modules (addons):
> Confirmed
>
> Bug description:
> I am getting trouble on duplicating a record, because of the one2many
> field. For example i am trying to duplicate the partner record, all
> the invoice line of of that partner is duplication. Now i am affried
> to do duplicate function on openerp
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/openobject-addons/+bug/740134/+subscribe
>
--
Thanks & regards,
Dinil
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/740134
Title:
Problem for duplicating a record
Status in OpenERP Modules (addons):
Confirmed
Bug description:
I am getting trouble on duplicating a record, because of the one2many
field. For example i am trying to duplicate the partner record, all
the invoice line of of that partner is duplication. Now i am affried
to do duplicate function on openerp
References