Vauxoo / odoo

Fork of Odoo (formerly OpenERP). [This project is not publically mantained just born for internal usage with some little patches] go to official repository on github.com/odoo/odoo
https://www.odoo.com
Other
9 stars 9 forks source link

[IMP] sale_stock: Allow to see the quantity available by warehouse only #384

Closed JulioSerna closed 3 years ago

JulioSerna commented 3 years ago

from the main location of the each warehouse,

Before this commit if you have the setting WH/stock WH/other_not_for_the_sales (it could here a location that I do not want to consider like stock available by te sale e.g warranty, demos, ... )

Stock avaiable into WH/stock---10 Units Stock available into WH/other_not_for_the_sales---10 Units

The warning from sales says that you have 20 Units available

After this commit, the warning says, that you have 10 Units, only the stock available from the main location fo the warehouse of the sale order

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:

-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr