You have been subscribed to a public bug:

Hi all,

Deleting an account which has already set to partner is impossible
without doing sql queries.


Create a new account for a partner (go to Accounting > Configuration > 
Financial Accounting > Accounts > Accounts)
Create a new partner and set this account in the field account receivable

now:
Go to Accounting > Configuration > Financial Accounting > Accounts > Accounts
Select the account you've created
Click on delete
You have the error message: You cannot remove/deactivate an account which is 
set as a property to any Partner.

Delete the partner you've created an retry to delete the account.
You still have the same error message: You cannot remove/deactivate an account 
which is set as a property to any Partner.

It seems that the object is still referenced in an ir.property table and
the only way is to manualy go into the sql database to delete this
reference and then delete the account.

you can try this here:
http://54.228.22.65:48080/
db: Test_Compta
login: admin
pwd: kazacube

I saw a post for the same problem on V7 where the proposed solution is just to 
change the error message. For me this is not a correct solution. Correct 
solution should be to:
 1- continue to check if the account is used by a partner
 2- if the account is not used by a partner then delete it

Many thanks for your help.

Damien D.

** Affects: openobject-server
     Importance: Low
     Assignee: OpenERP Publisher's Warranty Team (openerp-opw)
         Status: Fix Committed


** Tags: maintenance
-- 
[6.0]Impossible to delete account even if it's not linked to any partner
https://bugs.launchpad.net/bugs/1129022
You received this bug notification because you are a member of OpenERP Indian 
Team, which is subscribed to OpenERP Server.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help   : https://help.launchpad.net/ListHelp

Reply via email to