Commit Graph
85 Commits
Author SHA1 Message Date
Cédric Krier 2bdac9492b Use tab name for CSV Export/Import
issue7640
review48571002
2018-08-30 15:57:43 +02:00
Cédric Krier 7f483a7e03 Use standard RPC call to set_preferences
issue7568
review54291002
2018-08-26 18:05:03 +02:00
Cédric Krier eff545ea00 Use material design icons
and remove specific code for SVG icons on Firefox

issue7195
issue474
review60291002
2018-08-19 20:01:49 +02:00
Cédric Krier 535c6b7fe4 Improve dialog size
Use medium size for wizard and CSV import/export.

issue7511
review70301002
2018-08-01 12:20:40 +02:00
Cédric Krier 3ddc30e7ae Move predefined exports list uder the buttons that control it
This makes the view more consistent with the selected fields that come from
the current view.

issue7462
review52301002
2018-05-31 13:21:11 +02:00
Cédric Krier 295671c072 Let domain inversion set resource field value
If the tree view of the resource is editable, the Window.Form saves the
records before the callback when the current record is no more edited. This
fails because resource field is not yet set.

issue7394
review49301002
2018-04-30 14:52:21 +02:00
Cédric Krier fed8553feb Get initial value only when cancel button is on window form
The initial value is only useful with the view type is form otherwise screen
may not have a current record like in Attachment.

issue7377
review36221002
2018-04-20 18:38:15 +02:00
Nicolas Évrard ad414f0a23 Manually handle hiding of bootstrap Modals in forms and wizards
issue7248
review36041002
2018-03-24 20:30:38 +01:00
Nicolas Évrard c633ac1a53 Reset record to its original state when discarding the popup window
issue3325
review41921002
2018-03-23 16:39:21 +01:00
Nicolas Évrard 47302a35ab Add support for search_* attributes on relational fields
issue6081
review31901003
2018-03-21 18:01:35 +01:00
Sergi Almacellas Abellana 2dddccecbc Use win prefix to determine if we are on a windows platform
issue7008
review35801002
2017-12-13 12:50:56 +01:00
Sergi Almacellas Abellana 4845b56f36 Use translated values when exporting Reference and Selection fields
issue6961
review37841002
2017-11-27 10:38:12 +01:00
Cédric Krier c92a529391 Use radio for single mode selection
As the selection mode may be changed after the construction of the view, the
selection column is always constructed but its visibility and the input type
are set on the display call.

issue6795
review39711002
2017-10-02 16:08:23 +02:00
Cédric Krier c5fdd1a784 Allow to export model and record name of Reference fields
issue5667
review38621002
2017-09-26 01:27:56 +02:00
Cédric Krier 0e8ebae38a Use the encoded data from Papaparse
encode_utf8 was converting the string into URI and ASCII instead of keeping
the unicode string.

issue6766
review41561002
2017-09-20 19:08:25 +02:00
Cédric Krier 3f09fb349a Set srceen readonly for Search window
issue6752
review43471002
2017-09-15 19:43:56 +02:00
Cédric Krier 3f0478acd0 Display user name in revision list
Changeset d14760563431 wrongly changed the name variable by this.title.

issue6683
review39571002
2017-08-02 23:06:09 +02:00
Cédric Krier 1f5038dd14 Use right form view in Many2One and WinSearch
The first view which is a tree must be removed from the view ids as mode of
the screen is form only.

issue6510
review35501002
2017-07-26 23:26:09 +02:00
Sergi Almacellas Abellana 281aff1647 Customize the csv separator depending on the platform
issue6553
review42401002
2017-06-27 10:04:58 +02:00
Cédric Krier 484695ff59 Do not really remove records that do not have parent
The parent test is redundant with the force_remove flag. So be removing this
test, we activate the remove/unremove feature on WinForm without parent.

issue6342
review30131002
2017-04-12 15:41:56 +02:00
Sergi Almacellas Abellana a8134bde67 Manage screen context when exporting data
issue6264
review29221002
2017-02-21 17:34:28 +01:00
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