From dc4d1db8790262340bbb741b085ab34078ea1e4b Mon Sep 17 00:00:00 2001 From: mario Date: Tue, 30 Apr 2024 10:01:06 +0100 Subject: [PATCH] [MIG] product_cost_security: Migration to 17.0 --- product_cost_security/README.rst | 3 +++ product_cost_security/__manifest__.py | 2 +- product_cost_security/readme/CONTRIBUTORS.md | 2 ++ product_cost_security/static/description/index.html | 4 ++++ product_cost_security/tests/test_product_cost_security.py | 5 +++-- 5 files changed, 13 insertions(+), 3 deletions(-) diff --git a/product_cost_security/README.rst b/product_cost_security/README.rst index 9555ed8452b9..b7a77bcb9c51 100644 --- a/product_cost_security/README.rst +++ b/product_cost_security/README.rst @@ -97,6 +97,9 @@ Contributors - Anjeel Haria - Jairo Llopis (`Moduon `__) +- `Binhex `__: + + - Mario Luis Maintainers ----------- diff --git a/product_cost_security/__manifest__.py b/product_cost_security/__manifest__.py index cc070d2c1e73..154b9f6402ed 100644 --- a/product_cost_security/__manifest__.py +++ b/product_cost_security/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Product Cost Security", "summary": "Product cost security restriction view", - "version": "16.0.1.2.0", + "version": "17.0.1.0.0", "development_status": "Production/Stable", "maintainers": ["sergio-teruel", "rafaelbn", "yajo"], "category": "Product", diff --git a/product_cost_security/readme/CONTRIBUTORS.md b/product_cost_security/readme/CONTRIBUTORS.md index b8a4060fdb26..556724b48366 100644 --- a/product_cost_security/readme/CONTRIBUTORS.md +++ b/product_cost_security/readme/CONTRIBUTORS.md @@ -6,3 +6,5 @@ - [Onestein](https://www.onestein.eu): - Anjeel Haria - Jairo Llopis ([Moduon](https://www.moduon.team)) +- [Binhex](https://www.binhex.cloud): + - Mario Luis \<\> \ No newline at end of file diff --git a/product_cost_security/static/description/index.html b/product_cost_security/static/description/index.html index 080c5e27f93c..21bf7051e326 100644 --- a/product_cost_security/static/description/index.html +++ b/product_cost_security/static/description/index.html @@ -447,6 +447,10 @@

Contributors

  • Jairo Llopis (Moduon)
  • +
  • Binhex: +
  • diff --git a/product_cost_security/tests/test_product_cost_security.py b/product_cost_security/tests/test_product_cost_security.py index e3f906ec528e..659b70cc9743 100644 --- a/product_cost_security/tests/test_product_cost_security.py +++ b/product_cost_security/tests/test_product_cost_security.py @@ -32,8 +32,9 @@ def test_without_access_to_product_costs_group(self): sheet_form.name = "Test Product" sheet_form.save() with self.assertRaises(AssertionError): - # It would raise an AssertionError as the field would not be found in the view - # as the user does not have the group- Access to product costs + # It would raise an AssertionError as the field would not be found + # in the view as the user does not have the group- Access to + # product costs standard_price = sheet_form.standard_price self.assertEqual(standard_price, 0.0)