Skip to main content

Delete the accounting setup from an otherwise reusable database

Project description

License

Account chart reset

Adds a method to the company to remove its chart of accounts, including all related transactions, journals etc. By necessity, this process also removes the company’s bank accounts as they are linked to the company’s journals and the company’s payment orders and payment modes if the payment module is installed.

As a result, you can then reconfigure the company chart of account with the same or a different chart template.

Usage

To prevent major disasters when this module is installed, no interface is provided. Please run through xmlrpc, for instance using erppeek:

import erppeek

host = 'localhost'
port = '8069'
admin_pw = 'admin'
dbname = 'openerp'

client = erppeek.Client('http://%s:%s' % (host, port))
client.login('admin', admin_pw, dbname)
client.execute('res.company', 'reset_chart', 1)

Known issues / Roadmap

This should work with the standard accounting modules installed. All sorts of combinations with third party modules are imaginable that would require modifications or extensions of the current implementation.

Sequences are not reset during the process.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback here.

Credits

Contributors

Icon courtesy of Alan Klim (CC-BY-20) - https://www.flickr.com/photos/igraph/6469812927/

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit http://odoo-community.org.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo8_addon_account_reset_chart-8.0.1.0.0.99.dev19-py2-none-any.whl.

File metadata

File hashes

Hashes for odoo8_addon_account_reset_chart-8.0.1.0.0.99.dev19-py2-none-any.whl
Algorithm Hash digest
SHA256 52ceeb8a9c7eee01e3d4cb42a5b9e86a14ca00207cce316cb90aa847e0b3ea8a
MD5 5dc51c0afbd38b659cf78a1b10aeb5fc
BLAKE2b-256 f68666bd3a1e5fec4da90b8730228f8ad4db09e33acf9866576344baa5734f95

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page