← Back to team overview

openerp-expert-accounting team mailing list archive

[Bug 548494] Re: [5.0- account] Desactivating account does not check if it is linked to a partner

 

Hello

Thank you, the patch does the job. We are gonna apply it to all our
customers.

I confirm it is a needed change because we had the problem with one of our customer.
The accountant desactivated the accounts without moves in order to have a better view for the general ledger and other prints.
As the account 401100 was set by default to all the customers partners but has no moves --> the accountant desactivated it and all the customers lost their supplier account field which was a problem (the supplier account field is needed when editing a partner)


Regards

-- 
[5.0- account] Desactivating account does not check if it is linked to a partner
https://bugs.launchpad.net/bugs/548494
You received this bug notification because you are a member of OpenERP's
Accounting Experts, which is a direct subscriber.

Status in OpenObject Addons Modules: In Progress

Bug description:
When we desactivate an account.account, it does not check if the account is linked to a partner.
The result is that the field corresponding to this account gets empty for all the partners who had this account set up.

For example, we have customers who have a given supplier account by default (ie. 401100 for french account chart) and that supplier account does not have any account move. If we desactivated the 401100 account, the supplier account field gets empty.
There should be a new check that should verify is the account we want to desactivate is not linked to a partner.

Regards