← Back to team overview

openerp-india team mailing list archive

[Bug 921866] Re: Scheduler created PO's affects virtual stock

 

Hello,

This is an old post, but if anyone is still using 6.1 and need purchase
orders to merge automatically, I created a much simpler module. It is
very lightweight and does not require any system modifications. There is
already the functionality to merge purchase orders in OpenERP but it
must be done manually. So what I did is just create a scheduler that
will do this automatically using the same logic already in place.

It merges scheduler Po's M20 po's, all of it. It will adjust the
quantities correctly as well.

Here if anyone wants it.

https://code.launchpad.net/~gekkotek/+junk/purchase_merge_scheduler

** Changed in: openobject-addons
     Assignee: Kyle Waid (midwest) => (unassigned)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/921866

Title:
  Scheduler created PO's affects virtual stock

Status in OpenERP Addons (modules):
  In Progress

Bug description:
  I have min/max rules setup. When the scheduler runs nightly it auto-
  generates purchase orders. It generates them correctly. They are in
  quotation state.

  The problem is that they affect virtual stock. If I have 5 parts left
  in stock. A minimum rule of 10. It creates a purchase order for 5 in
  quotation. Now it says I have 10 in virtual stock, but this is not
  right. It should never ever effect virtual stock unless it is
  confirmed. A quotation has no value.

  Does it do this behavior intentionally to avoid creating the same
  purchase order again the next night? If so thats a bad work around.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/921866/+subscriptions


References