Skip to content

Commit

Permalink
Merge pull request #1 from ifegmbh/dev/3549-17.0-imp_product_state
Browse files Browse the repository at this point in the history
[IMP] product_state: fix issue with access rule and missing dependency
  • Loading branch information
mb-ife authored Jan 23, 2025
2 parents d5372a0 + 823d09e commit c9a71b2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
26 changes: 13 additions & 13 deletions product_state/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ Product State
This module introduces the state field on product template and allows
simple product life cycle:

- draft: In Development
- sellable: Normal
- end: End of Lifecycle
- obsolete: Obsolete
- draft: In Development
- sellable: Normal
- end: End of Lifecycle
- obsolete: Obsolete

**Table of contents**

Expand Down Expand Up @@ -76,15 +76,15 @@ Authors
Contributors
------------

- Cedric Pigeon <[email protected]>
- Alexandre Saunier <[email protected]>
- Nikul Chaudhary <[email protected]>
- Eduardo Magdalena <[email protected]> (C2i Change 2 improve
http://www.c2i.es)
- Andrii Skrypka <[email protected]>
- Denis Roussel <[email protected]>
- Riccardo Fresco <[email protected]>
- Nils Coenen <[email protected]>
- Cedric Pigeon <[email protected]>
- Alexandre Saunier <[email protected]>
- Nikul Chaudhary <[email protected]>
- Eduardo Magdalena <[email protected]> (C2i Change 2 improve
http://www.c2i.es)
- Andrii Skrypka <[email protected]>
- Denis Roussel <[email protected]>
- Riccardo Fresco <[email protected]>
- Nils Coenen <[email protected]>

Maintainers
-----------
Expand Down
2 changes: 1 addition & 1 deletion product_state/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"category": "Product",
"version": "17.0.1.1.0",
"license": "AGPL-3",
"depends": ["product", "sale"],
"depends": ["product", "sale", "stock"],
"data": [
"data/product_state_data.xml",
"security/ir.model.access.csv",
Expand Down
8 changes: 4 additions & 4 deletions product_state/security/ir.model.access.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
"access_product_state_sale_manager","product.state","model_product_state","sales_team.group_sale_manager",1,1,1,1
"access_product_state_stock_manager","product.state","model_product_state","stock.group_stock_manager",1,1,1,1
"access_product_state_public","product.state.public","model_product_state",,1,0,0,0
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_product_state_sale_manager,product.state,model_product_state,sales_team.group_sale_manager,1,1,1,1
access_product_state_stock_manager,product.state,model_product_state,stock.group_stock_manager,1,1,1,1
access_product_state_public,product.state.public,model_product_state,base.group_user,1,0,0,0

0 comments on commit c9a71b2

Please sign in to comment.