Faris Ansari
6b596a4021
feat: doc.push for adding children without change
2019-12-20 11:56:52 +05:30
Faris Ansari
75184d43c3
fix: update modified after triggers
2019-12-20 11:54:48 +05:30
Faris Ansari
2205a212eb
feat: validate method for fields
2019-12-20 11:52:16 +05:30
Faris Ansari
d19182b583
fix: Singles
...
- Initialize defaults for SIngles
- Cast values when loading a Single document
2019-12-18 23:52:47 +05:30
Faris Ansari
fef4f96e78
fix: frappe.db.getCachedValue
...
- CacheManager
- Use db.getCachedValue in doc.getFrom
2019-12-18 23:51:45 +05:30
Faris Ansari
7198979fc7
fix: frappe.registerModels
...
- Directly register from models object, not models.models
- frappe.getModels
- Validate model before registering
- Fix model.extend bug for duplicate fields
- Remove usage of deepmerge and use lodash/cloneDeep
2019-12-18 23:48:53 +05:30
Faris Ansari
bdd470fd93
feat: Refactor database to use knex
2019-12-10 01:28:18 +05:30
Faris Ansari
8f02928cee
fix: Default precision
2019-12-05 00:13:17 +05:30
Faris Ansari
7af5c30e7b
fix: validateMandatory in insert
2019-12-05 00:13:08 +05:30
Faris Ansari
16ad083426
fix: Formula
...
- Trigger applyChange on parent if child is changed
- roundFloats after applyChange
- formulaDependsOn
- process formula value in getValueFromFormula
2019-12-02 17:50:48 +05:30
Faris Ansari
254b810fd0
fix: Set default precision for Float fields
2019-12-02 17:48:11 +05:30
Faris Ansari
5273177768
fix: Mark parentdoc as dirty if child is dirty
2019-11-28 23:09:43 +05:30
Faris Ansari
ab51ce3122
fix: Add loadLink method to document
2019-11-28 23:09:20 +05:30
Faris Ansari
31ebfb1d0e
fix: Default label for name field should be ID
2019-11-22 00:51:43 +05:30
Faris Ansari
d16f732b94
feat: loadLinks and insertOrUpdate
2019-11-15 13:15:16 +05:30
Faris Ansari
f29157fb8f
fix: clearValues
2019-10-30 02:24:05 +05:30
Faris Ansari
46ec99199a
fix: Set name field as readOnly when not specified
2019-10-30 01:09:07 +05:30
Faris Ansari
88c84e805b
fix: doc.setName
2019-10-30 01:08:43 +05:30
Faris Ansari
1f77238cd4
fix: Don't add name field for singles
2019-10-26 20:16:19 +05:30
Faris Ansari
9ca6c99012
fix: Return docfields list in getQuickEditFields
2019-10-19 20:07:24 +05:30
Faris Ansari
a06828683a
fix: Apply filters for derived doctype in defaults
2019-10-19 20:06:53 +05:30
Faris Ansari
ab57eef2eb
fix: Run formula for child docs passing parentdoc
2019-10-19 20:06:29 +05:30
Faris Ansari
133c8880d4
fix: Set unset fields as null in document
2019-10-19 20:05:13 +05:30
Faris Ansari
f1823a71ab
fix: Remove doc from cache if name changes
2019-10-19 19:59:41 +05:30
Faris Ansari
94cc020f5a
fix: convert child rows to BaseDocument objects
...
- tests
- test watch command
2019-10-08 16:46:54 +05:30
Faris Ansari
a12fc981bb
fix: instanceof BaseDocument
2019-10-08 13:11:13 +05:30
Faris Ansari
216e70a132
feat: Create DocTypes based on another DocType
2019-10-08 13:10:52 +05:30
Faris Ansari
700ee9c55c
feat: Rename methods
2019-10-06 03:16:14 +05:30
thefalconx33
b0e572b16c
Dynamic Labels
2019-09-17 13:44:09 +05:30
thefalconx33
ea2d0a8383
Currency formatting with symbol
2019-08-30 15:34:47 +05:30
thefalconx33
79b99055e0
- Custom doc for Report Filters
...
- frappe.showModal
- Custom textarea rows
2019-07-30 17:24:27 +05:30
Nishchith K
9053f4a710
Fix DateTime + error logs ( #106 )
2019-01-12 17:40:52 +05:30
Faris Ansari
3e6b741556
Use isNew() instead of _notInserted
2018-11-10 00:37:14 +05:30
Faris Ansari
631cb61c31
Formula fix for electron
2018-10-22 23:33:10 +05:30
Faris Ansari
db7050512f
Apply formula when doc value is empty string
2018-09-28 18:42:18 +05:30
sahil28297
667a966769
Apply formula if readOnly always ( #95 )
2018-09-25 17:45:10 +05:30
Faris Ansari
fb4295a12b
Formula enhancements
...
- apply formula on server side only if the field is read only
- skip applying formula if the value is already set
2018-09-23 13:45:53 +05:30
Faris Ansari
375325d917
File ( #80 )
...
File doctype
- Upload files using multer
- uploadFiles API in http.js
- Link File to doctype with name and field
- Refactor File component for fullpaths
- frappe.db.setValue(s) API
2018-08-18 21:24:17 +05:30
Faris Ansari
24b55da0e4
Fix failing tests
2018-07-18 00:59:18 +05:30
Faris Ansari
5375f21d30
Indicators
...
- Replace hardcoded color values with constants
- Add remaining color styles in Indicator component
- Show Indicator in List View
2018-07-09 20:25:24 +05:30
Suraj Shetty
8203bfc84e
Merge branch 'master' of https://github.com/frappe/frappejs
2018-06-25 13:19:57 +05:30
Suraj Shetty
349faf0695
Format code
2018-06-25 13:19:11 +05:30
Faris Ansari
c754e47cfe
Document
...
- default value for table field should be empty array
2018-06-15 21:12:59 +05:30
Faris Ansari
084bd05fa9
[model] copy base object before extending
2018-06-15 21:12:02 +05:30
Faris Ansari
aef583f35d
Tree fields required 0
2018-05-08 15:36:19 +05:30
Faris Ansari
695f02eb49
Add signup
2018-05-07 09:53:20 +05:30
Faris Ansari
3047abfe51
added frappe.login
...
- login working
2018-04-30 19:57:41 +05:30
Faris Ansari
d4472e4be0
model.extend method
2018-04-26 15:50:46 +05:30
Faris Ansari
5dfc8ee4b4
remove empty file
2018-04-24 13:30:10 +05:30
Faris Ansari
769c9e86bd
nested set wip
2018-04-18 12:18:24 +05:30