Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Beta License: AGPL-3 OCA/account-financial-tools Translate me on Weblate Try me on Runbot

Allows to spread costs or revenues over a customizable periods, to even out cost or invoice spikes.

Table of contents

Configuration

To be able to access the full spreading features, the user must belong to Show Full Accounting Features group.

On the form view of the company, in the Account Spread tab, you can configure the journals in which the spread journal items will be generated by default:

  • the Default Spread Journal for Revenues,

  • the Default Spread Journal for Expenses.

In the same Account Spread tab, you can also configure the Spread Balance Sheet Accounts used by default:

  • the Default Spread Account for Revenues,

  • the Default Spread Account for Expenses.

This module by default allows the spreading even before the receipt of the invoice or when the invoice is still draft, so that it is possible to work on the plan of the cost/revenue spreading. To disable this feature, on the form view of the company disable the Allow Spread Planning option.

On the form view of the company, the Auto-post spread lines option forces the account moves created during the cost/revenue spreading to be automatically posted. When this option is false, the user can enable/disable the automatic posting by the flag Auto-post lines present in the spread board.

On the form view of the company, enable the Auto-archive spread option if you want the cron job to automatically archive the spreads when all lines are posted.

Usage

Define Spread Costs/Revenues Board

Under Invoicing -> Adviser -> Accounting Entries -> Spread Costs/Revenues, create a new spread board.

Complete the definition of the spreading criteria, by setting the the fields:

  • Debit Account

  • Credit Account

  • Estimated Amount (The total amount to spread)

  • Number of Repetitions

  • Period Type (Duration of each period)

  • Start date

  • Journal

Create a new spread board

Click on the button on the top-left to calculate the spread lines.

The spreading board is defined

A cron job will automatically create the accounting moves for all the lines having date previous that the current day (today).

The spreading board is updated by the cron job

By default, the status of the created accounting moves is posted. To disable the automatic posting of the accounting moves, set the flag Auto-post lines to False. This flag is only available when the Auto-post spread lines option, present on the form view of the company, is disabled.

Click on button Recalculate entire spread button in the spread board to force the recalculation of the spread lines: this will also reset all the journal entries previously created.

Define Spread Costs/Revenues Template

Under Invoicing -> Configuration -> Accounting -> Spread Templates, create a new spread template.

  • Spread Type

  • Spread Balance Sheet Account

  • Journal

When creating a new Spread Costs/Revenues Board, select the right template. This way the above fields will be copied to the Spread Board.

Known issues / Roadmap

  • Verify last day of month

  • Add help in fields definition

Changelog

11.0.1.0.0

  • [ADD] Module account_spread_cost_revenue. (#715)

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.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Onestein

Contributors

Other credits

Part of the code in this module (in particular the computation of the spread lines) is highly inspired by the Assets Management module from the standard Odoo 11.0 Community developed by Odoo SA.

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

Current maintainer:

astirpe

This module is part of the OCA/account-financial-tools project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Metadata

Release files for odoo11-addon-account-spread-cost-revenue 11.0.1.0.0.99.dev30

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo11-addon-account-spread-cost-revenue 11.0.1.0.0.99.dev30
File Interpreter ABI Platform Actions
odoo11_addon_account_spread_cost_revenue-11.0.1.0.0.99.dev30-py2.py3-none-any.whl Python 3, Python 2 none any Details for odoo11_addon_account_spread_cost_revenue-11.0.1.0.0.99.dev30-py2.py3-none-any.whl

Release files / odoo11_addon_account_spread_cost_revenue-11.0.1.0.0.99.dev30-py2.py3-none-any.whl

Download URL odoo11_addon_account_spread_cost_revenue-11.0.1.0.0.99.dev30-py2.py3-none-any.whl
Size 256.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
07cf1e2984e79abdc1f45797637148dd6dbbcf13e195c49163517c114fc655d2
BLAKE2b-256 checksum
How to use checksums
69a2830ed9e0a61c156dbd0a1c55b8bd5b2b3dd7cce21c1639a463e9858afd9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/59.1.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5

Security for odoo11-addon-account-spread-cost-revenue 11.0.1.0.0.99.dev30

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page