Cost-Revenue Spread

Cost-Revenue Spread

by Contaura LLC · original work by Onestein, OCA
account_spread_cost_revenue
$ 79.00

Spread costs and revenues over a custom period

1.0

One purchase covers every version. Already bought it? Sign in.

Cost-Revenue Spread

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.

In Spread Template, there is also option to Auto assign template on invoice validate, based on the preset invoice line criteria.

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

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

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

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
  • Expense/Revenue Account This option visible if invoice line account is balance sheet account, user need to specify this too.
  • Journal
  • Auto assign template on invoice validate

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

If Auto assign template on invoice validate is checked, this template will be used to auto create spread, if the underlining invoice match the preset product/account/analytic criteria.

Changelog

12.0.2.0.0

  • [ENH] In spread template, add option to auto create spread on invoice validation

12.0.1.1.0

  • [ENH] Add optional Expense/Revenue Account in Chart Template, which can be used in place of account from invoice line to set Expense/Revenue account in the spread

12.0.1.0.0

  • [MIG] Port account_spread_cost_revenue to V12.

11.0.1.0.0

  • [ADD] Module account_spread_cost_revenue. (#715)
Technical nameaccount_spread_cost_revenue
Module version12.0.1.2.1
Tulio versions1.0
CategoryAccounting
PublisherContaura LLC
Ported to Tulio, tested and supported by Contaura LLC.
Original authorsOnestein, OCA
LicenseAGPL-3
Open source: you may use, change and share this module under its license. The price covers the Tulio port, its testing on Tulio 1.0 and the download.
Requires (Tulio core)account
Lines of code3,365
Downloads0
Released12/06/2026
12.0.1.2.1 Tulio 1.0 · 12/06/2026