diff --git a/stock_picking_comment_template/README.rst b/stock_picking_comment_template/README.rst index 7e7bd93c6..63748616c 100644 --- a/stock_picking_comment_template/README.rst +++ b/stock_picking_comment_template/README.rst @@ -65,6 +65,11 @@ Contributors - Fekete Mihai +- `Sygel `__: + + - Valentín Vinagre + - Roger Sans + Do not contact contributors directly about support or help with technical issues. diff --git a/stock_picking_comment_template/__manifest__.py b/stock_picking_comment_template/__manifest__.py index d872a847a..bb76b5731 100644 --- a/stock_picking_comment_template/__manifest__.py +++ b/stock_picking_comment_template/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Picking Comments", "summary": "Comments texts templates on Picking documents", - "version": "14.0.1.1.0", + "version": "17.0.1.0.0", "category": "Warehouse Management", "website": "https://github.com/OCA/stock-logistics-reporting", "author": "C2i Change 2 improve," "Odoo Community Association (OCA)", diff --git a/stock_picking_comment_template/readme/CONTRIBUTORS.md b/stock_picking_comment_template/readme/CONTRIBUTORS.md index f5cd5c9a1..b42816524 100644 --- a/stock_picking_comment_template/readme/CONTRIBUTORS.md +++ b/stock_picking_comment_template/readme/CONTRIBUTORS.md @@ -1,7 +1,12 @@ - [C2i Change 2 improve](http://www.c2i.es): - Eduardo Magdalena \<\> + - [NextERP Romania](https://www.nexterp.ro): - Fekete Mihai \<\> +- [Sygel](http://www.sygel.es): + - Valentín Vinagre \<\> + - Roger Sans \<\> + Do not contact contributors directly about support or help with technical issues. diff --git a/stock_picking_comment_template/static/description/index.html b/stock_picking_comment_template/static/description/index.html index 73c7a648f..a6ed8c901 100644 --- a/stock_picking_comment_template/static/description/index.html +++ b/stock_picking_comment_template/static/description/index.html @@ -411,6 +411,11 @@

Contributors

  • Fekete Mihai <feketemihai@nexterp.ro>
  • +
  • Sygel: +
  • Do not contact contributors directly about support or help with technical issues.

    diff --git a/stock_picking_comment_template/tests/test_stock_picking_report.py b/stock_picking_comment_template/tests/test_stock_picking_report.py index b8d0db8b7..f3729ed1f 100644 --- a/stock_picking_comment_template/tests/test_stock_picking_report.py +++ b/stock_picking_comment_template/tests/test_stock_picking_report.py @@ -5,14 +5,18 @@ class TestStockPickingReport(TransactionCase): - def setUp(self): - super().setUp() + def setUpClass(self): + super().setUpClass() self.company = self.env.ref("base.main_company") self.base_comment_model = self.env["base.comment.template"] # Create comment related to sale model self.picking_obj = self.env.ref("stock.model_stock_picking") - self.before_comment = self._create_comment(self.picking_obj, "before_lines") - self.after_comment = self._create_comment(self.picking_obj, "after_lines") + self.before_comment = self._create_comment_template_test( + self.picking_obj, "before_lines" + ) + self.after_comment = self._create_comment_template_test( + self.picking_obj, "after_lines" + ) # Create partner self.partner = self.env["res.partner"].create({"name": "Partner Test"}) self.partner.base_comment_template_ids = [ @@ -29,7 +33,7 @@ def setUp(self): } ) - def _create_comment(self, model, position): + def _create_comment_template_test(self, model, position): return self.base_comment_model.create( { "name": "Comment " + position,