Skip to content

Commit

Permalink
[IMP] stock_location_orderpoint_cleanup: Allows to launch the cleanup…
Browse files Browse the repository at this point in the history
… wizard from orderpoints tree view
  • Loading branch information
rousseldenis committed May 23, 2024
1 parent f53b442 commit 9a5de92
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
6 changes: 5 additions & 1 deletion stock_location_orderpoint_cleanup/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Stock Location Orderpoint Cleanup
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:739484c7a49a9d7cfdcb53fbe8c0ac62ac0529692120c55ef0bd90119a2eb6c5
!! source digest: sha256:eb8c4835a580530c62b2dae66e7be81d3a74d54c2401f9370be24fdb8d7d3d0f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down Expand Up @@ -84,6 +84,10 @@ Usage
- In the wizard, check the 'Run After' box if you want the
orderpoint to be run after cleanup.

- You can also select several orderpoints from the list view and select
the action 'Cleanup Stock Location Orderpoints' that will launch the
wizard.

Bug Tracker
===========

Expand Down
2 changes: 2 additions & 0 deletions stock_location_orderpoint_cleanup/readme/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
on the orderpoint form level:
- Click on 'Cleanup replenishments'.
- In the wizard, check the 'Run After' box if you want the orderpoint to be run after cleanup.
- You can also select several orderpoints from the list view and select the action 'Cleanup Stock Location Orderpoints'
that will launch the wizard.
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ <h1 class="title">Stock Location Orderpoint Cleanup</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:739484c7a49a9d7cfdcb53fbe8c0ac62ac0529692120c55ef0bd90119a2eb6c5
!! source digest: sha256:eb8c4835a580530c62b2dae66e7be81d3a74d54c2401f9370be24fdb8d7d3d0f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/stock-logistics-orderpoint/tree/16.0/stock_location_orderpoint_cleanup"><img alt="OCA/stock-logistics-orderpoint" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--orderpoint-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/stock-logistics-orderpoint-16-0/stock-logistics-orderpoint-16-0-stock_location_orderpoint_cleanup"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-orderpoint&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module will help to clean generated moves from stock location
Expand Down Expand Up @@ -434,6 +434,9 @@ <h1><a class="toc-backref" href="#id3">Usage</a></h1>
orderpoint to be run after cleanup.</li>
</ul>
</li>
<li>You can also select several orderpoints from the list view and select
the action ‘Cleanup Stock Location Orderpoints’ that will launch the
wizard.</li>
</ul>
</div>
<div class="section" id="bug-tracker">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,16 @@
model="ir.actions.act_window"
id="stock_location_orderpoint_cleanup_act_window"
>
<field name="name">Stock Location Orderpoint Cleanup</field>
<field name="name">Cleanup Stock Location Orderpoints</field>
<field name="res_model">stock.location.orderpoint.cleanup</field>
<field name="view_mode">form</field>
<field name="context">{}</field>
<field name="target">new</field>
<field
name="binding_model_id"
ref="stock_location_orderpoint.model_stock_location_orderpoint"
/>
<field name="binding_view_types">list</field>
</record>


</odoo>

0 comments on commit 9a5de92

Please sign in to comment.