Commit graph

35 commits

Author SHA1 Message Date
Rushabh Mehta
89a77016a5 [minor] dont show disabled roles in permission manager (#2180) 2016-10-25 10:59:41 +05:30
Rushabh Mehta
512fc3a5c2 [feature] [api] frappe.client.insert_many 2016-08-09 11:09:31 +05:30
Anand Doshi
2162b695d4 [api call] frappe.client.get_password 2016-07-24 14:09:50 +05:30
Maxwell Morais
3a23409239 Fix: TypeError: unhashable type: 'dict'
```python
Traceback (innermost last):
  File "/usr/frappe5/frappe-bench/apps/frappe/frappe/app.py", line 57, in application
    response = frappe.handler.handle()
  File "/usr/frappe5/frappe-bench/apps/frappe/frappe/handler.py", line 19, in handle
    execute_cmd(cmd)
  File "/usr/frappe5/frappe-bench/apps/frappe/frappe/handler.py", line 36, in execute_cmd
    ret = frappe.call(method, **frappe.form_dict)
  File "/usr/frappe5/frappe-bench/apps/frappe/frappe/__init__.py", line 805, in call
    return fn(*args, **newargs)
  File "/usr/frappe5/frappe-bench/apps/frappe/frappe/client.py", line 79, in insert
    parent.append(doc)
  File "/usr/frappe5/frappe-bench/apps/frappe/frappe/model/base_document.py", line 130, in append
    if not self.__dict__.get(key):
 TypeError: unhashable type: 'dict'
```
2016-05-14 23:18:52 -03:00
Maxwell Morais
d1c6c9f0f1 Fix: AttributeError: 'dict' object has no attribute 'parenttype'
```python
Traceback (innermost last):
  File "/usr/frappe5/frappe-bench/apps/frappe/frappe/app.py", line 57, in application
    response = frappe.handler.handle()
  File "/usr/frappe5/frappe-bench/apps/frappe/frappe/handler.py", line 19, in handle
    execute_cmd(cmd)
  File "/usr/frappe5/frappe-bench/apps/frappe/frappe/handler.py", line 36, in execute_cmd
    ret = frappe.call(method, **frappe.form_dict)
  File "/usr/frappe5/frappe-bench/apps/frappe/frappe/__init__.py", line 805, in call
    return fn(*args, **newargs)
  File "/usr/frappe5/frappe-bench/apps/frappe/frappe/client.py", line 78, in insert
    parent = frappe.get_doc(doc.parenttype, doc.parent)
 AttributeError: 'dict' object has no attribute 'parenttype'
```
2016-05-14 23:14:54 -03:00
Rushabh Mehta
fe330d3209 [cleanup] frappe.require 2016-04-26 12:58:30 +05:30
Rushabh Mehta
6f2b58c095 [fix] control.js for read only values 2016-04-25 17:53:13 +05:30
Anand Doshi
569f2f068a [fix] get_js 2015-11-17 18:28:37 +05:30
Rushabh Mehta
d924fd1715 [fix] [minor] 2015-05-05 17:41:23 +05:30
Rushabh Mehta
5034e7e660 [api] add frappe.model.get_value in js (gets value from serverside) 2015-03-05 11:58:40 +05:30
Anand Doshi
98958334b5 Merge pull request #1026 from pdvyas/limit-page-length
limit page length to 20 by default only for api requests
2015-03-03 15:45:49 +05:30
Anand Doshi
2995f02f3b Web Notes to Frappe, better alerts, css fixes, fixed splash 2015-03-03 15:09:34 +05:30
Pratik Vyas
b6e9b9b7ca limit page length to 20 by default only to api requests 2015-02-22 16:30:42 +05:30
Rushabh Mehta
cf3074a20b [print-format] completed print format builder 2015-01-30 17:08:12 +05:30
Rushabh Mehta
4b519bdada [api] frappe.get_all 2014-09-30 17:44:41 +05:30
Rushabh Mehta
575ec0015a [api] added frappe.client.get_list 2014-09-26 18:53:37 +05:30
nathando
1a1a23f032 Typo Error ? frappe.client.submit fail
- Frappe client use this submit function and failed due to doclist is actually a {dict} or a [list]. Both cannot have as_dict() function 
- Seem like just a typo -> change to doclistobj instead.
2014-08-29 10:35:50 +08:00
Nabin Hait
791b2374c5 dont allow to edit read only fields through report view 2014-08-22 14:09:27 +05:30
Anand Doshi
1fb25aa093 Fixed add width property setter 2014-06-16 16:06:22 +05:30
Rushabh Mehta
73730ccf1f fix for button and better way to add list, fixes frappe/erpnext#702 2014-06-05 18:06:09 +05:30
Rushabh Mehta
12ecc5ac42 added form tests for selenium testing 2014-05-01 12:24:49 +05:30
Rushabh Mehta
f553841fba updated translations 2014-04-16 17:46:54 +05:30
Rushabh Mehta
246a2a84fb fixed strings for translation 2014-04-15 14:40:00 +05:30
Rushabh Mehta
5d4e39bef6 frappe/frappe#478, more changes, removed bean 2014-04-03 14:30:49 +05:30
Rushabh Mehta
63eb09f3a3 frappe/frappe#478 removed more instances of doclist 2014-04-03 12:38:46 +05:30
Rushabh Mehta
081739b10a frappe/frappe#478, removed instances of .fields 2014-03-31 23:37:45 +05:30
Rushabh Mehta
7bef30b270 frappe/frappe#478 2014-03-28 16:52:23 +05:30
Anand Doshi
f1eb0dd005 Replaced doc, doc.fields frappe/frappe#478 2014-03-28 13:54:53 +05:30
Rushabh Mehta
1e364ba1c7 #478 2014-03-28 11:34:59 +05:30
Rushabh Mehta
caed23686c minor fixes 2014-03-18 19:21:18 +05:30
Rushabh Mehta
0a43add3d3 few minor fixes 2014-03-13 18:41:13 +05:30
Rushabh Mehta
226087c460 fixes 2014-02-27 13:24:28 +05:30
Anand Doshi
edbadc18b2 Changed frappe.conn to frappe.db 2014-02-26 12:35:02 +05:30
Anand Doshi
d594822d9c -webnotes +frappe 2014-02-14 17:44:19 +05:30
Rushabh Mehta
024ddfcc5b -webnotes +frappe 💥 2014-02-14 14:55:11 +05:30
Renamed from webnotes/client.py (Browse further)