Commit graph

128 commits

Author SHA1 Message Date
Gavin D'souza
3446026555 chore: Update header: license.txt => LICENSE
The license.txt file has been replaced with LICENSE for quite a while
now. INAL but it didn't seem accurate to say "hey, checkout license.txt
although there's no such file". Apart from this, there were
inconsistencies in the headers altogether...this change brings
consistency.
2021-09-03 12:02:59 +05:30
Gavin D'souza
e407b78506 chore: Drop dead and deprecated code
* Remove six for PY2 compatability since our dependencies are not, PY2
  is legacy.
* Removed usages of utils from future/past libraries since they are
  deprecated. This includes 'from __future__ ...' and 'from past...'
  statements.
* Removed compatibility imports for PY2, switched from six imports to
  standard library imports.
* Removed utils code blocks that handle operations depending on PY2/3
  versions.
* Removed 'from __future__ ...' lines from templates/code generators
* Used PY3 syntaxes in place of PY2 compatible blocks. eg: metaclass
2021-05-26 15:31:29 +05:30
barredterra
3f7469875d fix: default number format for germany 2021-04-29 15:34:46 +02:00
Raffael Meyer
322dcfdad0
fix: New currency symbol for Zimbabwe (#12308)
* fix: New currency symbol for Zimbabwe

* fix: re-run patch
2021-02-04 08:42:43 +05:30
Mathieu Brunot
7d490528f5
Merge branch 'develop' into feat/map-develop 2020-12-23 01:28:42 +01:00
Mathieu Brunot
90875ef21c
Update frappe/geo/utils.py
Co-authored-by: Prssanna Desai <prssud@gmail.com>
2020-11-26 02:26:57 +01:00
Deepesh Garg
dbd8f52e54 feat: Non negative check for Int, Float and Currency fields 2020-10-29 16:40:38 +05:30
mathieu.brunot
007e59184d
chore: Fix sider issues
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
2020-10-24 03:03:16 +02:00
Kenneth Sequeira
09c625cc67
fix: Add default timezone for Laos (#11705) 2020-10-14 13:04:42 +05:30
mathieu.brunot
3c181bf2a2
Replace spaces by tabs
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
2020-10-07 18:57:01 +02:00
Mathieu Brunot
ad313cf549
chore: Apply suggestions from code review
Co-authored-by: Prssanna Desai <prssud@gmail.com>
2020-10-07 18:12:03 +02:00
Mathieu Brunot
a22347d806
chore: Apply suggestions from code review
Co-authored-by: Prssanna Desai <prssud@gmail.com>
2020-10-07 18:10:18 +02:00
Emil
80857f6c90
Add tests
Signed-off-by: Emil <amionv99@gmail.com>
2020-08-14 14:52:57 +03:00
mathieu.brunot
e9b3085c6a
🎨 Split Geo Utils into specific functions
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
2020-08-12 17:19:35 +02:00
AminovE99
60153cb857
🚚 Rename function 2020-08-12 16:29:07 +03:00
AminovE99
be76942394
🔥 Remove debug print 2020-08-12 12:57:08 +03:00
AminovE99
32546694b7
📝 Update description
Co-authored-by: Mathieu Brunot <mathieu.brunot@monogramm.io>
2020-08-11 17:50:55 +03:00
AminovE99
f27eee1ce6
🐛 Only location or latitude and longitude 2020-08-11 17:30:36 +03:00
AminovE99
325d0e32c1
🎨 Changes from new requirements (python) 2020-08-11 17:20:03 +03:00
AminovE99
d4dd7e097a
🎨 Apply suggestions from code review
Co-authored-by: Mathieu Brunot <mathieu.brunot@monogramm.io>
2020-08-11 14:13:08 +03:00
AminovE99
6022ef74c8
Add Location type 2020-08-10 16:36:53 +03:00
Raffael Meyer
be8566e1ac
feat: add currency Congolese franc 2020-08-09 14:23:25 +02:00
AminovE99
da9c362a02
♻️ Review myself 2020-08-05 17:08:07 +03:00
Emil
218749e401
Add Map View 2020-08-05 16:20:17 +03:00
Suraj Shetty
fa03a73fc0 fix: Update country.json
to make sure time_format column is created for country table.
2020-02-24 15:46:39 +05:30
Sahil Khan
20785737d9 feat(translation): add Filipino language 2020-01-30 19:07:23 +05:30
Andrew McLeod
07cedc581d feat: Optionally remove seconds from datetime (#8531)
* fix: Add updated datepicker; fixed seconds formatting bug.
Seconds between 0 and 9 were not zero-padded.

* feat: Add framework for time format

* feat: datetime server-side formatters.

* tests: Added server-side datetime formatter tests

* feat: Update client-side datetime formatters

* tests: Add Cypress client-side formatting tests.

* fix: JSON errors

* fix: Update to not hard-code admin password

* fix: Change to using bulk_update rather than the REST API

* tests: Use Custom doctype for testing, not Standard

* fix: Codacy style fixes

* fix: Commonify update_datetime_picker in date.js, datetime.js, time.js
Fix order of time_format in System Settings
Restore get_user_fmt in utils/datetime.js

* feat: Drastically reduce scale of Cypress testing (to make tests faster)
Full testing is possible by setting 'fast_mode' to false in the spec file.

* fix: Fix issues with datepicker/timepicker expansion

* fix: typo

* style: Various style fixes as requested by DeppSource: Python

* fix: Timepicker not hiding on 'now' button. Force hiding on click.

* style: Codacy style fixes.

* fix: Use datepicker from node_modules

* test: Refactor Datetime UI tests

- cy.get_field
- cy.set_value
- cy.insert_doc with ignore_duplicate
- Nominal datetime tests to cover most formats
- Formatting with prettier

* test: Datetime UI tests; wait for cur_frm.doc.datetime to update

* tests: Add whitespace to typed input

- Clear input only for Time field

* test: Wait timeout 200

* test: Fix form test

Co-authored-by: Faris Ansari <netchampfaris@users.noreply.github.com>
2019-12-25 14:54:28 +05:30
Saqib
b0622255d4 revert: changes in currency formatting (#8996)
* fix: reverted currency formatting

* ux: added description for currency's number format
* It doesn't have any effect on how the currency is formatted.

* fix: revert json changes in currency master
2019-12-10 15:50:26 +05:30
Suraj Shetty
b61258fbc0
Merge branch 'develop' into re-fix 2019-10-19 16:36:17 +05:30
thefalconx33
4b2d91b295 fixes: Incorrect currency value while pasting from excel sheets for other countries. 2019-10-19 15:24:46 +05:30
nocubicles
521cd476d5 Estonia uses Euros since 2011. Fixed it (#8496) 2019-09-26 18:16:47 +00:00
Suraj Shetty
488049f25d fix: Use sr_BA instead of sr_SP since sr_SP is not supported by Babel 2019-08-29 10:58:30 +05:30
John Clarke
ccaee408d0
Change El Salvador currency to USD syntax error fix
Change double quotes character - on my initial submit PR # 8247 I did not notice the syntax checker flagged this error :-)
2019-08-22 16:04:46 -06:00
John Clarke
3fb6475639
Change El Salvador currency to USD
See user request here https://discuss.erpnext.com/t/el-salvador-default-currency-change-to-usd-please/52070

These proposed changes appear to agree with https://en.wikipedia.org/wiki/Salvadoran_col%C3%B3n
2019-08-22 14:44:37 -06:00
Faris Ansari
a0b1ae732f fix: Add currency code for Surinamese dollar 2019-05-15 11:40:37 +05:30
N. Emre Özbakır
e78907737a
fix: Typo of TR-Turkish
fixed wrong typo of Turkish in respected language.
2019-04-05 21:31:36 +03:00
Sahil Khan
f085765abd Merge branch 'master' into develop 2019-03-28 13:44:14 +05:30
Kenneth Sequeira
664bc680bd fix: Add Currency Yemeni Rial (#7131)
Closes issue https://github.com/frappe/erpnext/issues/16956
2019-03-28 11:44:19 +05:30
Anurag Mishra
f8a0257c20 fix: Define default currency for Mozambique (#7118) 2019-03-27 13:12:52 +05:30
Faris Ansari
19c4f6086e fix: Remove cscript and cur_frm from all client scripts
- DocType
- Report
- Property Setter
- Newsletter
- Currency
- Contact
- Address and Contact
2019-03-20 17:29:43 +05:30
Aditya Hase
837bfc0995 fix(unicode): Import unicode_literals in every file (#6805)
* fix(unicode): Import unicode_literals in every file

* fix(unicode): Test if safe_json_loads return unicode instead of bytes
2019-01-25 11:56:27 +05:30
Charles-Henri Decultot
24a1003f22 Smallest currency fraction for EUR (#6077) 2018-09-12 15:51:03 +05:30
Rushabh Mehta
a9f32f292c default(perms): add default import, export perms 2018-08-29 17:09:35 +05:30
Nabin Hait
886a41d0ce Fixed merge conflict 2018-08-29 13:08:04 +05:30
Shreya Shah
503da4d7d7 Modify smallest currency fraction for USD (#6000) 2018-08-23 16:00:43 +05:30
yimesgen
becefe7197 Update country_info.json (#5616) 2018-05-27 12:48:12 +05:30
Rushabh Mehta
b4650f42a1 [minor] remove in_dialog old property 2018-05-16 12:51:01 +05:30
tundebabzy
1bb960664e Add New Currency - XCD (#4660)
* adds XCD currency

* add as a new patch

* clean up
2017-12-25 13:39:48 +05:30
tunde
0acde7bd81 change FCFA to CFA for West African francs 2017-09-14 14:16:34 +01:00
tunde
0650c5c951 Merge branch 'develop' into add_new_currencies 2017-09-12 14:10:56 +01:00