Skip to content

Commit 8dd95f7

Browse files
committed
Merge PR #3541 into 18.0
Signed-off-by rousseldenis
2 parents bec3f93 + 17b9447 commit 8dd95f7

29 files changed

Lines changed: 1368 additions & 0 deletions

sale_mrp_bom/README.rst

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
============
2+
Sale MRP BOM
3+
============
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:1f7c511cfd809835f45c352b0bd8a2fe5942dfb5d1b4ba0121e329ad4f21dd4b
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github
20+
:target: https://github.com/OCA/sale-workflow/tree/18.0/sale_mrp_bom
21+
:alt: OCA/sale-workflow
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/sale-workflow-18-0/sale-workflow-18-0-sale_mrp_bom
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=18.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This modules allows to specify a Bill Of Materials directly inside a
32+
sale order line. It is specially useful to select alternative
33+
manufacturing and sub-contracting routings.
34+
35+
**Table of contents**
36+
37+
.. contents::
38+
:local:
39+
40+
Installation
41+
============
42+
43+
44+
45+
Configuration
46+
=============
47+
48+
To be able to select a specific Bill of Materials in a sale order, the
49+
user needs the special permission: "Allows to define a BOM on sale order
50+
lines".
51+
52+
Usage
53+
=====
54+
55+
When adding a new sale order line, you can eventually select a specific
56+
Bill Of Materials.
57+
58+
|image1|
59+
60+
When confirming the sale order, if the routing is manufacturing then the
61+
production order will be using the specified Bill Of Materials.
62+
63+
|image2|
64+
65+
.. |image1| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.0/sale_mrp_bom/static/description/sale_order_1.png
66+
.. |image2| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.0/sale_mrp_bom/static/description/manufacturing_order_1.png
67+
68+
Known issues / Roadmap
69+
======================
70+
71+
72+
73+
Bug Tracker
74+
===========
75+
76+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/issues>`_.
77+
In case of trouble, please check there if your issue has already been reported.
78+
If you spotted it first, help us to smash it by providing a detailed and welcomed
79+
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_mrp_bom%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
80+
81+
Do not contact contributors directly about support or help with technical issues.
82+
83+
Credits
84+
=======
85+
86+
Authors
87+
-------
88+
89+
* Akretion
90+
91+
Contributors
92+
------------
93+
94+
- Renato Lima <renato.lima@akretion.com.br>
95+
96+
Trobz:
97+
98+
- Hai Lang <hailn@trobz.com>
99+
100+
Other credits
101+
-------------
102+
103+
The migration of this module from 12.0 to 14.0 was financially supported
104+
by Camptocamp.
105+
106+
Maintainers
107+
-----------
108+
109+
This module is maintained by the OCA.
110+
111+
.. image:: https://odoo-community.org/logo.png
112+
:alt: Odoo Community Association
113+
:target: https://odoo-community.org
114+
115+
OCA, or the Odoo Community Association, is a nonprofit organization whose
116+
mission is to support the collaborative development of Odoo features and
117+
promote its widespread use.
118+
119+
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/18.0/sale_mrp_bom>`_ project on GitHub.
120+
121+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

sale_mrp_bom/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
2+
3+
from . import models

sale_mrp_bom/__manifest__.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright 2020 Akretion Renato Lima <renato.lima@akretion.com.br>
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
{
4+
"name": "Sale MRP BOM",
5+
"category": "Sale",
6+
"license": "AGPL-3",
7+
"author": "Akretion, Odoo Community Association (OCA)",
8+
"version": "18.0.1.0.0",
9+
"website": "https://github.com/OCA/sale-workflow",
10+
"summary": "Allows define a BOM in the sales lines.",
11+
"depends": ["mrp", "sale_stock"],
12+
"data": [
13+
"security/security.xml",
14+
"views/sale_order.xml",
15+
"views/sale_order_line.xml",
16+
],
17+
"installable": True,
18+
}

sale_mrp_bom/i18n/es.po

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * sale_mrp_bom
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2023-10-15 19:36+0000\n"
10+
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
11+
"Language-Team: none\n"
12+
"Language: es\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 4.17\n"
18+
19+
#. module: sale_mrp_bom
20+
#: model:res.groups,name:sale_mrp_bom.sale_mrp_bom_group
21+
msgid "Allows to define a BOM on sale order lines"
22+
msgstr "Permite definir una lista de materiales en líneas de órdenes de venta"
23+
24+
#. module: sale_mrp_bom
25+
#: model:ir.model.fields,field_description:sale_mrp_bom.field_sale_order_line__bom_id
26+
msgid "BoM"
27+
msgstr "BoM"
28+
29+
#. module: sale_mrp_bom
30+
#. odoo-python
31+
#: code:addons/sale_mrp_bom/models/sale_order_line.py:0
32+
#, python-format
33+
msgid "Please select BoM that has matched product with the line `{}`"
34+
msgstr ""
35+
"Seleccione la lista de materiales que coincida con el producto de la línea "
36+
"`{}`"
37+
38+
#. module: sale_mrp_bom
39+
#: model:ir.model,name:sale_mrp_bom.model_sale_order_line
40+
msgid "Sales Order Line"
41+
msgstr "Línea de Orden de Venta"
42+
43+
#. module: sale_mrp_bom
44+
#: model:ir.model,name:sale_mrp_bom.model_stock_move
45+
msgid "Stock Move"
46+
msgstr "Movimiento de Existencias"

