Package: odoo13-addon-account-cutoff-accrual-picking
This module generates expense/revenue accruals and prepaid expense/revenue based on the status of orders, pickings and invoices. The module is namedaccount_cutoff_accrual_pickingbecause 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 buttonRe-Generate Linesof anExpense Accrual:Odoo will look for all incoming picking in Done state with aTransfer Date<=Cut-off Date. For performance reasons, by default, the incoming picking dated beforeCut-off Dateminus 90 days will not be taken into account (this limit is configurable via the fieldPicking 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 indonestate 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 buttonRe-Generate Linesof aPrepaid 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 beforeCut-off Dateminus 90 days will not be taken into account (this limit is configurable via the fieldPicking 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 indonestate 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 contentsConfigurationBug TrackerCreditsAuthorsContributorsMaintainersConfigurationFor configuration instructions, refer to the README of the modulesaccount_cutoff_baseandaccount_cutoff_accrual_base.Bug TrackerBugs are tracked onGitHub 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 welcomedfeedback.Do not contact contributors directly about support or help with technical issues.CreditsAuthorsAkretionContributorsAlexis de Lattre <alexis.delattre@akretion.com>MaintainersThis 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.Currentmaintainer:This module is part of theOCA/account-closingproject on GitHub.You are welcome to contribute. To learn how please visithttps://odoo-community.org/page/Contribute.