Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.0][IMP] ddmrp_report_part_flow_index: add access rights to buffer mantainers #458

Merged
merged 2 commits into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
class DdmrpFlowIndexGroup(models.Model):
_name = "ddmrp.flow.index.group"
_order = "sequence, id"
_description = "DDMRP Flow Index Group"

name = fields.Char(required=True)
summary = fields.Text()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

class ReportDdmrpPartsPlanFlowIndex(models.Model):
_name = "report.ddmrp.part.plan.flow.index"
_description = "Report DDMRP Plan Flow Index"
_auto = False

buffer_id = fields.Many2one("stock.buffer", string="Buffer", readonly=True)
Expand Down
2 changes: 1 addition & 1 deletion ddmrp_report_part_flow_index/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_ddmrp_flow_index_group,ddmrp.flow.index.group,model_ddmrp_flow_index_group,ddmrp.group_stock_buffer_maintainer,1,0,0,0
access_ddmrp_flow_index_group_manager,ddmrp.flow.index.group,model_ddmrp_flow_index_group,ddmrp.group_ddmrp_manager,1,1,1,1
access_report_ddmrp_part_plan_flow_index,ddmrp.part.plan.flow.index,model_report_ddmrp_part_plan_flow_index,ddmrp.group_ddmrp_manager,1,1,1,1
access_report_ddmrp_part_plan_flow_index,ddmrp.part.plan.flow.index,model_report_ddmrp_part_plan_flow_index,ddmrp.group_stock_buffer_maintainer,1,0,0,0
Loading