Skip to content

Commit c3e26b3

Browse files
committed
[IMP] stock_split_picking: pre-commit stuff
1 parent bb38ea4 commit c3e26b3

File tree

9 files changed

+77
-68
lines changed

9 files changed

+77
-68
lines changed

stock_split_picking/README.rst

+34-32
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,25 @@ Split picking
1717
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1818
:alt: License: AGPL-3
1919
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github
20-
:target: https://github.com/OCA/stock-logistics-workflow/tree/16.0/stock_split_picking
20+
:target: https://github.com/OCA/stock-logistics-workflow/tree/17.0/stock_split_picking
2121
:alt: OCA/stock-logistics-workflow
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_split_picking
23+
:target: https://translation.odoo-community.org/projects/stock-logistics-workflow-17-0/stock-logistics-workflow-17-0-stock_split_picking
2424
:alt: Translate me on Weblate
2525
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-workflow&target_branch=16.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-workflow&target_branch=17.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
3030

3131
This module adds a "Split" button on the outgoing pickings form.
3232

3333
It works like the classical picking Transfer but it leaves both pickings
34-
(picking and its backorder) as confirmed without processing the transfer.
34+
(picking and its backorder) as confirmed without processing the
35+
transfer.
3536

36-
You can also choose to put all moves into separate pickings, or select moves
37-
to be put into a new picking.
37+
You can also choose to put all moves into separate pickings, or select
38+
moves to be put into a new picking.
3839

3940
**Table of contents**
4041

@@ -44,53 +45,54 @@ to be put into a new picking.
4445
Usage
4546
=====
4647

47-
#. Go to **Inventory** dashboard and open any picking.
48-
#. If picking state is **available** you can see an split button.
49-
#. On the "Operations" tab, fill the field "Done" to the quantity you want to
50-
split for each line.
51-
#. If you click on **Split** button, wizard will split current picking into
52-
two different pickings depends on quantity done you entered above.
53-
#. Both pickings remain confirmed.
54-
#. When splitting a picking in an unassigned state, wizard won't
55-
be auto completed with picking lines.
48+
1. Go to **Inventory** dashboard and open any picking.
49+
2. If picking state is **available** you can see an split button.
50+
3. On the "Operations" tab, fill the field "Done" to the quantity you
51+
want to split for each line.
52+
4. If you click on **Split** button, wizard will split current picking
53+
into two different pickings depends on quantity done you entered
54+
above.
55+
5. Both pickings remain confirmed.
56+
6. When splitting a picking in an unassigned state, wizard won't be auto
57+
completed with picking lines.
5658

5759
Bug Tracker
5860
===========
5961

