Skip to content

Commit

Permalink
Merge pull request #144 from dibik96/17.0-develop
Browse files Browse the repository at this point in the history
G2P-2387: Extra rights contact creation checkbox issue while using pm role & registrar role
  • Loading branch information
shibu-narayanan authored Jun 11, 2024
2 parents 449d496 + 0c31d2e commit 6ebc5c9
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 42 deletions.
28 changes: 0 additions & 28 deletions .github/auto-assign.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/auto-assign.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Trigger OpenG2P Packaging Workflow

on:
push:
workflow_dispatch:

jobs:
trigger-packaging:
runs-on: ubuntu-latest
steps:
- name: set variables
run: |
echo "BRANCH_NAME=$(echo ${{ github.ref }} | sed -e 's,.*/\(.*\),\1,')" >> $GITHUB_ENV
- name: Invoke workflow in another repo with inputs
uses: aurelien-baudet/workflow-dispatch@v2
with:
token: ${{ secrets.GIT_PUSH_TOKEN }}
repo: OpenG2P/openg2p-packaging
workflow: OpenG2P Odoo Package Dockers build
input: "{\"packageName\": \"${{ env.BRANCH_NAME }}\"}"
ref: main
8 changes: 8 additions & 0 deletions g2p_registry_base/security/g2p_security.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@
<record id="group_g2p_registrar" model="res.groups">
<field name="name">Registrar</field>
<field name="category_id" ref="g2p_registry_base.openg2p_module" />
<field
name="implied_ids"
eval="
[
Command.link(ref('base.group_partner_manager')),
]"
/>

</record>

</odoo>

0 comments on commit 6ebc5c9

Please sign in to comment.