sale_mrp_bom/i18n/hr.po

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * sale_mrp_bom
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2024-06-21 19:34+0000\n"
10+
"Last-Translator: Bole <bole@dajmi5.com>\n"
11+
"Language-Team: none\n"
12+
"Language: hr\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
17+
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
18+
"X-Generator: Weblate 4.17\n"
19+
20+
#. module: sale_mrp_bom
21+
#: model:res.groups,name:sale_mrp_bom.sale_mrp_bom_group
22+
msgid "Allows to define a BOM on sale order lines"
23+
msgstr "Dozvoli definiranje sastavnice na stavkama prodajnog naloga"
24+
25+
#. module: sale_mrp_bom
26+
#: model:ir.model.fields,field_description:sale_mrp_bom.field_sale_order_line__bom_id
27+
msgid "BoM"
28+
msgstr "Sastavnica"
29+
30+
#. module: sale_mrp_bom
31+
#. odoo-python
32+
#: code:addons/sale_mrp_bom/models/sale_order_line.py:0
33+
#, python-format
34+
msgid "Please select BoM that has matched product with the line `{}`"
35+
msgstr "Molimo odaberite sastavnicu koja odgovara proizvodu u stavci `{}`"
36+
37+
#. module: sale_mrp_bom
38+
#: model:ir.model,name:sale_mrp_bom.model_sale_order_line
39+
msgid "Sales Order Line"
40+
msgstr "Stavka prodajnog naloga"
41+
42+
#. module: sale_mrp_bom
43+
#: model:ir.model,name:sale_mrp_bom.model_stock_move
44+
msgid "Stock Move"
45+
msgstr "Skladišno kretanje"

sale_mrp_bom/i18n/it.po

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * sale_mrp_bom
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2023-12-07 18:33+0000\n"
10+
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
11+
"Language-Team: none\n"
12+
"Language: it\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 4.17\n"
18+
19+
#. module: sale_mrp_bom
20+
#: model:res.groups,name:sale_mrp_bom.sale_mrp_bom_group
21+
msgid "Allows to define a BOM on sale order lines"
22+
msgstr "Consente di definire una DiBa nelle righe ordine di vendita"
23+
24+
#. module: sale_mrp_bom
25+
#: model:ir.model.fields,field_description:sale_mrp_bom.field_sale_order_line__bom_id
26+
msgid "BoM"
27+
msgstr "DiBa"
28+
29+
#. module: sale_mrp_bom
30+
#. odoo-python
31+
#: code:addons/sale_mrp_bom/models/sale_order_line.py:0
32+
#, python-format
33+
msgid "Please select BoM that has matched product with the line `{}`"
34+
msgstr "Selezionare una DiBa che ha un prodotto corrispondente con la riga `{}`"
35+
36+
#. module: sale_mrp_bom
37+
#: model:ir.model,name:sale_mrp_bom.model_sale_order_line
38+
msgid "Sales Order Line"
39+
msgstr "Riga ordine di vendita"
40+
41+
#. module: sale_mrp_bom
42+
#: model:ir.model,name:sale_mrp_bom.model_stock_move
43+
msgid "Stock Move"
44+
msgstr "Movimento di magazzino"

sale_mrp_bom/i18n/sale_mrp_bom.pot

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * sale_mrp_bom
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"Last-Translator: \n"
10+
"Language-Team: \n"
11+
"MIME-Version: 1.0\n"
12+
"Content-Type: text/plain; charset=UTF-8\n"
13+
"Content-Transfer-Encoding: \n"
14+
"Plural-Forms: \n"
15+
16+
#. module: sale_mrp_bom
17+
#: model:res.groups,name:sale_mrp_bom.sale_mrp_bom_group
18+
msgid "Allows to define a BOM on sale order lines"
19+
msgstr ""
20+
21+
#. module: sale_mrp_bom
22+
#: model:ir.model.fields,field_description:sale_mrp_bom.field_sale_order_line__bom_id
23+
msgid "BoM"
24+
msgstr ""
25+
26+
#. module: sale_mrp_bom
27+
#. odoo-python
28+
#: code:addons/sale_mrp_bom/models/sale_order_line.py:0
29+
#, python-format
30+
msgid "Please select BoM that has matched product with the line `{}`"
31+
msgstr ""
32+
33+
#. module: sale_mrp_bom
34+
#: model:ir.model,name:sale_mrp_bom.model_sale_order_line
35+
msgid "Sales Order Line"
36+
msgstr ""
37+
38+
#. module: sale_mrp_bom
39+
#: model:ir.model,name:sale_mrp_bom.model_stock_move
40+
msgid "Stock Move"
41+
msgstr ""

sale_mrp_bom/models/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
2+
3+
from . import procurement_group
4+
from . import sale_order_line
5+
from . import stock_move

0 commit comments

Comments
 (0)