Commit Graph
64 Commits
Author SHA1 Message Date
Sergi Almacellas Abellana ccfbedff5a Add support for custom quote character on CSV Import/Export
Since version 4.1.3 of PapaParse it's supported, so we can enable it.
issue6223
review34661002
2017-02-07 11:07:43 +01:00
Cédric Krier b34ea0844f Use save_current of Window.Form in Window.Search
It prevents the new form from closing when an error message is raised.

issue5609
review26011002
2017-01-15 19:05:15 +01:00
Cédric Krier 69fba9b621 Align toolbar of Window Form on the right
issue6149
review31851002
2017-01-07 16:55:52 +01:00
Cédric Krier aa395ba7b9 Close CVS dialog after message
issue6009
review30751002
2016-11-05 19:52:18 +01:00
Prayash Mohapatra 8b84530cf3 Add CSV Import/Export
review27421002
2016-10-31 10:09:43 +01:00
Cédric Krier 970c92abfc Use cancel_record instead of removing from group
cancel_record uses Screen.remove which ensure the cursor is correctly set after
the removal.
This also ensure that cancel_record remove only the current record.

issue5852
review29641002
2016-10-25 23:14:20 +02:00
Cédric Krier 430058b891 Comply to the JSON-RPC specification
issue5782
review28651002
2016-09-27 11:57:55 +02:00
Cédric Krier a97be4a36a Move info-bar to the top
issue5857
review28761002
2016-09-19 22:21:09 +02:00
Cédric Krier a077ee95eb Set 'default_rec_name' context key when query default_get
The last searched text is used as default rec_name

issue4136
review30351002
2016-08-04 23:57:03 +02:00
Nicolas Évrard b7a8f5b7d4 Call autocompletion when setting record value
issue5712
review31371002
2016-07-20 13:24:32 +07:00
Sergi Almacellas Abellana 9195d843d2 Manage rec_name promise on Attachment and Notes title
Also re-add wrongly removed context declaration

issue2350
review27461002
2016-07-12 09:21:22 +02:00
Sergi Almacellas Abellana 881eca005a Replace views string with model description
issue2350
review28371002
2016-07-05 09:54:16 +02:00
Cédric Krier 1a55a423f7 Clear the new record for Preference
The Preference window create a new record to simulate the read using
preferences values. But this mark the record has modified and prevent to click
on buttons. So the new record must be canceled just after "new" call.

issue5663
review23241002
2016-06-30 21:56:10 +02:00
Cédric Krier aceedacb36 Manage custom login process
The password is removed from the login window. The login parameters are filled
using asks pop-up until login success. The same login method is used to renew
the session.

issue5521
review23001003
2016-05-31 12:53:26 +02:00
Cédric Krier 330319b6bd Remove Screen.parent hack in Attachment and Note
The modified test in Screen.switch_view can be moved to
Screen.default_row_activate only, so the Attachment and Note screen doesn't
require to have a fake parent to switch views.

issue5558
review23131002
2016-05-25 11:14:15 +02:00
Cédric Krier de3f83ab23 Add missing this binding in forEach method in Attachment.callback 2016-05-19 12:54:22 +02:00
Cédric Krier 1036272161 Set resource before saving
Excluded fields are not validated so the resource field is not set on
attachment by the domain inversion (it is done on validation).

issue3525
review18991002
2016-02-11 22:22:22 +01:00
Cédric Krier d5f7570412 Set note resource also to new records
issue5300
review21641002
2016-02-04 00:52:38 +01:00
Cédric Krier 2d2c36eeff Add Note
issue4669
review17731004
2016-02-02 19:15:58 +01:00
Cédric Krier c4864615c9 Pipe the callback after the attachment save
issue5236
review24701002
2016-01-13 21:14:28 +01:00
Nicolas Évrard 93df2996ba Implement set_cursor
review22561002
2015-10-27 10:55:57 +01:00
Cédric Krier 01a33fd96c Call screen display only once the modal is shown in Sao.Window.Form
otherwise the Sao.View.resize is called to soon to correctly compute the width
of the tables.
2015-10-25 02:38:43 +01:00
Cédric Krier 32b50447ad Setup row_activate on Window.Search 2015-10-07 16:30:02 +02:00
Cédric Krier ad9e1e8916 Implement add method on Window
review15461002
2015-07-28 20:44:47 +02:00
Cédric Krier 0392294aa5 Remove colors on widgets
- Bold label of required fields
- Explicit error message for invalid record

