diff --git a/.github/workflows/auto-pr.yml b/.github/workflows/auto-pr.yml index 1112fb6d1c..dbff235369 100644 --- a/.github/workflows/auto-pr.yml +++ b/.github/workflows/auto-pr.yml @@ -41,27 +41,16 @@ jobs: TARGET_BRANCH: "18.0" GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - # Obține primul commit al branch-ului relativ la 18.0 - FIRST_COMMIT=$(git rev-list "$TARGET_BRANCH"..HEAD --reverse | head -n1) - - # Titlul PR = prima linie a commit-ului - PR_TITLE=$(git log -1 --format=%s "$FIRST_COMMIT") - - # Body PR = mesajul complet al commit-ului - PR_BODY=$(git log -1 --format=%b "$FIRST_COMMIT") - PR_BODY="PR creat automat pentru branch-ul $NEW_BRANCH\n\n$PR_BODY" - # Creează PR și obține numărul PR_NUM=$(gh pr create \ --base "$TARGET_BRANCH" \ --head "$NEW_BRANCH" \ - --title "[$TARGET_BRANCH] $PR_TITLE" \ - --body "$PR_BODY" | awk '{print $2}' | tr -d '#') + --title "[$TARGET_BRANCH] $NEW_BRANCH " \ + --body "PR creat automat pentru branch-ul $NEW_BRANCH" | awk '{print $2}' | tr -d '#') echo "PR_NUM=$PR_NUM" >> $GITHUB_OUTPUT echo "Created PR #$PR_NUM" - - name: Comment on PR env: CHECK_PR_NUM: ${{ steps.check_pr.outputs.PR_NUM }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1fa3d3abb4..9d02e7cd02 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,6 +7,10 @@ on: push: branches: - "18.0" + workflow_run: + workflows: ["Auto PR for 18.0 Branches"] + types: + - completed jobs: diff --git a/deltatech_procurement_team/README.rst b/deltatech_procurement_team/README.rst new file mode 100644 index 0000000000..8c326cc801 --- /dev/null +++ b/deltatech_procurement_team/README.rst @@ -0,0 +1,53 @@ +================ +Sale Team Access +================ + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:1b4a0ed76a0657e224761547d8933cf51a50b4dad34030ed24f756a22a1ab6b7 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png + :target: https://odoo-community.org/page/development-status + :alt: Production/Stable +.. |badge2| image:: https://img.shields.io/badge/github-dhongu%2Fdeltatech-lightgray.png?logo=github + :target: https://github.com/dhongu/deltatech/tree/18.0/deltatech_sale_team + :alt: dhongu/deltatech + +|badge1| |badge2| + +- Features: + + - Restricting access to sales team + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `Terrabit Issues `_. +In case of trouble, please check there if your issue has already been reported. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Terrabit +* Dorin Hongu + +Maintainers +----------- + +This module is part of the `dhongu/deltatech `_ project on GitHub. + +You are welcome to contribute. \ No newline at end of file diff --git a/deltatech_procurement_team/__init__.py b/deltatech_procurement_team/__init__.py new file mode 100644 index 0000000000..ef094d8df2 --- /dev/null +++ b/deltatech_procurement_team/__init__.py @@ -0,0 +1,5 @@ +# © 2025 Deltatech +# Dorin Hongu