Skip to main content

Sale stock exception

Project description

This addon adds two new sales exceptions to be used by the sale_exception addon:

  • The first one ensures that an order line can be delivered on the delivery date if it is in MTS. Validation is done by using the order line location via related shop and using the line delay.

  • The second one will create a sales exception if the current SO will break a sales order already placed in the future.

The second test will only look for stock moves that pass by the line location, so if your stock have children or if you have configured automated stock actions they must pass by the location related to the SO line, else they will be ignored.

If the module sale_owner_stock_sourcing is installed, each sale order line can specify a stock owner. In that case, the owner will be used when computing the virtual stock availability. For this to work correctly, https://github.com/odoo/odoo/issues/5814 needs to be fixed (fixes are proposed both for odoo and OCB).

Warning:

The second test is a workaround to compensate the lack of stock reservation process in OpenERP. This can be a performance killer and should not be be used if you have hundreds of simultaneous open SO.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo8_addon_sale_exception_nostock-8.0.1.2.0.99.dev12-py2-none-any.whl.

File metadata

File hashes

Hashes for odoo8_addon_sale_exception_nostock-8.0.1.2.0.99.dev12-py2-none-any.whl
Algorithm Hash digest
SHA256 462c28886859f6ea5b99a96546a7f400e0bf04b522a91702b9d83ec7542d5f68
MD5 9bb158db9c899f4ac828ddc48cbab0de
BLAKE2b-256 894f0072d0fe2fcc76ad8ea5770d8d96f5f091fa5096726451691efb241649a6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page