6062
Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-workflow/issues>`_.
6163
In case of trouble, please check there if your issue has already been reported.
6264
If you spotted it first, help us to smash it by providing a detailed and welcomed
63-
`feedback <https://github.com/OCA/stock-logistics-workflow/issues/new?body=module:%20stock_split_picking%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
65+
`feedback <https://github.com/OCA/stock-logistics-workflow/issues/new?body=module:%20stock_split_picking%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
6466

6567
Do not contact contributors directly about support or help with technical issues.
6668

6769
Credits
6870
=======
6971

7072
Authors
71-
~~~~~~~
73+
-------
7274

7375
* Camptocamp
7476
* Tecnativa
7577
* ForgeFlow S.L.
7678

7779
Contributors
78-
~~~~~~~~~~~~
79-
80-
* Nicolas Bessi <nicolas.bessi@camptocamp.com>
81-
* Guewen Baconnier <guewen.baconnier@camptocamp.com>
82-
* Yannick Vaucher <yannick.vaucher@camptocamp.com>
83-
* Vicent Cubells <vicent.cubells@tecnativa.com>
84-
* Julien Coux <julien.coux@camptocamp.com>
85-
* Andrius Preimantas <andrius@versada.eu>
86-
* Holger Brunn <mail@hunki-enterprises.com>
87-
* Rujia Liu <rujial@roof.co.nz>
88-
* Bernat Puig <bernat.puig@forgeflow.com>
89-
* Pimolnat Suntian <pimolnats@ecosoft.co.th>
90-
* Yoshi Tashiro <tashiro@quartile.co>
80+
------------
81+
82+
- Nicolas Bessi <nicolas.bessi@camptocamp.com>
83+
- Guewen Baconnier <guewen.baconnier@camptocamp.com>
84+
- Yannick Vaucher <yannick.vaucher@camptocamp.com>
85+
- Vicent Cubells <vicent.cubells@tecnativa.com>
86+
- Julien Coux <julien.coux@camptocamp.com>
87+
- Andrius Preimantas <andrius@versada.eu>
88+
- Holger Brunn <mail@hunki-enterprises.com>
89+
- Rujia Liu <rujial@roof.co.nz>
90+
- Bernat Puig <bernat.puig@forgeflow.com>
91+
- Pimolnat Suntian <pimolnats@ecosoft.co.th>
92+
- Yoshi Tashiro <tashiro@quartile.co>
9193

9294
Maintainers
93-
~~~~~~~~~~~
95+
-----------
9496

9597
This module is maintained by the OCA.
9698

@@ -102,6 +104,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
102104
mission is to support the collaborative development of Odoo features and
103105
promote its widespread use.
104106

105-
This module is part of the `OCA/stock-logistics-workflow <https://github.com/OCA/stock-logistics-workflow/tree/16.0/stock_split_picking>`_ project on GitHub.
107+
This module is part of the `OCA/stock-logistics-workflow <https://github.com/OCA/stock-logistics-workflow/tree/17.0/stock_split_picking>`_ project on GitHub.
106108

107109
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

