OdooWiki OCA HUB

Account Cut-off Accrual Sale Stock Delivery

account_cutoff_accrual_sale_stock_delivery folder_open OCA/account-closing open_in_new
Accounting & Finance License: AGPL-3

This module add tests when delivery module is used.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Glue module that makes cut-off accrual calculations on sales orders take delivery charges into account, so shipping lines are dated consistently with the products they ship.

This is a small technical bridge module that installs automatically when both the delivery and the sales cut-off accrual modules are present. Users do not get new menus or screens; instead, the way Odoo dates delivery charges for cut-off accrual entries becomes more accurate.

When Odoo computes the cut-off accrual for a sales order line that represents a delivery charge, it now looks at the other lines of the same order (excluding other delivery charges, down payments and section/note lines). It takes the earliest delivery date found among those product lines and compares it with the date the delivery line was created.

  • The delivery charge is dated at the later of those two dates, so it is not accrued before the goods it relates to were actually delivered.
  • If no product line has a delivery date, the delivery line keeps its normal behaviour.
  • The company's time zone is used when converting the creation date, so the result matches the user's local calendar day.

It touches the sales order line model (sale.order.line) and relies on the cut-off accrual mixin. In practice, accountants preparing cut-off accrual entries for sales with shipping charges get dates that follow the real delivery of the products.

Models and fields (1)
  • sale.order.line · new model

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/account-closing.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.