← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 891580] Re: Cannot remove account linked to a deleted partner

 

Hello Damien,

Thanks for reporting. The solution for this bug is proposed in the
branch : https://code.launchpad.net/~openerp-dev/openobject-addons
/trunk-bug-891580-mdi/

with following Revision ID and Number.

Revision ID : mdi@xxxxxxxxxxx-20111118061251-wp2916wutgqu436s
Revision Number : 5744

Thanks and Regards,

Divyesh Makwana(MDI)


** Changed in: openobject-addons
       Status: In Progress => Fix Committed

-- 
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):
  Fix Committed

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