Skip to content

Commit

Permalink
[MIG] product_cost_security: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mario committed May 6, 2024
1 parent 458ecb0 commit dc4d1db
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
3 changes: 3 additions & 0 deletions product_cost_security/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ Contributors
- Anjeel Haria

- Jairo Llopis (`Moduon <https://www.moduon.team>`__)
- `Binhex <https://www.binhex.cloud>`__:

- Mario Luis <m.luis@binhex.cloud>

Maintainers
-----------
Expand Down
2 changes: 1 addition & 1 deletion product_cost_security/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions product_cost_security/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 \<<m.luis@binhex.cloud>\>
4 changes: 4 additions & 0 deletions product_cost_security/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,10 @@ <h2><a class="toc-backref" href="#toc-entry-7">Contributors</a></h2>
</ul>
</li>
<li>Jairo Llopis (<a class="reference external" href="https://www.moduon.team">Moduon</a>)</li>
<li><a class="reference external" href="https://www.binhex.cloud">Binhex</a>:<ul>
<li>Mario Luis &lt;<a class="reference external" href="mailto:m.luis&#64;binhex.cloud">m.luis&#64;binhex.cloud</a>&gt;</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="maintainers">
Expand Down
5 changes: 3 additions & 2 deletions product_cost_security/tests/test_product_cost_security.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Check warning on line 39 in product_cost_security/tests/test_product_cost_security.py

View check run for this annotation

Codecov / codecov/patch

product_cost_security/tests/test_product_cost_security.py#L39

Added line #L39 was not covered by tests

Expand Down

0 comments on commit dc4d1db

Please sign in to comment.