Skip to content

Commit

Permalink
Merge branch '18.0' into patch-14
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy authored Nov 21, 2024
2 parents 6f4a237 + 53ffe42 commit f3c391c
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/pr-18.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
on:
pull_request:
types:
- opened
types: [opened, reopened]
branches:
- "18.0"
push:
Expand All @@ -10,17 +9,15 @@ on:

jobs:
run:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install GitHub CLI
run: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key C99B11DEB97541F0 && \
sudo apt-add-repository https://cli.github.com/packages && \
sudo apt update && \
sudo apt install gh -y
run: |
sudo apt update
sudo apt install gh -y
- name: Authenticate GitHub CLI
env:
Expand All @@ -29,6 +26,7 @@ jobs:

- name: Assign reviewer
env:
#REVIEWER: "eldy,lvessiller-opendsi,rycks" # Remplacez par le nom d'utilisateur GitHub du reviewer
REVIEWER: "rycks" # Remplacez par le nom d'utilisateur GitHub du reviewer
run: |
pr_number=$(jq --raw-output .number < $GITHUB_EVENT_PATH)
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
workflow_dispatch:
jobs:
demo_app_authentication:
runs-on: ubuntu-latest
steps:
- name: Log
run: echo "CIAPPID ${{ vars.CIAPPID }}"

- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.CIAPPID }}
private-key: ${{ secrets.CIAPPPRIKEY }}

- name: Use the token
env:
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
run: |
gh api dolibarr
1 change: 1 addition & 0 deletions htdocs/fourn/commande/list.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@
$societe = new Societe($db);
$societe->fetch($cmd->socid);
$objecttmp->vat_reverse_charge = $societe->vat_reverse_charge;
$objecttmp->thirdparty = $societe;
}
$objecttmp->socid = $cmd->socid;
$objecttmp->type = $objecttmp::TYPE_STANDARD;
Expand Down

0 comments on commit f3c391c

Please sign in to comment.