c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #37719
[Bug 891580] Re: Cannot remove account linked to a deleted partner
** Changed in: openobject-addons
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/891580
Title:
Cannot remove account linked to a deleted partner
Status in OpenERP Addons (modules):
In Progress
Bug description:
Hello,
I constated the following bug:
- Create a new partner
- Create two financial accounts
- Set this accounts as account receivable and account payable
- Delete the partner
- Try to delete an account
An error appear: we cannot delete account that is linked to a partner.
But the partner has been deleted.
This bug come because the accounts payable and receivable in the
object partner is not a fields.many2one, bug a fields.property (I
don't understant why), and the property in the table ir_property stay
when we delete a partner.
The best solution to correct this bug would be to set the fields
accounts in partner as one2many type instead of property.
I use OpenERP 6.0.3 on a Ubuntu 10.04LTS server.
Thanks
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/891580/+subscriptions
References