openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #23713
[Bug 1129022] Re: [6.0]Impossible to delete account even if it's not linked to any partner
** Project changed: openobject-addons => openobject-server
--
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/1129022
Title:
[6.0]Impossible to delete account even if it's not linked to any
partner
Status in OpenERP Server:
Fix Committed
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1129022/+subscriptions