2018-10-22 12:27:50 +02:00
|
|
|
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*
|
|
|
|
|
2018-12-20 10:21:14 +01:00
|
|
|
.. figure:: https://raw.githubusercontent.com/OCA/account-financial-tools/12.0/account_spread_cost_revenue/static/description/spread.png
|
2018-10-22 12:27:50 +02:00
|
|
|
:alt: Create a new spread board
|
|
|
|
|
|
|
|
Click on the button on the top-left to calculate the spread lines.
|
|
|
|
|
2018-12-20 10:21:14 +01:00
|
|
|
.. figure:: https://raw.githubusercontent.com/OCA/account-financial-tools/12.0/account_spread_cost_revenue/static/description/create_spread.png
|
2018-10-22 12:27:50 +02:00
|
|
|
:alt: 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).
|
|
|
|
|
2018-12-20 10:21:14 +01:00
|
|
|
.. figure:: https://raw.githubusercontent.com/OCA/account-financial-tools/12.0/account_spread_cost_revenue/static/description/update_spread.png
|
2018-10-22 12:27:50 +02:00
|
|
|
:alt: 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.
|
2019-04-05 14:40:52 +02:00
|
|
|
This flag is only available when the *Auto-post spread lines* option, present on the form view of the company, is disabled.
|
2018-10-22 12:27:50 +02:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
Link Invoice to Spread Costs/Revenues Board
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
Create an invoice or vendor bill in draft. On its lines, the spreading right-arrow icon are displayed in dark-grey color.
|
|
|
|
|
2018-12-20 10:21:14 +01:00
|
|
|
.. figure:: https://raw.githubusercontent.com/OCA/account-financial-tools/12.0/account_spread_cost_revenue/static/description/invoice_line_1.png
|
2018-10-22 12:27:50 +02:00
|
|
|
:alt: On the invoice line the spreading icon is displayed
|
|
|
|
|
|
|
|
Click on the spreading right-arrow icon. A wizard prompts to enter a *Spread Action Type*:
|
|
|
|
|
|
|
|
- *Link to existing spread board*
|
|
|
|
- *Create from spread template*
|
|
|
|
- *Create new spread board*
|
|
|
|
|
|
|
|
Select *Link to existing spread board* and enter the previously generated Spread Board. Click on Confirm button:
|
|
|
|
the selected Spread Board will be automatically displayed.
|
|
|
|
|
|
|
|
Go back to the draft invoice/bill. The spreading functionality is now enabled on the invoice line:
|
|
|
|
the spreading right-arrow icon is now displayed in green color.
|
|
|
|
|
2018-12-20 10:21:14 +01:00
|
|
|
.. figure:: https://raw.githubusercontent.com/OCA/account-financial-tools/12.0/account_spread_cost_revenue/static/description/invoice_line_2.png
|
2018-10-22 12:27:50 +02:00
|
|
|
:alt: On the invoice line the spreading icon is displayed in green color
|
|
|
|
|
|
|
|
Validate the invoice/bill. Click on the spreading (green) right-arrow icon to open the spread board, then click
|
|
|
|
on the smart button *Reconciled entries*: the moves of the spread lines are reconciled with the move of the invoice line.
|
|
|
|
|
|
|
|
In case the Subtotal Price of the invoice line is different than the *Estimated Amount* of the spread board, the spread
|
|
|
|
lines (not yet posted) will be recalculated when validating the invoice/bill.
|
|
|
|
|
|
|
|
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.
|