diff --git a/mrp_workorder_sequence/README.rst b/mrp_workorder_sequence/README.rst
index 05f596a12..7528faf1f 100644
--- a/mrp_workorder_sequence/README.rst
+++ b/mrp_workorder_sequence/README.rst
@@ -14,13 +14,13 @@ MRP Work Order Sequence
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmanufacture-lightgray.png?logo=github
- :target: https://github.com/OCA/manufacture/tree/12.0/mrp_workorder_sequence
+ :target: https://github.com/OCA/manufacture/tree/13.0/mrp_workorder_sequence
:alt: OCA/manufacture
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/manufacture-12-0/manufacture-12-0-mrp_workorder_sequence
+ :target: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-mrp_workorder_sequence
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
- :target: https://runbot.odoo-community.org/runbot/129/12.0
+ :target: https://runbot.odoo-community.org/runbot/129/13.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -44,7 +44,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues `_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
-`feedback `_.
+`feedback `_.
Do not contact contributors directly about support or help with technical issues.
@@ -60,6 +60,7 @@ Contributors
~~~~~~~~~~~~
* Lois Rilo
+* Pimolnat Suntian
Maintainers
~~~~~~~~~~~
@@ -82,6 +83,6 @@ Current `maintainer `__:
|maintainer-lreficent|
-This module is part of the `OCA/manufacture `_ project on GitHub.
+This module is part of the `OCA/manufacture `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/mrp_workorder_sequence/__manifest__.py b/mrp_workorder_sequence/__manifest__.py
index da359fe6d..27d06edf1 100644
--- a/mrp_workorder_sequence/__manifest__.py
+++ b/mrp_workorder_sequence/__manifest__.py
@@ -1,4 +1,4 @@
-# Copyright 2019 Eficent Business and IT Consulting Services S.L.
+# Copyright 2019-20 ForgeFlow S.L. (https://www.forgeflow.com)
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
{
@@ -6,7 +6,7 @@
"summary": "adds sequence to production work orders.",
"version": "13.0.1.0.0",
"category": "Manufacturing",
- "author": "Eficent, " "Odoo Community Association (OCA)",
+ "author": "ForgeFlow, Odoo Community Association (OCA)",
"development_status": "Beta",
"maintainers": ["lreficent"],
"website": "https://github.com/OCA/manufacture",
diff --git a/mrp_workorder_sequence/models/mrp_production.py b/mrp_workorder_sequence/models/mrp_production.py
index 4aafe7255..762e0ba03 100644
--- a/mrp_workorder_sequence/models/mrp_production.py
+++ b/mrp_workorder_sequence/models/mrp_production.py
@@ -1,13 +1,12 @@
-# Copyright 2019 Eficent Business and IT Consulting Services S.L.
+# Copyright 2019-20 ForgeFlow S.L. (https://www.forgeflow.com)
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
-from odoo import api, models
+from odoo import models
class MrpProduction(models.Model):
_inherit = "mrp.production"
- @api.multi
def _reset_work_order_sequence(self):
for rec in self:
current_sequence = 1
@@ -15,7 +14,6 @@ class MrpProduction(models.Model):
work.sequence = current_sequence
current_sequence += 1
- @api.multi
def _generate_workorders(self, exploded_boms):
res = super()._generate_workorders(exploded_boms)
self._reset_work_order_sequence()
diff --git a/mrp_workorder_sequence/models/mrp_workorder.py b/mrp_workorder_sequence/models/mrp_workorder.py
index 2e5016bbd..e350595a5 100644
--- a/mrp_workorder_sequence/models/mrp_workorder.py
+++ b/mrp_workorder_sequence/models/mrp_workorder.py
@@ -1,4 +1,4 @@
-# Copyright 2019 Eficent Business and IT Consulting Services S.L.
+# Copyright 2019-20 ForgeFlow S.L. (https://www.forgeflow.com)
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
from odoo import fields, models
diff --git a/mrp_workorder_sequence/readme/CONTRIBUTORS.rst b/mrp_workorder_sequence/readme/CONTRIBUTORS.rst
index 4b574636c..3cb0c157d 100644
--- a/mrp_workorder_sequence/readme/CONTRIBUTORS.rst
+++ b/mrp_workorder_sequence/readme/CONTRIBUTORS.rst
@@ -1 +1,2 @@
* Lois Rilo
+* Pimolnat Suntian
diff --git a/mrp_workorder_sequence/static/description/index.html b/mrp_workorder_sequence/static/description/index.html
index 222e8f4b7..ce9ae360f 100644
--- a/mrp_workorder_sequence/static/description/index.html
+++ b/mrp_workorder_sequence/static/description/index.html
@@ -367,7 +367,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-

+

Provide a new field sequence on production orders’s work orders, that provides
clear information on the process order of those.
Table of contents
@@ -392,7 +392,7 @@ clear information on the process order of those.
Bugs are tracked on GitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
-feedback.
+feedback.
Do not contact contributors directly about support or help with technical issues.
@@ -407,6 +407,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
@@ -418,7 +419,7 @@ mission is to support the collaborative development of Odoo features and
promote its widespread use.
Current maintainer:

-
This module is part of the OCA/manufacture project on GitHub.
+
This module is part of the OCA/manufacture project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/mrp_workorder_sequence/views/mrp_workorder_view.xml b/mrp_workorder_sequence/views/mrp_workorder_view.xml
index f30c5f8ab..7789dcb78 100644
--- a/mrp_workorder_sequence/views/mrp_workorder_view.xml
+++ b/mrp_workorder_sequence/views/mrp_workorder_view.xml
@@ -1,15 +1,13 @@
-
+
-
mrp.workorder.tree
mrp.workorder
-
+
-
+
-
diff --git a/setup/mrp_workorder_sequence/odoo/addons/mrp_workorder_sequence b/setup/mrp_workorder_sequence/odoo/addons/mrp_workorder_sequence
new file mode 120000
index 000000000..413aae71c
--- /dev/null
+++ b/setup/mrp_workorder_sequence/odoo/addons/mrp_workorder_sequence
@@ -0,0 +1 @@
+../../../../mrp_workorder_sequence
\ No newline at end of file
diff --git a/setup/mrp_workorder_sequence/setup.py b/setup/mrp_workorder_sequence/setup.py
new file mode 100644
index 000000000..28c57bb64
--- /dev/null
+++ b/setup/mrp_workorder_sequence/setup.py
@@ -0,0 +1,6 @@
+import setuptools
+
+setuptools.setup(
+ setup_requires=['setuptools-odoo'],
+ odoo_addon=True,
+)