Commit graph

102 commits

Author SHA1 Message Date
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
tunde
b19b7159b2 add BGN, XAF, XOF currencies 2017-09-12 14:07:35 +01:00
mbauskar
2f587f0298 [lang] added new languages 2017-09-11 10:49:04 +05:30
viitaset
c3a34fc490 Fixed finnish language translation 2017-09-02 18:55:33 +00:00
KanchanChauhan
f52e389d4f Salutation and Gender in Contact (#3079) 2017-06-13 15:25:53 +05:30
tundebabzy
6e29d9e925 xrange to range (#3237)
* introduces build status for local fork

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range

* converts xrange to range using six.moves.range

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* Revert "introduces build status for local fork"

This reverts commit 61f40983d0b3c6725369171ab850a18e5c029cc4.
2017-05-11 10:55:34 +05:30
Rushabh Mehta
262f361021 [minor] ignore permissions option for filters in db_query (#3234) 2017-05-06 12:43:47 +05:30
Kanchan Chauhan
0ff340ba3b [WIP] [Enhancement] Employee Address moved to Address 2017-04-13 19:17:09 +05:30
Charles-Henri Decultot
7883b9d6f0 Language first letter as uppercase to improve the setup experience (#3028) 2017-04-12 14:52:40 +05:30
Makarand Bauskar
30c0f625ab [fixes] address and contact filter query fixes (#3065) 2017-04-11 19:11:34 +05:30
Charles-Henri Decultot
8a134e11c2 Addition of the date format for France (#3033) 2017-04-10 12:46:10 +05:30
joezsweet
afaad51f60 Added Italian date format, modified number format (#3035) 2017-04-10 12:45:50 +05:30
joezsweet
b0fab786b4 fix Datepicker - Calendar localization compatibility (#2992) 2017-04-10 12:45:29 +05:30
CH
84f35a538b Correction of the currency format for France 2017-04-03 15:59:49 +02:00
Rushabh Mehta
e31db06ce7 [fix] move user role setting to erpnext 2017-03-31 23:02:01 +05:30
Robert
9e8896d3c1 [minor] translation related: Address document autoname and Search box placeholder (#2918)
* strings in templates translatable

* [minor] placeholder in search box is translatable now

* Address autoname creates new name from translated address_type
2017-03-27 15:24:06 +05:30
KanchanChauhan
7c38c2155b [Fix] Address web view fixed (#2899) 2017-03-23 14:55:40 +05:30
mbauskar
e7b520d443 [minor] don't allow transactions in contact/address link_doctype field 2017-03-13 10:39:31 +05:30
mbauskar
0bd9f37ebe [minor] filters for both address and contact dynamic link lin_doctype field 2017-03-07 17:17:14 +05:30
Nabin Hait
e3d4e8b108 Merge pull request #2699 from rohitwaghchaure/role_based_reports
[Enhancement] Provision to add roles in the report
2017-03-06 18:34:39 +05:30
Rohit Waghchaure
b63f4400f4 added roles in the report 2017-03-06 14:42:14 +05:30
Robert Kirschner
990892d53f Name of timezone changed for Slovakia to name of the capital city 2017-03-06 07:49:18 +01:00
Ardavan K
ebf82e8b6f Update country_info.json
added the missing comma
2017-03-05 11:51:10 +03:30
Ardavan K
d9d7165d31 Update country_info.json
Added currency symbol & timezone for Iran
2017-03-05 01:41:24 +03:30
Rushabh Mehta
8ac3a9a7ca [web-forms] added text-editor and using div in summernote instead of p 2017-02-28 12:13:36 +05:30
Rushabh Mehta
c0ef741ce8 [hot] fix socket js 2017-02-24 16:01:30 +05:30
Rushabh Mehta
155cdff99b [fix] socket io limit doc_open and other minor fixes 2017-02-24 14:46:34 +05:30