Commit graph

841 commits

Author SHA1 Message Date
rohitwaghchaure
dd0a237efe [Fix] Title field not set in the quotation if record has been created using data import tool (#4486) 2017-11-14 13:43:00 +05:30
Makarand Bauskar
6574920ca0 [hotfix] ignore validate_length for single doctypes (#4343) 2017-10-27 14:49:38 +05:30
Saurabh
1b3cbb9a81 [fix] if doctype is specified consider doctype in filter (#4381) 2017-10-25 17:24:09 +05:30
Prateeksha Singh
1e253b9d13 [controls] Barcode Control (#4335)
* [start] display barcode based on input

* [wip]

* [barcode] use set_value

* parse and set

* remove quagga

* [barcode] set in db

* [fix] set height

* cleanup

* remove from build.json, require instead

* [fix] declare JsBarcode global in .eslintrc
2017-10-18 12:24:58 +05:30
Makarand Bauskar
a6ed912924 [minor] display title in user mention instead of docname (#4217)
* [minor] display title in user mention instead of docname

* [minor] added the reference number/name

* [minor] if title is name then use the doc.reference_name instead of frappe.db.get_value
2017-10-17 09:32:51 +05:30
Faris Ansari
d20f9e2895 Data Migration Tool (for hub) (#4144)
* migration tool

* custom field for primary key added

* foreign key and multiple linking F_key issue resolved

* refined code

* many-to-one mapping temp fix

* added support for pre-process + cleaned up code

* [various] fixes to setup wizard for developer mode, frappe.enqueue_doc, share with assign

* Refactor data migration module

* added migration for hub

* Add "Skip errors" in data import tool

* move db_set to document.py

* Add Data Migration Run

* Dynamic Migration ID

* move run() from Mapping to Run

* Push Deleted Documents

* fixes

* [migration] doc operation counts

* insert and update instead of push in connection

* fix count and total_pages, skip sync if total_pages is 0

* [migration] child tables

* fix complete()

* [page] remove required libs

* Add sidebar.js, rename old sidebar.js to form_sidebar.js

* [minor] get_empty_state fixes

* svg in icon

* remove image check

* fix codacy

* fix is_child_table check

* [connector] add get_list()

* Add test for Data Migration Run

* fix test

* truncate tabNote

* fix test

* sync todo with event to fix test

* fix db count

* [mapping] export Mapping to json

* Add docs for Data Migration Tool

* [migration] pull data as list, test case

* [hub] remove mapping export to files

* Pull refactor

* [test]

* Add comments

* [mapping] exec in mapping formula

* fix codacy

* fix codacy

* Remove exec for pre-process and post-process

* Add pre and post process for Push

* Remove formula

* fixes

* [refactor] add failed_log to pull, handle error in pull

* [test] Push, pull, update

* Fix codacy, fix insert_doc for pull

* Set migration id on successful insert

* fix update_doc

* fix update_doc

* method is a function

* child table mapping

* Refactor logging

* fix update_doc again

* fix hostname, password

* update docs, minors

* Remove assign_if_none

* Remove error handling from connection methods

* [refactor] Data migration run

* Break push stages into methods

* Migration run refactor

- fix test
- add separate fields for logging

* fix codacy

* fix hostname password

* fix test
2017-10-05 11:15:35 +05:30
Rushabh Mehta
78995ceb3e [fix] text editor in firefox 2017-09-30 15:06:57 +05:30
Nabin Hait
f6b080ba71 Don't validate links on cancellation (#4218) 2017-09-29 19:51:11 +05:30
Rushabh Mehta
8682f87594 Merge branch 'master' into develop 2017-09-29 16:12:36 +05:30
Rushabh Mehta
267395f2a8 [fix] validate links before calling controller triggers 2017-09-29 13:07:16 +05:30
Nabin Hait
17c6383a29 Don't remove name while appending row 2017-09-29 10:53:37 +05:30
Nabin Hait
1e6916646a Remove name while appending row in child table 2017-09-28 18:58:15 +05:30
Nabin Hait
6bf332eba7 Merge branch 'master' into develop 2017-09-27 17:18:54 +05:30
Rushabh Mehta
fbf8da1d37 [minor] compileall after migrate, might solve timeouts on VM (#4197) 2017-09-27 15:31:51 +05:30
Aditya Hase
1d53cd89bf Encode string before hashing 2017-09-27 01:08:07 +05:30
Rushabh Mehta
147917283a [fix] naming only once 2017-09-25 12:50:20 +05:30
Faris Ansari
0bcb4ee131 [minor] webhooks cleanups 2017-09-22 17:34:49 +05:30
Rushabh Mehta
dcaf5f98af [fix] remove prints 2017-09-21 16:47:53 +05:30
Revant Nandgaonkar
1f9b1e40e3 Moved run_webhooks to webhook.py 2017-09-20 16:33:28 +05:30
Revant Nandgaonkar
e7459c7e83 Clean up 2017-09-19 16:40:17 +05:30
Revant Nandgaonkar
421b436803 move run webhook to Document from hooks 2017-09-18 16:32:33 +05:30
Nabin Hait
c1649a4adc Merge branch 'master' into staging 2017-09-12 16:09:19 +05:30
Nabin Hait
7266e673ac Merge branch 'master' into develop 2017-09-12 16:09:19 +05:30
Nabin Hait
e9eb5c4021 Changed order to avoid deadlock 2017-09-11 19:22:58 +05:30
Rushabh Mehta
4bd7f409de Merge pull request #3975 from pratu16x7/document-get-doc-before-save
[minor] `_doc_before_save` wrapper
2017-09-06 18:20:26 +05:30
pratu16x7
6843b10fcd [minor] use cached before update doc value after save 2017-09-01 19:10:51 +05:30
Makarand Bauskar
6fa9967a04 [hotfix] throw DoesNotExistError if doctype is not available on Delete api (#4013)
* [hotfix] throw DoesNotExistError if doctype is not available on Delete api

* [fixes] aded tests cases and codecy, travis fixes
2017-09-01 09:16:32 +05:30
pratu16x7
71ad9afc87 check if before_save exists 2017-08-30 16:43:46 +05:30
Aditya Hase
7da257bfaa Use raise instead of six.reraise 2017-08-22 17:20:39 +05:30
Rushabh Mehta
3ba0baaff4 Merge pull request #3947 from rmehta/print-style
[added] print style
2017-08-22 11:03:51 +05:30
Rushabh Mehta
7dedc69461 [print-style] sync, fix tests and remove selection 2017-08-18 14:53:38 +05:30
mbauskar
bc603de8be resolved conflicts 2017-08-16 18:24:21 +05:30
Robert Kirschner
67668684ab [minor] fix of translatable terms 2017-08-14 13:12:30 +02:00
Rushabh Mehta
05c88fa3f0 [minor] make email alert configurable, so we can use it list default print formats 2017-08-14 12:58:32 +05:30
Rushabh Mehta
5a31e583a2 Merge pull request #3912 from adityahase/fix-raise
Replace Py2 raise syntax with Py 3
2017-08-11 13:01:40 +05:30
Rushabh Mehta
1b9dd05481 Merge pull request #3910 from adityahase/fix-maxlength-comparison
Make sure that max_length[0][0] is comparable with new_length
2017-08-11 12:59:57 +05:30
Rushabh Mehta
6726f7e1b0 Merge pull request #3908 from adityahase/fix-method-string
Convert method name to string instead of encoding
2017-08-11 12:58:04 +05:30
Rushabh Mehta
751a35fe57 Merge pull request #3907 from adityahase/fix-sql-dict-values
Explicitly convert dict.values() to list
2017-08-11 12:57:22 +05:30
Aditya Hase
2da880fc42 Replace Py2 raise syntax with Py 3 2017-08-11 00:38:58 +05:30
Aditya Hase
5cc6903cd5 Make sure that max_length[0][0] is comparable with new_length 2017-08-11 00:38:01 +05:30
Aditya Hase
39af5d1f1c Convert method name to string instead of encoding 2017-08-11 00:20:11 +05:30
Aditya Hase
dfedd584ca Explicitly convert dict.values() to list 2017-08-11 00:12:00 +05:30
Aditya Hase
769338f136 Replaced all instances of basestring with six.string_types 2017-08-11 00:10:11 +05:30
rohitwaghchaure
8e362dfe56 [Fix] User not able to delete if it's linked with the communication (#3884) 2017-08-09 15:33:15 +05:30
mbauskar
e4675498bb Merge branch 'master' into staging 2017-08-04 11:02:07 +05:30
rohitwaghchaure
5925aada69 Added order by in_create for dynamic link query (#3849) 2017-08-04 10:55:38 +05:30
mbauskar
53167626ab resolved merge conflicts 2017-08-02 18:32:30 +05:30
Aditya Hase
ec9a01e3aa Replaced 'except' clause syntax (#3827) 2017-08-02 16:58:24 +05:30
Aditya Hase
e6bd1e4995 Replaced all instances of 'unicode' with 'six.text_type' (#3825) 2017-08-02 16:57:39 +05:30
Makarand Bauskar
fc715efdbb [hotfix] fixes for AttributeError: 'NoneType' object has no attribute 'split' (#3840)
* [hotfix] fixes for AttributeError: 'NoneType' object has no attribute 'split'

* [tests] added test cases for not in and in filters
2017-08-02 12:47:10 +05:30