Re: OCA's account_reset_chart

>> If you have not started any transaction, you can just
remove the localization and CoA manually, after resetting the
properties.

not 100% clear what you mean. I tried earlier to de-install the
Chinese localization Module (where I picked the wrong (big) CoA
from) and reinstall it again.
By reinstalling I ran into an error message (don't recall it
exactly)

regarding accounting entries I realized I might have been not 100%
precise .... there are products/customers/suppliers that have
(automatically) assigned income- or expense accounts. maybe that was
my problem.
If I can wipe all this away with account_reset_chart maybe that's a
less work intense procedure then trying to fix any re-installation
error

hi Marc,
thanks for your feedback
>> install and run the following script :
my guess: that's a python script?
we have 2 companies ... I guess, I have to replace 'res.company' in this line
>> sock.execute(dbname, uid, pwd, 'res.company', 'reset_chart', 1)
with the correct database id of the company I want to reset the CoA of, right?
>> ...you must have serious reason to use it ! You will lose all
>> accounts, all journals, all default account properties (on products, on
>> product categories, on partners...)
that's fine. I have only installed the wrong template CoA and want to replace it with another template CoA.
I have not used any accounting entries yet.
best ...Gunnar

')
sock.execute(dbname, uid, pwd, 'res.company', 'reset_chart', 1)
====
This told, you must have serious reason to use it ! You will lose all
accounts, all journals, all default account properties (on products, on
product categories, on partners...)
My 2 cents,
Marc
On 08/19/2015 09:53 PM, Gunnar Wagner wrote:
> the problem of replacing an existing chart of accounts has been
> discussed in various threads here. I was under the impression ... it's
> not possible really.
> Strangely an existing OCA module I bumped over just now which seems to
> solve this problem has never been mentioned in those discusstions.
>
> https://github.com/OCA/account-financial-tools/tree/8.0/account_reset_chart