Skip to content

Commit acc0272

Browse files
committed
[16.0][ADD] internal_stock_quant_package
1 parent f29eb83 commit acc0272

22 files changed

+1300
-0
lines changed
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
============================
2+
Internal Stock Quant Package
3+
============================
4+
5+
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
6+
!! This file is generated by oca-gen-addon-readme !!
7+
!! changes will be overwritten. !!
8+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
9+
10+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
11+
:target: https://odoo-community.org/page/development-status
12+
:alt: Beta
13+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
14+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
15+
:alt: License: AGPL-3
16+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--tracking-lightgray.png?logo=github
17+
:target: https://github.com/OCA/stock-logistics-tracking/tree/16.0/internal_stock_quant_package
18+
:alt: OCA/stock-logistics-tracking
19+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
20+
:target: https://translation.odoo-community.org/projects/stock-logistics-tracking-16-0/stock-logistics-tracking-16-0-internal_stock_quant_package
21+
:alt: Translate me on Weblate
22+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
23+
:target: https://runboat.odoo-community.org/webui/builds.html?repo=OCA/stock-logistics-tracking&target_branch=16.0
24+
:alt: Try me on Runboat
25+
26+
|badge1| |badge2| |badge3| |badge4| |badge5|
27+
28+
This module allows to declare internal stock quant package.
29+
30+
Sometimes, when an operator is picking, he needs to put the product in
31+
internal packages placed on his trolley that will be emptied later.
32+
33+
Two kinds of operations can lead to the emptying of the internal packages:
34+
35+
* when product from the internal packages will be 'put in pack' at the pack station (in a pick / pack / ship scenario)
36+
37+
* when a carrier will load his truck with the products from the internal packages (in a pick / ship scenario)
38+
39+
This modules extends the stock module to add the concept of internal stock
40+
quant package and therefore allows you to manage this kind of operational need.
41+
It ensures that the internal stock quant packages are emptied when required
42+
depending on the picking type configuration.
43+
44+
**Table of contents**
45+
46+
.. contents::
47+
:local:
48+
49+
Usage
50+
=====
51+
52+
As this addon rely on the concept of "internal" packages. If you want to
53+
use packages into your picking operations, you need first to activate the
54+
package functionality in the stock settings (see the "Operations" section).
55+
56+
Then, you need to create packages and set them as internal. This is done
57+
by going to Inventory > Products > Packages and clicking on the "Create".
58+
(Don't forget to tick the "Internal use" box).
59+
60+
By default, when you put your products into an internal package when processing
61+
a picking, once the picking is done, the package is automatically emptied.
62+
You can change this behavior at 2 levels:
63+
64+
1. At the picking type level: go to "Inventory > Configuration > Operation
65+
Types" and edit the picking type you want to change. Then, untick the "Empty
66+
Internal Package On Transfer" box. (By default internal packages are always
67+
emptied when the picking is done).
68+
69+
2. At the picking type level for a specific carrier: go to "Inventory >
70+
Configuration > Operation Types" and edit the picking type you want to change.
71+
Then, add or remove lines in the "Stock Internal Package Config Line" table.
72+
You can add a line for a specific carrier and tick/untick the "Empty" box.
73+
74+
To know if internal packages must be emptied or not for a given picking, the
75+
system will first check if a configuration line exists on the picking type for
76+
the carrier of the picking. If a line exists, the system will use the value
77+
of the "Empty" box. If no line exists, the system will use the value of the
78+
"Empty Internal Package On Transfer" box of the picking type.
79+
80+
Bug Tracker
81+
===========
82+
83+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-tracking/issues>`_.
84+
In case of trouble, please check there if your issue has already been reported.
85+
If you spotted it first, help us smashing it by providing a detailed and welcomed
86+
`feedback <https://github.com/OCA/stock-logistics-tracking/issues/new?body=module:%20internal_stock_quant_package%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
87+
88+
Do not contact contributors directly about support or help with technical issues.
89+
90+
Credits
91+
=======
92+
93+
Authors
94+
~~~~~~~
95+
96+
* ACSONE SA/NV
97+
98+
Contributors
99+
~~~~~~~~~~~~
100+
101+
* Hughes Damry <[email protected]>
102+
103+
Maintainers
104+
~~~~~~~~~~~
105+
106+
This module is maintained by the OCA.
107+
108+
.. image:: https://odoo-community.org/logo.png
109+
:alt: Odoo Community Association
110+
:target: https://odoo-community.org
111+
112+
OCA, or the Odoo Community Association, is a nonprofit organization whose
113+
mission is to support the collaborative development of Odoo features and
114+
promote its widespread use.
115+
116+
This module is part of the `OCA/stock-logistics-tracking <https://github.com/OCA/stock-logistics-tracking/tree/16.0/internal_stock_quant_package>`_ project on GitHub.
117+
118+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright 2021 ACSONE SA/NV
2+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
3+
4+
{
5+
"name": "Internal Stock Quant Package",
6+
"summary": "This module allows to declare internal stock quant package",
7+
"version": "16.0.1.0.0",
8+
"license": "AGPL-3",
9+
"author": "ACSONE SA/NV, Odoo Community Association (OCA)",
10+
"website": "https://github.com/OCA/stock-logistics-tracking",
11+
"depends": ["stock", "delivery_procurement_group_carrier"],
12+
"data": [
13+
"security/ir.model.access.csv",
14+
"views/stock_quant_package_views.xml",
15+
"views/stock_picking_type_views.xml",
16+
],
17+
"installable": True,
18+
}
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * internal_stock_quant_package
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2023-02-09 12:56+0000\n"
10+
"PO-Revision-Date: 2023-02-09 12:56+0000\n"
11+
"Last-Translator: \n"
12+
"Language-Team: \n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: \n"
17+
18+
#. module: internal_stock_quant_package
19+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_internal_package_config_line__create_uid
20+
msgid "Created by"
21+
msgstr ""
22+
23+
#. module: internal_stock_quant_package
24+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_internal_package_config_line__create_date
25+
msgid "Created on"
26+
msgstr ""
27+
28+
#. module: internal_stock_quant_package
29+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_internal_package_config_line__delivery_carrier_id
30+
msgid "Delivery Carrier"
31+
msgstr ""
32+
33+
#. module: internal_stock_quant_package
34+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_internal_package_config_line__display_name
35+
msgid "Display Name"
36+
msgstr ""
37+
38+
#. module: internal_stock_quant_package
39+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_internal_package_config_line__empty
40+
msgid "Empty"
41+
msgstr ""
42+
43+
#. module: internal_stock_quant_package
44+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_picking__empty_internal_package_on_transfer
45+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_picking_type__empty_internal_package_on_transfer
46+
msgid "Empty Internal Package On Transfer"
47+
msgstr "Vider les colis internes lors du transfert?"
48+
49+
#. module: internal_stock_quant_package
50+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_internal_package_config_line__id
51+
msgid "ID"
52+
msgstr ""
53+
54+
#. module: internal_stock_quant_package
55+
#: model:ir.model.fields,help:internal_stock_quant_package.field_stock_picking_type__empty_internal_package_on_transfer
56+
msgid ""
57+
"If set internal packages are emptied after the transfer or when products are"
58+
" put in pack."
59+
msgstr ""
60+
"Si coché, les colis internes sont vidés une fois la préparation terminée ou "
61+
"lorsqu'on fait la mise en colis."
62+
63+
#. module: internal_stock_quant_package
64+
#: model_terms:ir.ui.view,arch_db:internal_stock_quant_package.stock_quant_package_search_view
65+
msgid "Internal"
66+
msgstr "Interne"
67+
68+
#. module: internal_stock_quant_package
69+
#: model:ir.model,name:internal_stock_quant_package.model_stock_internal_package_config_line
70+
msgid "Internal Package Configuration Line"
71+
msgstr "Vider les colis internes lors du transfert?"
72+
73+
#. module: internal_stock_quant_package
74+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_quant_package__is_internal
75+
msgid "Internal use?"
76+
msgstr "Usage interne?"
77+
78+
#. module: internal_stock_quant_package
79+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_internal_package_config_line____last_update
80+
msgid "Last Modified on"
81+
msgstr ""
82+
83+
#. module: internal_stock_quant_package
84+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_internal_package_config_line__write_uid
85+
msgid "Last Updated by"
86+
msgstr ""
87+
88+
#. module: internal_stock_quant_package
89+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_internal_package_config_line__write_date
90+
msgid "Last Updated on"
91+
msgstr ""
92+
93+
#. module: internal_stock_quant_package
94+
#: model:ir.model,name:internal_stock_quant_package.model_stock_quant_package
95+
msgid "Packages"
96+
msgstr "Colis"
97+
98+
#. module: internal_stock_quant_package
99+
#: model:ir.model,name:internal_stock_quant_package.model_stock_picking_type
100+
msgid "Picking Type"
101+
msgstr ""
102+
103+
#. module: internal_stock_quant_package
104+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_picking_type__stock_internal_package_config_line_ids
105+
msgid "Stock Internal Package Config Line"
106+
msgstr "Vider les colis internes lors du transfert?"
107+
108+
#. module: internal_stock_quant_package
109+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_internal_package_config_line__stock_picking_type_id
110+
msgid "Stock Picking Type"
111+
msgstr ""
112+
113+
#. module: internal_stock_quant_package
114+
#: model:ir.model,name:internal_stock_quant_package.model_stock_picking
115+
msgid "Transfer"
116+
msgstr "Transfert"
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * internal_stock_quant_package
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2023-02-09 12:56+0000\n"
10+
"PO-Revision-Date: 2023-02-09 12:56+0000\n"
11+
"Last-Translator: \n"
12+
"Language-Team: \n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: \n"
17+
18+
#. module: internal_stock_quant_package
19+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_internal_package_config_line__create_uid
20+
msgid "Created by"
21+
msgstr ""
22+
23+
#. module: internal_stock_quant_package
24+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_internal_package_config_line__create_date
25+
msgid "Created on"
26+
msgstr ""
27+
28+
#. module: internal_stock_quant_package
29+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_internal_package_config_line__delivery_carrier_id
30+
msgid "Delivery Carrier"
31+
msgstr ""
32+
33+
#. module: internal_stock_quant_package
34+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_internal_package_config_line__display_name
35+
msgid "Display Name"
36+
msgstr ""
37+
38+
#. module: internal_stock_quant_package
39+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_internal_package_config_line__empty
40+
msgid "Empty"
41+
msgstr ""
42+
43+
#. module: internal_stock_quant_package
44+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_picking__empty_internal_package_on_transfer
45+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_picking_type__empty_internal_package_on_transfer
46+
msgid "Empty Internal Package On Transfer"
47+
msgstr ""
48+
49+
#. module: internal_stock_quant_package
50+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_internal_package_config_line__id
51+
msgid "ID"
52+
msgstr ""
53+
54+
#. module: internal_stock_quant_package
55+
#: model:ir.model.fields,help:internal_stock_quant_package.field_stock_picking_type__empty_internal_package_on_transfer
56+
msgid ""
57+
"If set internal packages are emptied after the transfer or when products are"
58+
" put in pack."
59+
msgstr ""
60+
61+
#. module: internal_stock_quant_package
62+
#: model_terms:ir.ui.view,arch_db:internal_stock_quant_package.stock_quant_package_search_view
63+
msgid "Internal"
64+
msgstr ""
65+
66+
#. module: internal_stock_quant_package
67+
#: model:ir.model,name:internal_stock_quant_package.model_stock_internal_package_config_line
68+
msgid "Internal Package Configuration Line"
69+
msgstr ""
70+
71+
#. module: internal_stock_quant_package
72+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_quant_package__is_internal
73+
msgid "Internal use?"
74+
msgstr ""
75+
76+
#. module: internal_stock_quant_package
77+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_internal_package_config_line____last_update
78+
msgid "Last Modified on"
79+
msgstr ""
80+
81+
#. module: internal_stock_quant_package
82+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_internal_package_config_line__write_uid
83+
msgid "Last Updated by"
84+
msgstr ""
85+
86+
#. module: internal_stock_quant_package
87+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_internal_package_config_line__write_date
88+
msgid "Last Updated on"
89+
msgstr ""
90+
91+
#. module: internal_stock_quant_package
92+
#: model:ir.model,name:internal_stock_quant_package.model_stock_quant_package
93+
msgid "Packages"
94+
msgstr ""
95+
96+
#. module: internal_stock_quant_package
97+
#: model:ir.model,name:internal_stock_quant_package.model_stock_picking_type
98+
msgid "Picking Type"
99+
msgstr ""
100+
101+
#. module: internal_stock_quant_package
102+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_picking_type__stock_internal_package_config_line_ids
103+
msgid "Stock Internal Package Config Line"
104+
msgstr ""
105+
106+
#. module: internal_stock_quant_package
107+
#: model:ir.model.fields,field_description:internal_stock_quant_package.field_stock_internal_package_config_line__stock_picking_type_id
108+
msgid "Stock Picking Type"
109+
msgstr ""
110+
111+
#. module: internal_stock_quant_package
112+
#: model:ir.model,name:internal_stock_quant_package.model_stock_picking
113+
msgid "Transfer"
114+
msgstr ""
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from . import stock_internal_package_config_line
2+
from . import stock_picking_type
3+
from . import stock_picking
4+
from . import stock_quant_package

0 commit comments

Comments
 (0)