Akshay Kumar Tripathi
b0f1bbc378
fix: corrected the function get_url ( #13330 )
...
* Removed /Form from the function get_url
As per issue #12820 , I think /Form was causing a problem so I removed it. Now the get_url returns URL in the format: "app/doctype/name".
* fix: Change to f-strings
* Implement slug on get_url
* Removed slug for names
2021-05-26 05:07:50 +00:00
Joseph Marie Alba
c795a70897
Python 3 issue in re
...
Python 3 interprets string literals as Unicode strings, and therefore \d is treated as an escaped Unicode character.
Declare RegEx pattern as a raw string instead by prepending r or double escape \d
2021-05-16 05:52:05 +08:00
Prssanna Desai
4b0e627c94
Merge pull request #13203 from prssanna/custom-print-format-fix
...
fix: check if df exists in get_formatted
2021-05-13 12:14:37 +05:30
prssanna
103fa1e31a
fix: check if df exists in get_formatted
2021-05-12 16:40:56 +05:30
Leela vadlamudi
2374290935
Merge pull request #13142 from shariquerik/revert-naming-fix
...
fix: Revert naming for custom naming series
2021-05-10 14:02:56 +05:30
gavin
a094cbee56
Merge pull request #12242 from gavindsouza/dont-call-dynamic-properties
...
fix: Don't evaluate dynamic properties to check if conflicts exist
2021-05-10 13:57:50 +05:30
shariquerik
9919ddff2a
fix: sider fix
2021-05-10 12:56:15 +05:30
shariquerik
e0efefd9e5
refactor: Used re.search also added examples
2021-05-10 12:54:04 +05:30
shariquerik
8995e8e9db
refactor: remove unnecessary code
2021-05-09 06:24:20 +05:30
shariquerik
e7552413b4
refactor: minor fix
2021-05-07 18:10:59 +05:30
Leela vadlamudi
4743a04a8e
Merge pull request #13121 from frappe/repr_doctype
...
feat(DX): Add simple __repr__ for DocTypes
2021-05-07 10:12:56 +05:30
leela
72ca7e9753
refactor: remove six dependency
2021-05-07 07:42:04 +05:30
Gavin D'souza
87ed7796de
fix: Use older logic to set module_name and custom vars
2021-05-06 16:56:50 +05:30
Gavin D'souza
877f9d08df
fix: Use fallback values if doctype values unset
2021-05-06 16:56:50 +05:30
Gavin D'souza
05712abc60
fix: Check for db value if cache doesn't exist
...
in get_controller, if cached value doesn't exist for a DocType in the
frappe.db.value_cache, then query the db as fallback before the final
fallback of assuming module as Core and non custom
2021-05-06 16:56:49 +05:30
shariquerik
483cd85eba
fix: Revert naming for custom naming series
2021-05-06 16:44:18 +05:30
Ankush Menat
adbf267212
feat(DX): Add __repr__ and __str__ for DocTypes
...
- Show doctype and name
- if docstatus != 0, show docstatus
- if child doctype, show parent
2021-05-05 19:45:33 +05:30
Hussain Nagaria
3e229e931a
test: Email and URL validate functions
2021-04-30 15:37:55 +05:30
Hussain Nagaria
82b98330fd
feat: Add URL option for data type fields
2021-04-14 20:16:44 +05:30
Deepesh Garg
a0fa3d0fd5
Merge branch 'develop' of https://github.com/frappe/frappe into if_owner_per_check_url
2021-04-12 21:24:19 +05:30
hasnain2808@gmail.com
e95f7d201a
fix: backwards compatibility
2021-04-07 11:15:34 +05:30
Saqib Ansari
a93c2caab2
fix: reverting of series with a variable
2021-04-06 20:48:33 +05:30
Deepesh Garg
8460ca851f
fix: filter list view based on owner
2021-04-03 16:12:26 +05:30
Suraj Shetty
cf607148a0
Merge pull request #12121 from zerodha/virtual_doctype
2021-04-02 12:43:43 +05:30
Suraj Shetty
efba586054
Merge branch 'develop' into remove-password
2021-04-02 09:46:57 +05:30
Faris Ansari
bcb01f6491
fix: Remove encrypted password when it is unset
2021-04-01 17:48:20 +05:30
Shridhar Patil
361cd935d6
Merge branch 'develop' into virtual_doctype
2021-04-01 09:46:35 +05:30
Suraj Shetty
7124e49473
Merge branch 'develop' into whitelist-methods
2021-03-31 20:42:37 +05:30
Sagar Vora
aed90126f3
fix: incorrect condition
2021-03-30 13:32:36 +05:30
Sagar Vora
497ea861f4
feat: frappe.whitelist for class methods
2021-03-30 13:07:58 +05:30
Rushabh Mehta
2248c6c410
fix(minor): lockdown frappe.client.get_list
2021-03-30 11:25:40 +05:30
Rushabh Mehta
c9b367933a
fix(minor): make group_by validation tighter
2021-03-29 23:16:33 +05:30
Rushabh Mehta
a2ffea53f2
fix(refactor): lockdown frappe.desk.reportview
2021-03-29 21:44:08 +05:30
Prssanna Desai
6df534a333
Merge pull request #12635 from prssanna/prepared-reports-deletion
2021-03-25 15:11:48 +05:30
prssanna
e40892fdb6
feat: flag to delete attached files permanently
2021-03-25 14:34:10 +05:30
prssanna
f97cc370cf
feat: flag to delete docs permanently
2021-03-25 14:34:10 +05:30
prssanna
45e7943928
style: remove commented out line
2021-03-24 12:41:33 +05:30
Suraj Shetty
91c9dce6c0
fix: Create copy of meta fields for checks
2021-03-24 10:58:56 +05:30
Suraj Shetty
514d7480e6
fix: Do not validate permlevel for admin
2021-03-24 09:43:36 +05:30
Suraj Shetty
7e5f86789c
fix: Do not check permlevel > 0
...
- while creating has_access_to list
2021-03-23 19:53:05 +05:30
prssanna
05bd2c561a
Merge branch 'develop' of https://github.com/frappe/frappe into permlevel-fix
2021-03-23 13:45:03 +05:30
Chinmay Pai
043a6c0804
Merge branch 'develop' into virtual_doctype
2021-03-17 20:18:44 +05:30
prssanna
32c1847a1d
fix: remove redundant application of field level permissions
2021-03-17 14:08:37 +05:30
prssanna
7fbe2b1af2
Merge branch 'develop' of https://github.com/frappe/frappe into permlevel-fix
2021-03-17 11:04:41 +05:30
Prssanna Desai
7cc64489e3
Merge branch 'develop' into perms-in-unrelated-doc
2021-03-16 11:12:46 +05:30
Shariq Ansari
71bb522e95
fix: Multi currency in print view shows same currency symbol ( #12569 )
...
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-03-16 10:07:23 +05:30
Suraj Shetty
b4fd52cda6
Merge branch 'develop' into perms-in-unrelated-doc
2021-03-12 14:00:01 +05:30
marination
46ff9c6102
fix: Fixed for field default values too + Added tests
...
- made fix for field default values too along with user default values
- Commonified validation of default value via User Perm
- Added tests for both cases
2021-03-12 12:40:22 +05:30
prssanna
e5a27c22b0
Merge branch 'develop' of https://github.com/frappe/frappe into permlevel-fix
2021-02-25 14:46:00 +05:30
mergify[bot]
465404f66e
Merge pull request #12447 from adityahase/perf-cli
...
perf: Faster CLI
2021-02-25 01:44:36 +00:00