issue4861
review21301002
2015-07-16 22:36:11 +02:00
Cédric Krier bba39b65bf Fix click binding on InfoBar button 2015-07-03 19:51:43 +02:00
Cédric Krier 56bfd4b1eb Add message notification
issue3465
review14001002
2015-07-03 19:35:28 +02:00
Cédric Krier 728d9e2096 Add i18n
review16321002
2015-05-29 10:44:10 +02:00
Cédric Krier 6421b9bbfe Set dialog title on Sao.Window.Form 2015-05-15 19:13:38 +02:00
Cédric Krier 16a6949552 Pass validate to the next callback 2015-05-15 17:16:58 +02:00
Cédric Krier e3ea92f3b6 Store arguements in Sao.Window.Form at the begining
It is particulary important when storing previous view otherwise it stores the
current one used in the Form.
2015-05-15 17:16:05 +02:00
Cédric Krier 9f4a88d18e Add pre_validate
review15381002
2015-05-15 13:00:41 +02:00
Cédric Krier 90b4d7e591 Reset readonly screen attribute for user preferences 2015-05-07 16:41:00 +02:00
Cédric Krier 283847e74d Unify glyphicon usage 2015-04-30 16:43:53 +02:00
Cédric Krier a8c3da97da Use a common Dialog Object to build modal 2015-03-27 11:49:22 +01:00
Cédric Krier 1b4a8928f0 Fix remove after modal hide
modal hide is asynchronous and so removing the element before it has finished
to hide with fade, bootstrap will leave the backdrop.
2015-03-24 21:13:50 +01:00
Cédric Krier 0777138add Missing submit callback on Window.Search 2015-03-13 18:43:24 +01:00
Cédric Krier 720f7a762e Add missing type button on control buttons of Window
Without a type button, the button submit the form.
2015-03-13 13:29:34 +01:00
Cédric Krier 06f3f3ec7b Use form in modal
review9021002
2015-02-27 10:25:02 +01:00
Cédric Krier 0f80f7a5e2 Use bootstrap instead of jquery-ui
- use bower for dependencies
- use moment for date
- use bootstrap-datetimepicker

review11821002
2015-02-06 00:32:51 +01:00
Cédric Krier 1f59ebbb4f Remove ids kwargs from Window.Search
issue4334
review12681002
2014-11-27 22:26:18 +01:00
Cédric Krier d6d9444966 Simplify WinSearch usage
issue4006
review8571003
2014-09-18 19:11:40 +02:00
Cédric Krier 3f72c02f7d Add missing domain attributes on Screen of WinSearch 2014-09-17 00:41:09 +02:00
Cédric Krier 0ca137f3e7 Screen doesn't have parent, it is Group
review13371004
2014-07-09 00:30:23 +02:00
Cédric Krier d8803540b8 Let cancel button on window form for readonly screen
issue3826
review4881003
2014-04-07 18:22:06 +02:00
Cédric Krier 7cdedc15d8 Enforce readonly on Window.Form
issue3778
review4541002
2014-03-28 20:03:17 +01:00
Cédric Krier 9124910ebf Add option to show revisions
issue3678
review3671003
2014-03-18 19:56:07 +01:00
Cédric Krier 50547103ce Missing set of result in Window.Form 2014-02-13 22:45:27 +01:00
Cédric Krier 534e6c9504 Add unique dialogs
review1751002
2013-11-25 12:18:32 +01:00
Sergi Almacellas Abellana 5c9080b717 Open dialogs with a size relative to parent window and center to it
issue3490
review1501002
2013-11-14 15:53:49 +01:00