diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..6448637b --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,46 @@ +name: Build + +on: + push: + branches: [ $default-branch ] + paths-ignore: + - '**.md' + pull_request: + paths-ignore: + - '**.md' + +jobs: + build-linux: + runs-on: ubuntu-latest + steps: + - name: Setup node + uses: actions/setup-node@v2 + with: + node-versions: '16.4.0' + + - name: Checkout Books + uses: actions/checkout@v2 + with: + path: app + + - name: Checkout FrappeJS + uses: actions/checkout@v2 + with: + repository: 'frappe/frappejs' + path: framework + + + - name: Setup FrappeJS + run: | + cd framework/frappejs + yarn + yarn link + + - name: Setup Books + run: | + cd app/books + yarn + yarn link frappejs + + - name: Run build + run: yarn electron:build --linux \ No newline at end of file diff --git a/models/doctype/Party/RegionalChanges.js b/models/doctype/Party/RegionalChanges.js index e94d9e57..e0647445 100644 --- a/models/doctype/Party/RegionalChanges.js +++ b/models/doctype/Party/RegionalChanges.js @@ -25,6 +25,7 @@ export default function getAugmentedParty({ country }) { } ); Party.quickEditFields.push('gstin'); + Party.quickEditFields.push('gstType'); } else { Party.fields.splice(3, 0, { fieldname: 'taxId',