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
86c57af94b
test: Add test for database migration
2019-12-13 12:43:45 +05:30
Faris Ansari
d1bbda829a
fix: Foreign key creation
2019-12-12 20:23:24 +05:30
Faris Ansari
4d616c075f
fix: Database
...
- Fix frappe.db.get for non existent record with children
- triggerChange in frappe.db.rename
- Handle null value in getAll filters
2019-12-11 17:57:25 +05:30
Faris Ansari
218b1a7a6b
Merge pull request #110 from frappe/knex
...
feat: Use Knex for query building
2019-12-10 01:49:02 +05:30
Faris Ansari
b48f0b2df9
chore: Add --exit to mocha test
2019-12-10 01:46:02 +05:30
Faris Ansari
49f8f96766
chore: Cleanup travis
2019-12-10 01:37:29 +05:30
Faris Ansari
b5bd5c9e77
fix: Remove unused auth module
2019-12-10 01:30:01 +05:30
Faris Ansari
e4ec2e11ee
fix: Optional configureWebpack
2019-12-10 01:28:42 +05:30
Faris Ansari
ced079c9cb
fix: Remove non-existent method
2019-12-10 01:28:33 +05:30
Faris Ansari
bdd470fd93
feat: Refactor database to use knex
2019-12-10 01:28:18 +05:30
Faris Ansari
496401c47e
chore: Remove electron pdf generation
...
- Moving it to accounting repo
2019-12-07 00:03:27 +05:30
Faris Ansari
859939e763
chore: Remove thumbnail middleware
2019-12-07 00:02:55 +05:30
Faris Ansari
48d12d1a93
chore: Remove unused packages
2019-12-06 23:42:06 +05:30
Faris Ansari
d027871707
fix: Set printPath using app.getAppPath()
2019-12-05 02:33:52 +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
cf1e38f59b
fix: Set name as randomString in getNewDoc
2019-12-02 17:51:18 +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
2839240436
fix: Add floatPrecision field
2019-12-02 17:47:54 +05:30
Faris Ansari
51541465e6
fix: Format currency
2019-12-02 17:36:25 +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
f6204ad6db
fix: getPDFForElectron
2019-11-28 23:08:37 +05:30
Faris Ansari
993e8d37b4
feat: Allow modifying webpack config from frappe.conf.js
2019-11-28 23:05:36 +05:30
Faris Ansari
26e51d4edf
fix: Use sql method in getAll
2019-11-22 00:51:56 +05:30
Faris Ansari
31ebfb1d0e
fix: Default label for name field should be ID
2019-11-22 00:51:43 +05:30
Faris Ansari
06f75e97fe
fix: Pass all listeners to feather-icon component
2019-11-22 00:51:26 +05:30
Faris Ansari
72b64e818e
feat: Throw better errors
2019-11-20 15:08:32 +05:30
Faris Ansari
03dee5913c
fix: Use h to create component
2019-11-15 13:16:10 +05:30
Faris Ansari
4071a6e8bc
feat: Add Date Formats in System Settings
2019-11-15 13:15:33 +05:30
Faris Ansari
d16f732b94
feat: loadLinks and insertOrUpdate
2019-11-15 13:15:16 +05:30
Faris Ansari
b769cd0b4a
fix: Add name in errors
2019-11-15 13:14:45 +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
26f0a720e2
fix: Autocomplete -> AutoComplete
2019-10-26 20:16:34 +05:30
Faris Ansari
1f77238cd4
fix: Don't add name field for singles
2019-10-26 20:16:19 +05:30
Faris Ansari
fa004db117
Add tailwind, DocType based on DocType and much more ( #108 )
...
Add tailwind, DocType based on DocType and much more
2019-10-23 12:06:45 +05:30
Faris Ansari
713cf65f2f
test: Remove .only
2019-10-23 12:02:34 +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
0b015f4d90
fix: Handle undefined filters
2019-10-19 20:03:23 +05:30
Faris Ansari
6c6a49f89a
fix: Base doctype in column definition
2019-10-19 20:03:08 +05:30
Faris Ansari
bf4b6c6f6b
fix: String default value must be in quotes
2019-10-19 20:00:31 +05:30