← Back to team overview

credativ team mailing list archive

[Bug 891580] Re: Properties should be deleted when the related record is deleted

 

** Branch linked: lp:~openerp-dev/openobject-server/trunk-bug-891580-nch

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

Title:
  Properties should be deleted when the related record is deleted

Status in OpenERP Server:
  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-server/+bug/891580/+subscriptions