Skip to Content
Menu
v 14.0 Third Party 19
Download for v 14.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Inventory (stock)
Manufacturing (mrp)
Point of Sale (point_of_sale)
Discuss (mail)
Invoicing (account)
Lines of code 363
Technical Name calc_orderpoint
LicenseAGPL-3
Websitehttps://vertel.se/apps/odoo-stock/calc_orderpoint
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Inventory (stock)
Manufacturing (mrp)
Point of Sale (point_of_sale)
Discuss (mail)
Invoicing (account)
Lines of code 363
Technical Name calc_orderpoint
LicenseAGPL-3
Websitehttps://vertel.se/apps/odoo-stock/calc_orderpoint
Calculates
  • consumtion_per_day (How many items consumes per day)
  • orderpoint_computed (consumtion_per_day * delay)
  • virtual_available_days (How many days will stock be available)

delay is calculated by sellers delay + po lead for the company or produce_delay + the company manufacturing lead.

Consumtion per day are calculated from number of days the product has been sold (up to a year) and how many items sold during the same period.

Calculated orderpoint are displayed for reordering rules minimum quantity.

The calculations are performed by a cron job. They can be very taxing if there are many sale order lines. To avoid timeouts and other issues, the job is set to run on 5 minute intervals, calculating up to 30 products, or for a maximum duration of 4 minutes. A simple schedule is also implemented, defaulting to between 00:00 and 06:00 in admin's timezone. All three of these values can be configured through system parameters.

System Parameters
  • calc_orderpoint.schedule - A simple schedule. Space separated list of

start and stop hours, e.g. "0 4 18 24" (between 00:00 and 04:00, and 18:00 and 00:00)

  • calc_orderpoint.time_limit - The time limit in minutes. Float value.
  • calc_orderpoint.product_limit - The max number of products. Integer.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.