stock_split_picking/models/stock_picking.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def _create_split_backorder(self, default=None):
8383
"move_line_ids": [],
8484
"backorder_id": self.id,
8585
},
86-
**(default or {})
86+
**(default or {}),
8787
)
8888
)
8989
self.message_post(

stock_split_picking/pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
- Nicolas Bessi \<<nicolas.bessi@camptocamp.com>\>
2+
- Guewen Baconnier \<<guewen.baconnier@camptocamp.com>\>
3+
- Yannick Vaucher \<<yannick.vaucher@camptocamp.com>\>
4+
- Vicent Cubells \<<vicent.cubells@tecnativa.com>\>
5+
- Julien Coux \<<julien.coux@camptocamp.com>\>
6+
- Andrius Preimantas \<<andrius@versada.eu>\>
7+
- Holger Brunn \<<mail@hunki-enterprises.com>\>
8+
- Rujia Liu \<<rujial@roof.co.nz>\>
9+
- Bernat Puig \<<bernat.puig@forgeflow.com>\>
10+
- Pimolnat Suntian \<<pimolnats@ecosoft.co.th>\>
11+
- Yoshi Tashiro \<<tashiro@quartile.co>\>

stock_split_picking/readme/CONTRIBUTORS.rst

-11
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
This module adds a "Split" button on the outgoing pickings form.
22

33
It works like the classical picking Transfer but it leaves both pickings
4-
(picking and its backorder) as confirmed without processing the transfer.
4+
(picking and its backorder) as confirmed without processing the
5+
transfer.
56

6-
You can also choose to put all moves into separate pickings, or select moves
7-
to be put into a new picking.
7+
You can also choose to put all moves into separate pickings, or select
8+
moves to be put into a new picking.

stock_split_picking/readme/USAGE.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
1. Go to **Inventory** dashboard and open any picking.
2+
2. If picking state is **available** you can see an split button.
3+
3. On the "Operations" tab, fill the field "Done" to the quantity you
4+
want to split for each line.
5+
4. If you click on **Split** button, wizard will split current picking
6+
into two different pickings depends on quantity done you entered
7+
above.
8+
5. Both pickings remain confirmed.
9+
6. When splitting a picking in an unassigned state, wizard won't be
10+
auto completed with picking lines.

stock_split_picking/readme/USAGE.rst

-9
This file was deleted.

stock_split_picking/static/description/index.html

+14-12
Original file line numberDiff line numberDiff line change
@@ -369,12 +369,13 @@ <h1 class="title">Split picking</h1>
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370
!! source digest: sha256:d0c8cc5569a7e17790e09922c2a904c4d98b73bce7b3d4d769639b93d6a94da1
371371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372-
<p><a class="reference external image-reference" 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 image-reference" 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 image-reference" href="https://github.com/OCA/stock-logistics-workflow/tree/16.0/stock_split_picking"><img alt="OCA/stock-logistics-workflow" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_split_picking"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-workflow&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372+
<p><a class="reference external image-reference" 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 image-reference" 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 image-reference" href="https://github.com/OCA/stock-logistics-workflow/tree/17.0/stock_split_picking"><img alt="OCA/stock-logistics-workflow" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/stock-logistics-workflow-17-0/stock-logistics-workflow-17-0-stock_split_picking"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-workflow&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373373
<p>This module adds a “Split” button on the outgoing pickings form.</p>
374374
<p>It works like the classical picking Transfer but it leaves both pickings
375-
(picking and its backorder) as confirmed without processing the transfer.</p>
376-
<p>You can also choose to put all moves into separate pickings, or select moves
377-
to be put into a new picking.</p>
375+
(picking and its backorder) as confirmed without processing the
376+
transfer.</p>
377+
<p>You can also choose to put all moves into separate pickings, or select
378+
moves to be put into a new picking.</p>
378379
<p><strong>Table of contents</strong></p>
379380
<div class="contents local topic" id="contents">
380381
<ul class="simple">
@@ -393,21 +394,22 @@ <h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
393394
<ol class="arabic simple">
394395
<li>Go to <strong>Inventory</strong> dashboard and open any picking.</li>
395396
<li>If picking state is <strong>available</strong> you can see an split button.</li>
396-
<li>On the “Operations” tab, fill the field “Done” to the quantity you want to
397-
split for each line.</li>
398-
<li>If you click on <strong>Split</strong> button, wizard will split current picking into
399-
two different pickings depends on quantity done you entered above.</li>
397+
<li>On the “Operations” tab, fill the field “Done” to the quantity you
398+
want to split for each line.</li>
399+
<li>If you click on <strong>Split</strong> button, wizard will split current picking
400+
into two different pickings depends on quantity done you entered
401+
above.</li>
400402
<li>Both pickings remain confirmed.</li>
401-
<li>When splitting a picking in an unassigned state, wizard won’t
402-
be auto completed with picking lines.</li>
403+
<li>When splitting a picking in an unassigned state, wizard won’t be auto
404+
completed with picking lines.</li>
403405
</ol>
404406
</div>
405407
<div class="section" id="bug-tracker">
406408
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
407409
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/stock-logistics-workflow/issues">GitHub Issues</a>.
408410
In case of trouble, please check there if your issue has already been reported.
409411
If you spotted it first, help us to smash it by providing a detailed and welcomed
410-
<a class="reference external" href="https://github.com/OCA/stock-logistics-workflow/issues/new?body=module:%20stock_split_picking%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
412+
<a class="reference external" href="https://github.com/OCA/stock-logistics-workflow/issues/new?body=module:%20stock_split_picking%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
411413
<p>Do not contact contributors directly about support or help with technical issues.</p>
412414
</div>
413415
<div class="section" id="credits">
@@ -443,7 +445,7 @@ <h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
443445
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
444446
mission is to support the collaborative development of Odoo features and
445447
promote its widespread use.</p>
446-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/stock-logistics-workflow/tree/16.0/stock_split_picking">OCA/stock-logistics-workflow</a> project on GitHub.</p>
448+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/stock-logistics-workflow/tree/17.0/stock_split_picking">OCA/stock-logistics-workflow</a> project on GitHub.</p>
447449
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
448450
</div>
449451
</div>

0 commit comments

Comments
 (0)