Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to release reservation or confirm sales quotation when > 1 quotation lines #50

Closed
mlaitinen opened this issue Apr 25, 2015 · 1 comment

Comments

@mlaitinen
Copy link
Contributor

I'm unable to confirm a sales quotation or release all order line reservations if there are more than 1 sale.order.line with reservations.

The error message is ('ValueError', 'Expected singleton: stock.reservation(34, 35)')

Steps to reproduce:

  1. Create a sales quotation with more than one reservable product lines
  2. Reserve all products, separately or all at once
  3. Confirm the sales quotation or release all lines at once (not separately. that works.)
mlaitinen added a commit to avoinsystems/stock-logistics-warehouse that referenced this issue Apr 25, 2015
@mlaitinen
Copy link
Contributor Author

I have a commit for this, but I'm not sure how to create a pull request without including the translations, which are already committed in pull request #49.

mlaitinen added a commit to avoinsystems/stock-logistics-warehouse that referenced this issue Jul 11, 2015
clonedagain pushed a commit to numerigraphe/stock-logistics-warehouse that referenced this issue Oct 7, 2015
* team/8.0-_conflicts-2015-09-10: (30 commits)
  Migrate stock_available_sale to v8
  Restore the features of stock_available_immediately
  Revert "[DEL] removed references to product.py, not needed anymore, the quant calculations done in product template are fine."
  Revert "[DEL] remove old tests, rewriting"
  Remove loop and use correct decorator
  Revert changes to computation of _immediately_usable_qty
  [FIX] stock_available : update sublocations computation
  Fix translation
  Change translation stock/existencias
  Add Spanish translation of stock reserve modules
  Update travis configuration
  Replaced for loop in release() with mapped()
  [ADD] Tests
  [FIX] searching on products, leaving full calculations not using internal qty_available that seems not to take in consideration reserved quants.
  Multiple reservations can now be released at once. This fixes issue OCA#50.
  [DEL] remove old tests, rewriting
  [DEL] removed references to product.py, not needed anymore, the quant calculations done in product template are fine.
  [FIX] typo
  [ADD} location calculations
  [Fix] Typo
  ...

* team/8.0-stock-available-sale: (30 commits)
  Try another way to quote python in RST to please Travis
  force recomputation of stock.location hierachy
  update travis config, setup transifex
  Add directions to block quotations using sale_exceptions
  'Quoted qty' is now positive. Explain UoM feature drop.
  Migrate stock_available_sale to v8
  [FIX] stock_available : update sublocations computation
  Fix translation
  Change translation stock/existencias
  Add Spanish translation of stock reserve modules
  Update travis configuration
  Replaced for loop in release() with mapped()
  [ADD] Tests
  [FIX] searching on products, leaving full calculations not using internal qty_available that seems not to take in consideration reserved quants.
  Multiple reservations can now be released at once. This fixes issue OCA#50.
  [DEL] remove old tests, rewriting
  [DEL] removed references to product.py, not needed anymore, the quant calculations done in product template are fine.
  [FIX] typo
  [ADD} location calculations
  [Fix] Typo
  ...

* team/8.0-stock_available-based-on-virtual: (34 commits)
  Fix the beta lint checks of Travis
  force recomputation of stock.location hierachy
  update travis config, setup transifex
  PEP8
  Restore the qty avail. to promise on variant treeview
  Restore the features of stock_available_immediately
  Revert "[DEL] removed references to product.py, not needed anymore, the quant calculations done in product template are fine."
  Revert "[DEL] remove old tests, rewriting"
  Remove loop and use correct decorator
  Revert changes to computation of _immediately_usable_qty
  [FIX] stock_available : update sublocations computation
  Fix translation
  Change translation stock/existencias
  Add Spanish translation of stock reserve modules
  Update travis configuration
  Replaced for loop in release() with mapped()
  [ADD] Tests
  [FIX] searching on products, leaving full calculations not using internal qty_available that seems not to take in consideration reserved quants.
  Multiple reservations can now be released at once. This fixes issue OCA#50.
  [DEL] remove old tests, rewriting
  ...
