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

[12.0][IMP] base_edi: introduce a basic edi user group #33

Open
wants to merge 2 commits into
base: 12.0
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion base_edi/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"name": "Base EDI",
"summary": """Base module to aggregate EDI features.""",
"version": "12.0.1.0.1",
"development_status": "Alpha",
"development_status": "Beta",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what motivates this change?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The edi_oca module has a development_status of "beta" and depends on a module with a development_status of "alpha" and got a warning in test. And in base_edi v14 there is a commit to move it (OCA@e5db4e0)

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's so little that I'll fix it quickly. Or should I cherry-pick it?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep it as is, but make it explicit in PR description why you had to do this

"license": "LGPL-3",
'website': 'https://github.com/OCA/edi',
"author": "ACSONE,Odoo Community Association (OCA)",
Expand Down
11 changes: 11 additions & 0 deletions base_edi/security/edi_groups.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="group_edi_user" model="res.groups">
<field name="name">EDI User</field>
<field name="category_id" ref="module_category_edi" />
<field
name="users"
eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"
/>
<field name="implied_ids" eval="[(4, ref('base.group_user'))]" />
</record>

<record id="group_edi_manager" model="res.groups">
<field name="name">EDI Manager</field>
<field name="category_id" ref="module_category_edi" />
<field
name="users"
eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"
/>
<field name="implied_ids" eval="[(4, ref('base_edi.group_edi_user'))]" />
</record>
</odoo>
Loading