Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:frappe/erpnext into rm-py2
Browse files Browse the repository at this point in the history
  • Loading branch information
gavindsouza committed May 28, 2021
2 parents f93a7a7 + 6038663 commit d053081
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/server-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Server

on: [pull_request, workflow_dispatch]
on:
pull_request:
workflow_dispatch:
push:
branches: [ develop ]

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<p>ERP made simple</p>
</p>

[![CI](https://github.com/frappe/erpnext/actions/workflows/ci-tests.yml/badge.svg?branch=develop)](https://github.com/frappe/erpnext/actions/workflows/ci-tests.yml)
[![CI](https://github.com/frappe/erpnext/actions/workflows/server-tests.yml/badge.svg?branch=develop)](https://github.com/frappe/erpnext/actions/workflows/server-tests.yml)
[![Open Source Helpers](https://www.codetriage.com/frappe/erpnext/badges/users.svg)](https://www.codetriage.com/frappe/erpnext)
[![Coverage Status](https://coveralls.io/repos/github/frappe/erpnext/badge.svg?branch=develop)](https://coveralls.io/github/frappe/erpnext?branch=develop)

Expand Down
3 changes: 3 additions & 0 deletions erpnext/setup/setup_wizard/operations/taxes_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ def make_taxes_and_charges_template(company_name, doctype, template):
'charge_type': 'On Net Total'
}

if doctype == 'Purchase Taxes and Charges Template':
tax_row_defaults['add_deduct_tax'] = 'Add'

# if account_head is a dict, search or create the account and get it's name
if isinstance(account_data, dict):
tax_row_defaults['description'] = '{0} @ {1}'.format(account_data.get('account_name'), account_data.get('tax_rate'))
Expand Down

0 comments on commit d053081

Please sign in to comment.