Skip to content

Commit

Permalink
Merge branch 'parsimony-production' into fix-stripe-price-id
Browse files Browse the repository at this point in the history
  • Loading branch information
Alchez authored Jul 8, 2021
2 parents 631aa62 + 61e2e26 commit 46ecfef
Show file tree
Hide file tree
Showing 21 changed files with 338 additions and 383 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ install:
- cd ~
- nvm install 10

- git clone https://github.com/frappe/bench --depth 1
- pip install -e ./bench
- pip install -U frappe-bench --only-binary='all'

- git clone https://github.com/ParsimonyGit/frappe --branch $TRAVIS_BRANCH --depth 1
- bench init --skip-assets --frappe-path ~/frappe --python $(which python) frappe-bench
Expand Down
2 changes: 1 addition & 1 deletion erpnext/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from erpnext.hooks import regional_overrides
from frappe.utils import getdate

__version__ = '12.21.0'
__version__ = '12.22.0'

def get_default_company(user=None):
'''Get default company for user'''
Expand Down
6 changes: 5 additions & 1 deletion erpnext/accounts/doctype/journal_entry/journal_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ def validate(self):
self.validate_entries_for_advance()
self.validate_multi_currency()
self.set_amounts_in_company_currency()
self.validate_total_debit_and_credit()

# Do not validate while importing via data import
if not frappe.flags.in_import:
self.validate_total_debit_and_credit()

self.validate_against_jv()
self.validate_reference_doc()
self.set_against_account()
Expand Down
Loading

0 comments on commit 46ecfef

Please sign in to comment.