===================
Sale Block no Stock
===================
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:408792731be049ad77a018ccc6404bc72e66f817d177fa1cb510301be225d759
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/sale-workflow/tree/16.0/sale_block_no_stock
:alt: OCA/sale-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_block_no_stock
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=16.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
This module extends the functionality of Sales to support blocking sales
and to allow you to ensure you are capable to send product you have in
stock.
When a Sale Order is going to be confirmed, it will be checked if the
quantity demanded exceeds that of the field selected in the
configuration, and in this case a wizard will appear to allow you to fix
quantities indicating what is the maximum quantity that can be ordered.
Then, you can adjust UoM quantities, Packaging quantities or move
remaining unfixed lines to a new order.
If the user who is confirming an order has a group that is allowed, an
extra option to confirm the Order with errors will appear on the Wizard.
This module only can block lines with product type 'product' (storable
products).
Internal notes will be posted on sales when adjusting quantities or
moving to another orders.
.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_
**Table of contents**
.. contents::
:local:
Use Cases / Context
===================
This module was developed because sometimes you don't want to allow a
sale to be confirmed when there is no enough product to sold.
It will be useful for you if selling more than you have in stock or
planned is not a desired behaviour.
Configuration
=============
To configure this module, you need to:
1. Go to Settings > Sales > Quotations & Orders > Blocking sales due to
lack of stock
2. Fill *Field to compare against the quantity demanded*. Possible
values:
- *virtual_available_at_date*: Planned quantity to be in stock on the
day of delivery
- *qty_available_today*: Quantity available in stock today
- *free_qty_today*: Quantity available without reserve in stock
3. Fill *Groups allowed to bypass the block*
Usage
=====
To use this module, you need to:
1. Go to Settings > Sales > Quotations & Orders > Blocking sales due to
lack of stock
2. Fill *Field to compare against the quantity demanded*: This field
will be used to check if the quantity demanded is less than or equal
to the value marked in this field. Set it to
*virtual_available_at_date* for this test.
3. Fill *Groups allowed to bypass the block*: These groups will allow
the blocking to be bypassed if the quantity demanded exceeds the
quantity we want to check. Leave it blank to not allow any group to
bypass that restriction.
4. Create a Product and set it to be storable.
5. Create a Purchase Order for the product and confirm it. Set the
Picking Schedule Date on 3 days.
6. Create a Sale Order with the product and set the Commitment Date on 2
days. Confirm it and check the wizard.
7. Click on *Ajust UoM Quantity* and see the order has been modified to
match forecasted quantity.
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_block_no_stock%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Do not contact contributors directly about support or help with technical issues.
Credits
=======
Authors
-------
* Moduon
Contributors
------------
- Eduardo de Miguel (`Moduon <https://www.moduon.team/>`__)
- Rafael Blasco (`Moduon <https://www.moduon.team/>`__)
Other credits
-------------
The development of this module has been financially supported by:
- Ulzama
Maintainers
-----------
This module is maintained by the OCA.
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
.. |maintainer-Shide| image:: https://github.com/Shide.png?size=40px
:target: https://github.com/Shide
:alt: Shide
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|maintainer-Shide|
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/16.0/sale_block_no_stock>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Raw data
{
"_id": null,
"home_page": "https://github.com/OCA/sale-workflow",
"name": "odoo-addon-sale-block-no-stock",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": null,
"author": "Moduon, Odoo Community Association (OCA)",
"author_email": "support@odoo-community.org",
"download_url": null,
"platform": null,
"description": "===================\nSale Block no Stock\n===================\n\n.. \n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n !! This file is generated by oca-gen-addon-readme !!\n !! changes will be overwritten. !!\n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n !! source digest: sha256:408792731be049ad77a018ccc6404bc72e66f817d177fa1cb510301be225d759\n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png\n :target: https://odoo-community.org/page/development-status\n :alt: Alpha\n.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png\n :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html\n :alt: License: LGPL-3\n.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github\n :target: https://github.com/OCA/sale-workflow/tree/16.0/sale_block_no_stock\n :alt: OCA/sale-workflow\n.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png\n :target: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_block_no_stock\n :alt: Translate me on Weblate\n.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png\n :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=16.0\n :alt: Try me on Runboat\n\n|badge1| |badge2| |badge3| |badge4| |badge5|\n\nThis module extends the functionality of Sales to support blocking sales\nand to allow you to ensure you are capable to send product you have in\nstock.\n\nWhen a Sale Order is going to be confirmed, it will be checked if the\nquantity demanded exceeds that of the field selected in the\nconfiguration, and in this case a wizard will appear to allow you to fix\nquantities indicating what is the maximum quantity that can be ordered.\n\nThen, you can adjust UoM quantities, Packaging quantities or move\nremaining unfixed lines to a new order.\n\nIf the user who is confirming an order has a group that is allowed, an\nextra option to confirm the Order with errors will appear on the Wizard.\n\nThis module only can block lines with product type 'product' (storable\nproducts).\n\nInternal notes will be posted on sales when adjusting quantities or\nmoving to another orders.\n\n.. IMPORTANT::\n This is an alpha version, the data model and design can change at any time without warning.\n Only for development or testing purpose, do not use in production.\n `More details on development status <https://odoo-community.org/page/development-status>`_\n\n**Table of contents**\n\n.. contents::\n :local:\n\nUse Cases / Context\n===================\n\nThis module was developed because sometimes you don't want to allow a\nsale to be confirmed when there is no enough product to sold.\n\nIt will be useful for you if selling more than you have in stock or\nplanned is not a desired behaviour.\n\nConfiguration\n=============\n\nTo configure this module, you need to:\n\n1. Go to Settings > Sales > Quotations & Orders > Blocking sales due to\n lack of stock\n2. Fill *Field to compare against the quantity demanded*. Possible\n values:\n\n- *virtual_available_at_date*: Planned quantity to be in stock on the\n day of delivery\n- *qty_available_today*: Quantity available in stock today\n- *free_qty_today*: Quantity available without reserve in stock\n\n3. Fill *Groups allowed to bypass the block*\n\nUsage\n=====\n\nTo use this module, you need to:\n\n1. Go to Settings > Sales > Quotations & Orders > Blocking sales due to\n lack of stock\n2. Fill *Field to compare against the quantity demanded*: This field\n will be used to check if the quantity demanded is less than or equal\n to the value marked in this field. Set it to\n *virtual_available_at_date* for this test.\n3. Fill *Groups allowed to bypass the block*: These groups will allow\n the blocking to be bypassed if the quantity demanded exceeds the\n quantity we want to check. Leave it blank to not allow any group to\n bypass that restriction.\n4. Create a Product and set it to be storable.\n5. Create a Purchase Order for the product and confirm it. Set the\n Picking Schedule Date on 3 days.\n6. Create a Sale Order with the product and set the Commitment Date on 2\n days. Confirm it and check the wizard.\n7. Click on *Ajust UoM Quantity* and see the order has been modified to\n match forecasted quantity.\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/issues>`_.\nIn case of trouble, please check there if your issue has already been reported.\nIf you spotted it first, help us to smash it by providing a detailed and welcomed\n`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_block_no_stock%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.\n\nDo not contact contributors directly about support or help with technical issues.\n\nCredits\n=======\n\nAuthors\n-------\n\n* Moduon\n\nContributors\n------------\n\n- Eduardo de Miguel (`Moduon <https://www.moduon.team/>`__)\n- Rafael Blasco (`Moduon <https://www.moduon.team/>`__)\n\nOther credits\n-------------\n\nThe development of this module has been financially supported by:\n\n- Ulzama\n\nMaintainers\n-----------\n\nThis module is maintained by the OCA.\n\n.. image:: https://odoo-community.org/logo.png\n :alt: Odoo Community Association\n :target: https://odoo-community.org\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\n.. |maintainer-Shide| image:: https://github.com/Shide.png?size=40px\n :target: https://github.com/Shide\n :alt: Shide\n\nCurrent `maintainer <https://odoo-community.org/page/maintainer-role>`__:\n\n|maintainer-Shide| \n\nThis module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/16.0/sale_block_no_stock>`_ project on GitHub.\n\nYou are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.\n",
"bugtrack_url": null,
"license": "LGPL-3",
"summary": "Block Sales if products has not enough Quantity based on a chosen field",
"version": "16.0.2.0.0.2",
"project_urls": {
"Homepage": "https://github.com/OCA/sale-workflow"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "628f0cb50fe0c3b471b336ba5aab9dd68d81167eab59a205803bbafc28cf65ac",
"md5": "1f2046b8699114c01e163f28323ca58f",
"sha256": "5648c3c3fab4d7551883ea574df195e17f9646d19eff6485137e17b78dbef7eb"
},
"downloads": -1,
"filename": "odoo_addon_sale_block_no_stock-16.0.2.0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1f2046b8699114c01e163f28323ca58f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 42380,
"upload_time": "2024-07-09T04:20:50",
"upload_time_iso_8601": "2024-07-09T04:20:50.809190Z",
"url": "https://files.pythonhosted.org/packages/62/8f/0cb50fe0c3b471b336ba5aab9dd68d81167eab59a205803bbafc28cf65ac/odoo_addon_sale_block_no_stock-16.0.2.0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-09 04:20:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "OCA",
"github_project": "sale-workflow",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "odoo-addon-sale-block-no-stock"
}