← Back to team overview

openerp-india team mailing list archive

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

 

** Changed in: openobject-server
     Assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3) => OpenERP's Framework R&D (openerp-dev-framework)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/891580

Title:
  Cannot remove account linked to a deleted partner

Status in OpenERP Server:
  Confirmed

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-server/+bug/891580/+subscriptions


References