jesusVMayor pushed a commit to Comunitea/stock-logistics-warehouse that referenced this issue Dec 27, 2018
jesusVMayor pushed a commit to Comunitea/stock-logistics-warehouse that referenced this issue Dec 27, 2018
hzh0292 pushed a commit to hzh0292/stock-logistics-warehouse that referenced this issue Jun 28, 2019
RodrigoBM pushed a commit to factorlibre/stock-logistics-warehouse that referenced this issue Apr 16, 2020
CarlosRoca13 pushed a commit to Tecnativa/stock-logistics-warehouse that referenced this issue Jul 22, 2021
CarlosRoca13 pushed a commit to Tecnativa/stock-logistics-warehouse that referenced this issue Jul 23, 2021
CarlosRoca13 pushed a commit to Tecnativa/stock-logistics-warehouse that referenced this issue Jul 23, 2021
CarlosRoca13 pushed a commit to Tecnativa/stock-logistics-warehouse that referenced this issue Jul 27, 2021
CarlosRoca13 pushed a commit to Tecnativa/stock-logistics-warehouse that referenced this issue Jul 28, 2021
CarlosRoca13 pushed a commit to Tecnativa/stock-logistics-warehouse that referenced this issue Jul 29, 2021
CarlosRoca13 pushed a commit to Tecnativa/stock-logistics-warehouse that referenced this issue Jul 29, 2021
CarlosRoca13 pushed a commit to Tecnativa/stock-logistics-warehouse that referenced this issue Aug 16, 2021
CarlosRoca13 pushed a commit to Tecnativa/stock-logistics-warehouse that referenced this issue Aug 16, 2021
omar7r pushed a commit to Comunitea/stock-logistics-warehouse that referenced this issue Aug 25, 2021
omar7r pushed a commit to Comunitea/stock-logistics-warehouse that referenced this issue Aug 25, 2021
mt-software-de pushed a commit to mt-software-de/stock-logistics-warehouse that referenced this issue Jan 10, 2022
mt-software-de pushed a commit to mt-software-de/stock-logistics-warehouse that referenced this issue Jan 10, 2022
mt-software-de pushed a commit to mt-software-de/stock-logistics-warehouse that referenced this issue Jul 4, 2022
flachica pushed a commit to flachica/stock-logistics-warehouse that referenced this issue Sep 14, 2022
flachica pushed a commit to flachica/stock-logistics-warehouse that referenced this issue Sep 14, 2022
OCA-git-bot pushed a commit to mt-software-de/stock-logistics-warehouse that referenced this issue Oct 11, 2022
flachica pushed a commit to flachica/stock-logistics-warehouse that referenced this issue Oct 27, 2022
omar7r pushed a commit to Comunitea/stock-logistics-warehouse that referenced this issue Nov 27, 2022
omar7r pushed a commit to Comunitea/stock-logistics-warehouse that referenced this issue Nov 27, 2022
OCA-git-bot pushed a commit to mt-software-de/stock-logistics-warehouse that referenced this issue Dec 29, 2022
OCA-git-bot pushed a commit to mt-software-de/stock-logistics-warehouse that referenced this issue Dec 29, 2022
victoralmau pushed a commit to Tecnativa/stock-logistics-warehouse that referenced this issue Jan 12, 2023
OCA-git-bot pushed a commit to mt-software-de/stock-logistics-warehouse that referenced this issue Jan 19, 2023
mt-software-de pushed a commit to mt-software-de/stock-logistics-warehouse that referenced this issue Jan 19, 2023
mt-software-de pushed a commit to mt-software-de/stock-logistics-warehouse that referenced this issue Jan 20, 2023
aliciagaarzo pushed a commit to factorlibre/stock-logistics-warehouse that referenced this issue Apr 17, 2023
XanderDeJaegere pushed a commit to XanderDeJaegere/stock-logistics-warehouse that referenced this issue Apr 21, 2023
rvalyi pushed a commit to akretion/stock-logistics-warehouse that referenced this issue Apr 25, 2023
gschrott-osi pushed a commit to ursais/stock-logistics-warehouse that referenced this issue Jun 5, 2023
hugo-cordoba pushed a commit to factorlibre/stock-logistics-warehouse that referenced this issue Jul 11, 2023
AungKoKoLin1997 pushed a commit to qrtl/stock-logistics-warehouse that referenced this issue Aug 24, 2023
bguillot pushed a commit to akretion/stock-logistics-warehouse that referenced this issue Feb 8, 2024
astirpe pushed a commit to astirpe/stock-logistics-warehouse that referenced this issue Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants