Community mailing list archives

Re: "Computed Purchase Order" Modules

Camptocamp SA, Joël Grand-Guillaume
- 09/17/2014 04:34:17
+1 to include it inside OCA under the purchase-workflow repository.

On Fri, Sep 12, 2014 at 1:26 PM, Sylvain LE GAL <> wrote:
Hi all,

In my company, we recently developped modules that realize something that we called "computed purchase order".

I would like to share this bunch of modules in OCA if possible.
- Are there some people interested by this feature ?
- In wich repository / repositories can I realize the PR ?
- I'm willing to change some part of my code to make my modules compatible with existing OCA modules;

Video demo: available here.

Purchaser decides to realize a new purchase order to a defined supplier.
->The module displays all the product linked to this supplier (with price);
-> It allows to compute what you have to buy. (quantity) depending of some parameters:
--> your stock; (1)
--> your average consumption of your product; (you have product you don't sell a lot and other you sell a lot);
--> An objective:
----> Objective of carriage; "franco de port" in french (not sure about the translation). IE: Some times the supplier only accepts to ship products if you buy 500 $ or 500kg of products)
----> Objective of number of days. (Some times, a supplier realizes a shippling each month only, so you have to be sure to have enought stock during the next 30 days); In this way, you can manage supplier hollidays;

After the compute of what the purchaser has to buy, the user can change manualy quantities, prices and convert to a "normal" purchase order.
If informations have changed, a wizard is available to update informations of all the products for that customer in one time (price / name and code of the supplier, etc.);

1/ The algorithm can be base on:
-> available stock; (=qty_available);
-> including "pending" stock; (=virtual_available);
-> including "draft" stock; new concept: (virtual_available + draft incoming qty - draft outgoing qty);
2/ Of course that module will not be usefull for all purchaser. It depend of how the purchaser realize the purchase order. But for my customers (little shop managers) it is very suitable.

3/ If somebody are interested to review that modules, please contact me.

Thanks & Regards.

Sylvain LE GAL
Service informatique
Groupement Régional Alimentaire de Proximité

3 Grande rue des feuillants 69001 Lyon
Bureau :
Astreinte :
Site Web :
Twitter :

Post to:



Joël Grand-Guillaume
Division Manager
Business Solutions

+41 21 619 10 28