Accrued and prepaid expense/revenue from pickings
Project description
This module generates expense/revenue accruals and prepaid expense/revenue based on the status of orders, pickings and invoices. The module is named account_cutoff_accrual_picking because it initially only supported accruals ; support for prepaid expense/revenue was added later (it should be renamed in later versions).
To understand the behavior of this module, let’s take the example of an expense accrual. When you click on the button Re-Generate Lines of an Expense Accrual:
Odoo will look for all incoming picking in Done state with a Transfer Date <= Cut-off Date. For performance reasons, by default, the incoming picking dated before Cut-off Date minus 30 days will not be taken into account (this limit is configurable via the field Picking Analysis). It will go to the stock moves of those pickings and see if they are linked to a purchase order line.
Once this analysis is completed, Odoo has a list of purchase order lines to analyse for potential expense accrual.
For each of these purchase order lines, Odoo will:
scan the related stock moves in done state and check their transfer date,
scan the related invoices lines and check their invoice date.
If, for a particular purchase order line, the quantity of products received before the cutoff-date (or on the same day) minus the quantity of products invoiced before the cut-off date (or on the same day) is positive, Odoo will generate a cut-off line.
Now, let’s take the example of a prepaid expense. When you click on the button Re-Generate Lines of a Prepaid Expense:
Odoo will look for all vendor bills dated before (or equal to) Cut-off Date. For performance reasons, by default, the vendor bills dated before Cut-off Date minus 30 days will not be taken into account (this limit is configurable via the field Picking Analysis). It will go to the invoice lines of those vendor bills and see if they are linked to a purchase order line.
Once this analysis is completed, Odoo has a list of purchase order lines to analyse for potential prepaid expense.
For each of these purchase order lines, Odoo will:
scan the related stock moves in done state and check their transfer date,
scan the related invoices lines and check their invoice date.
If, for a particular purchase order line, the quantity of products invoiced before the cutoff-date (or on the same day) minus the quantity of products received before the cut-off date (or on the same day) is positive, Odoo will generate a cut-off line.
This module should work well with multiple units of measure (including products purchased and invoiced in different units of measure) and in multi-currency.
Table of contents
Configuration
For configuration instructions, refer to the README of the module account_cutoff_base.
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 to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Alexis de Lattre <alexis.delattre@akretion.com>
Other credits
The migration of this module from 16.0 to 17.0 was financially supported by Camptocamp
Maintainers
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.
Current maintainer:
This module is part of the OCA/account-closing project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo_addon_account_cutoff_picking-17.0.1.1.1-py3-none-any.whl
.
File metadata
- Download URL: odoo_addon_account_cutoff_picking-17.0.1.1.1-py3-none-any.whl
- Upload date:
- Size: 197.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae5c137e2ad0ed1667fea5761063ce116059e540c539c93c1e853b08144d544d |
|
MD5 | 29edac986005102a56a76178f0846a98 |
|
BLAKE2b-256 | a48da04b3c00313be0ca76f41dd199d239b1633c67be7d257b4c7a30b4b20f35 |