Sergi Almacellas Abellana
636e29f4c3
Set action attribute when running wizard from url
...
issue11660
review431461003
2022-09-07 17:02:23 +02:00
Sergi Almacellas Abellana
e00ebc2e5c
Skip first field on calendar view description
...
issue11642
review411561003
2022-08-22 14:13:42 +02:00
Sergi Almacellas Abellana
dea5cfc1d0
Add header parameter on export data
...
issue9301
review439151003
2022-07-01 12:45:59 +02:00
Sergi Almacellas Abellana
b0e7a3cb91
Invert message and description order when showing warnigs
...
issue11270
review376881002
2022-02-23 17:15:26 +01:00
Sergi Almacellas Abellana
7b5748fe14
Use ilike operator as One2One default search operator
...
issue10977
review374271002
2021-11-25 09:48:08 +01:00
Sergi Almacellas Abellana
227c084bd9
Make email addresses field fill all available space
...
issue10760
review362651012
2021-10-18 12:26:34 +02:00
Sergi Almacellas Abellana
87aa5bba53
Allow configuration of image max size
...
issue10618
review342811002
2021-08-09 13:21:37 +02:00
Sergi Almacellas Abellana
8e47b3a20a
Declare new_fields variable
...
issue10106
review341371003
2021-02-18 09:26:28 +01:00
Sergi Almacellas Abellana
779fcf081c
Always convert float value when applying factor
...
Otherwise Numeric fields are stored as float when they have no digits
issue9912
review326771002
2020-12-06 18:26:31 +01:00
Sergi Almacellas Abellana
cd55b6688a
Attach richtext toolbar to translate widget
...
issue9860
review318901002
2020-11-23 17:56:13 +01:00
Sergi Almacellas Abellana
41efe00ace
Do not read rec_name of unsaved records
...
issue9308
review327381002
2020-07-06 17:40:28 +02:00
Sergi Almacellas Abellana
19ca791323
Append event description using a span attribute
...
issue9419
review313811002
2020-07-04 19:56:25 +02:00
Sergi Almacellas Abellana
c9b5bea7cb
Use jQuery.isEmptyObject to test xxx2Many required
...
issue9416
review317651003
2020-07-04 19:53:31 +02:00
Sergi Almacellas Abellana
815cc31e66
Only toggle csv parameters when clicking on it's label
...
issue9372
review305731002
2020-06-17 13:51:41 +02:00
Sergi Almacellas Abellana
9feccfba49
Do not override icons with text
...
issue9388
review325521002
2020-06-05 19:12:53 +02:00
Sergi Almacellas Abellana
668fc7599b
Allow html objects in autocompletion entries
...
issue9385
review317551002
2020-06-03 21:02:49 +02:00
Sergi Almacellas Abellana
c98952c4ab
Toggle parent group overflow when showing a datepicker
...
issue9316
review305521002
2020-05-09 09:31:59 +02:00
Sergi Almacellas Abellana
ee85b855a1
Do not trigger trigger another on_change after setting it's result
...
issue9212
review311331002
2020-04-19 13:11:48 +02:00
Sergi Almacellas Abellana
db5c5c11b7
Add tests for time only timedelta conversion
...
issue9016
review258701002
2020-02-06 20:48:48 +01:00
Sergi Almacellas Abellana
9813ace62a
Support hours greater than 99 when formatting timedelta time's
...
issue9016
review258701002
2020-02-06 20:48:05 +01:00
Sergi Almacellas Abellana
5922d68313
Add one day to calendar's end date only when calendar is for allDay
...
issue9003
review276741002
2020-01-23 20:48:49 +01:00
Sergi Almacellas Abellana
a5a1d83bc0
Use sync request on screen.get_selection
...
Otherwise the values may not be set when reading them
issue8975
review288791002
2020-01-09 15:22:43 +01:00
Sergi Almacellas Abellana
f191548fa6
Use the same naming for audit fields on server and client side
...
issue8688
review270251002
2019-09-30 09:47:30 +02:00
Sergi Almacellas Abellana
c7d7820c75
Add missing end dot on translatable strings
...
issue8670
review252211037
2019-09-30 09:40:27 +02:00
Sergi Almacellas Abellana
e0d7f0e933
Support dot notation on PYSON Eval
...
issue8528
review287841003
2019-09-19 14:11:30 +02:00
Sergi Almacellas Abellana
3d6427ed73
Update to PapaParse 5
...
issue8581
review277711002
2019-09-03 13:16:22 +02:00
Sergi Almacellas Abellana
4bd86b26ec
Return rejected promise when creation fails
...
issue8168
review51631002
2019-05-01 21:58:01 +02:00
Sergi Almacellas Abellana
686d4016be
Do not send array keys on on_change_with requests
...
fieldnames is already converted to an Array so sending it's keys will send
the Array indexes but the server expects the field names.
issue8280
review249291003
2019-04-15 13:46:17 +02:00
Sergi Almacellas Abellana
247a32f74c
Add domain inversion for reference fields
...
issue7877
review45831002
2019-04-14 14:17:39 +02:00
Sergi Almacellas Abellana
2610f65d56
Add day view on calendar
...
issue7774
review66441002
2019-03-28 12:26:19 +01:00
Sergi Almacellas Abellana
d5c186f9bf
Clean active_* keys from context when executing an action
...
As the values may be already present on the context they should be
cleared in order to correctly evaluate action domains
issue7839
review68381002
2019-02-22 19:35:30 +01:00
Sergi Almacellas Abellana
6704d24f5f
Do not override action context with record context
...
As action context is a copy of record context is does not make sense to update
the same values
issue7917
review50651002
2019-01-30 11:47:15 +01:00
Sergi Almacellas Abellana
ba6dd84b4c
Set skip_target to localize_domain of reference fields
...
issue7876
review60451002
2019-01-03 11:59:38 +01:00
Sergi Almacellas Abellana
85ac56f033
Do not use config key when setting Paparse settings
...
issue7825
review70431002
2018-10-31 09:27:10 +01:00
Sergi Almacellas Abellana
d6cba041f7
Call group delete instead of model.delete when saving records
...
The method was moved to group in by changeset 5b4da4e8b70f
issue7786
review56441002
2018-10-18 17:15:23 +02:00
Sergi Almacellas Abellana
09c8f49314
Ensure hidden column is shown when domain inversion is no longer applicable
...
issue7670
review56351002
2018-09-06 10:44:32 +02:00
Sergi Almacellas Abellana
1ac95294b1
Add Array.from replacement for IE11 support
...
issue7559
review47581002
2018-08-01 10:33:39 +02:00
Sergi Almacellas Abellana
ecf1d18c14
Call on_change methods after setting default dtstart on calendar view
...
issue7496
review48441002
2018-06-07 14:36:15 +02:00
Sergi Almacellas Abellana
01cbdca002
Convert value to datetime when setting calendar view default value
...
issue7495
review47471002
2018-06-06 16:18:39 +02:00
Sergi Almacellas Abellana
b62bba2bac
Store session in browser storage
...
issue7018
review36911002
2018-05-23 16:40:26 +02:00
Sergi Almacellas Abellana
b338862bfa
Store many2one rec_name before showing new view
...
The widget value may be cleared before loading the new screen so the value
must be read before the callback creation
issue7413
review42131002
2018-05-07 12:40:44 +02:00
Sergi Almacellas Abellana
4bb500a931
Manage active field on search widget
...
issue4341
review38081002
2018-03-26 14:23:49 +02:00
Sergi Almacellas Abellana
48f8d37e7e
Add the context model name in the screen context
...
issue7117
review41841002
2018-03-22 11:21:11 +01:00
Sergi Almacellas Abellana
f807756393
Fix typo in jQuery definition
...
Introduced on changeset 99178d3f7b85
issue7236
review36031002
2018-03-19 13:36:36 +01:00
Sergi Almacellas Abellana
760f1b2912
Do not show confirm dialog for buttons with empty value
...
Since issue6389 the server sets an empty value for the buttons
that do not have any confirmation string
issue7193
2018-03-06 14:41:39 +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
6a472c1384
Manage name attribute on form group
...
issue6894
review37801002
2017-11-27 11:12:08 +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
Sergi Almacellas Abellana
5e3b18aaa9
Use a list as default pyson value of search domain
...
issue6904
review35741002
2017-11-03 12:36:49 +01:00
Sergi Almacellas Abellana
73da7e8710
Prevent undefined errors on dashboard view
...
Changeset c2b74d2ff7ed does not work for dashboard view, as it has no related
screen and it does not have the same tab options as form tabs
issue6867
review36721002
2017-10-20 14:55:55 +02:00
Sergi Almacellas Abellana
fa41ccfeed
Set current_record id on eval context
...
issue6826
review42701002
2017-10-06 14:40:18 +02:00
Sergi Almacellas Abellana
c9e521b6b1
Manage string attribute on group
...
issue6611
review35581002
2017-08-31 11:13:09 +02:00
Sergi Almacellas Abellana
02290bebe6
Don't remove false values from dict fields
...
issue6650
review35511002
2017-07-19 09:29:06 +02:00
Sergi Almacellas Abellana
e21a03c1ce
Use boolean value for searching translatable fields
...
issue6621
review34251002
2017-07-03 18:07:41 +02:00
Sergi Almacellas Abellana
281aff1647
Customize the csv separator depending on the platform
...
issue6553
review42401002
2017-06-27 10:04:58 +02:00
Sergi Almacellas Abellana
2e60aef7b0
Call parent event handlers when clicking an unselected button
...
Event handler must return true to ensure other event handlers are
called.
issue6522
review40381002
2017-06-09 10:41:58 +02:00
Sergi Almacellas Abellana
7ffa4f7b40
Don't dissable tab's action button
...
Otherwise is not possible to access button's actions when action is
empty
issue6521
review35001002
2017-06-01 09:20:49 +02:00
Sergi Almacellas Abellana
02e3bb0056
Use group.length to test if group is empty
...
jQuery.isEmptyObject returns true if the object has any attribute, which is
the case of an empty group so it causes false positives
issue6478
review42281002
2017-04-28 15:01:47 +02:00
Sergi Almacellas Abellana
1298a6d891
Don't override deferred variable in screen save_current
...
The override caused the prm variable to be a promise instead of a
deferred. This will crash when trying to resolve the deferred in the
validate callback because it is not possible to resolve promise
objects.
issue6477
review36361002
2017-04-28 15:00:22 +02:00
Sergi Almacellas Abellana
be2754ba40
Correctly set focus on filter form for Selection and Time fields
...
We can not rely on setting the focus on the entry as the selection and time
widgets store the input as separate element. So the focus must be set directly
to the input to guarantee that it works for all widgets.
issue6455
review34091002
2017-04-27 10:29:12 +02:00
Sergi Almacellas Abellana
809dbef789
Don't show warning dialog message as dialog title
...
issue6369
review30161002
2017-04-27 10:26:42 +02:00
Sergi Almacellas Abellana
c549a3aeb8
Manage help attribute on tree views
...
issue6333
review32111002
2017-03-31 09:37:30 +02:00
Sergi Almacellas Abellana
367242ab53
Manage color attribute on graph view
...
issue6341
review35281002
2017-03-30 14:57:53 +02:00
Sergi Almacellas Abellana
6ec37cd81f
Copy context used for dashboard action
...
The context may be updated by the action, so it must be copied
in order to preserve it's original values
issue6336
review31151002
2017-03-16 14:08:38 +01:00
Sergi Almacellas Abellana
e5e096bc1a
Correctly instanciate DatePicker on Dict.Date field
...
issue6347
review33941002
2017-03-14 10:25:06 +01:00
Sergi Almacellas Abellana
497b5e9951
Remove duplicated label in board view toolbar definition
...
issue6334
review35271002
2017-03-13 14:00:50 +01:00
Sergi Almacellas Abellana
4e139fab4e
Compute toolbar offset using navtabs parent
...
Since changeset f298a41cd811 navbar height is no more valid when the list of
tabs overflows
issue6292
review28031002
2017-02-23 09:31:16 +01:00
Sergi Almacellas Abellana
a8134bde67
Manage screen context when exporting data
...
issue6264
review29221002
2017-02-21 17:34:28 +01:00
Sergi Almacellas Abellana
764ea099c3
Don't set readonly attribute on One2Many screen if field is readonly
...
issue6287
review27131002
2017-02-21 16:12:31 +01:00
Sergi Almacellas Abellana
fef211dfb9
Avoid passing mime-type data to blob object when downaloding files
...
issue5991
review31121002
2017-02-20 17:22:20 +01:00
Sergi Almacellas Abellana
27b0e56a7e
Resize view after showing a Wizard
...
When a wizard dialog is shown a resize must be triggered because
display is not called at that time.
issue5134
review27101002
2017-02-14 09:41:06 +01:00
Sergi Almacellas Abellana
03ffec735a
Select right model string from selection for Reference field in tree view
...
issue6260
review31101002
2017-02-13 09:41:56 +01:00
Sergi Almacellas Abellana
3ab28d5fe6
Show screen buttons when clicking action button
...
changeset c6408fc51ada replaced navbar items with buttons, so the screen
buttons must be read when the button is clicked.
issue6252
review29971002
2017-02-08 16:58:27 +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
Sergi Almacellas Abellana
1ac44a9ee1
Correctly return record on screen.new
...
Return a new promise when creating a new record on screen in order
to get the value of the nested promise, otherwise an undefined
value is returned and this breaks the callbacks that manipulate
the returned record.
issue6066
review30811003
2016-11-24 16:55:25 +01:00
Sergi Almacellas Abellana
64c6426593
Manage the text color and background color in calendar view
...
issue5953
review33541002
2016-10-28 18:02:37 +02:00
Sergi Almacellas Abellana
862f877011
Correctly computed selected records on remove
...
Also return an empty promise when records are empty
issue5987
review26851002
2016-10-28 09:22:07 +02:00
Sergi Almacellas Abellana
deedbb8cb4
Show records names in wizard title
...
issue5933
review29591002
2016-10-27 09:56:34 +02:00
Sergi Almacellas Abellana
4894953e36
Add string representation of PYSON statements
...
issue5952
review32681002
2016-10-21 11:55:53 +02:00
Sergi Almacellas Abellana
314d108c95
Use the same src text for boolean in ScreenContainer and in DomainParser
...
Otherwise the translated value may return a different value and then it's
comparison will fail.
issue5904
review32631002
2016-10-13 17:00:44 +02:00
Sergi Almacellas Abellana
3208eb242d
Use model name as tab title when opening records from global search
...
issue5938
review26771002
2016-10-08 20:39:00 +02:00
Sergi Almacellas Abellana
1a0b281fd4
Use current record id when opening an action from a button
...
issue5935
review28871002
2016-10-06 09:59:46 +02:00
Sergi Almacellas Abellana
1748eb1214
Test for query status to determine if session has to be renewed
...
Since changeset 8d160f24aa4a
issue5928
review27671002
2016-10-05 09:22:29 +02:00
Sergi Almacellas Abellana
1bfc17f69c
Update tab_count when using a search filter
...
issue5864
review32601002
2016-10-03 09:37:08 +02:00
Sergi Almacellas Abellana
f91f298274
Update eonasdan-bootstrap-datetimepicker to latest stable version
...
Since 4.17.37 datetimepicker requires a class to be set on the button
to open the widgets, so we should set this class in order to make the
datetimepicker work with latest versions
issue5860
review33361002
2016-09-28 15:36:27 +02:00
Sergi Almacellas Abellana
3f11bf77d9
Backout changset d247d8711294
...
issue5796
2016-09-28 15:15:34 +02:00
Sergi Almacellas Abellana
df9edd62ae
Add tests with OR clauses for DomainParse.parse_clause
...
issue5883
review26651003
2016-09-20 09:51:19 +02:00
Sergi Almacellas Abellana
c0f49e52c8
Merge recursive results in DomainParser.parse_clause
...
We should use jQuery.merge instead of Array.concat, as concat creates a new
Array (which was not correctly returned) and jQuery.merge merges the contents
of both arrays in the first array.
issue5883
review26651003
2016-09-20 09:49:57 +02:00
Sergi Almacellas Abellana
aa3048c23b
Increase filter box size on bigger screens
...
Customize size depending on the screen sizes so it's rendered bigger on
computer devices while mantaining the same aspect in smaller devices
issue5879
review30481002
2016-09-16 09:45:05 +02:00
Sergi Almacellas Abellana
37d91cb526
Don't set button text when reusing existing button elements
...
Since changeset 4744202e7c6a button elements are reused, so we must
only add its text when it does not exist otherwise the label is shown
multiple times.
issue5870
review32571002
2016-09-13 10:24:42 +02:00
Sergi Almacellas Abellana
d6b3ae4ba0
Add noeval to PYSONDecoder
...
issue1616
review25491002
2016-09-13 10:15:42 +02:00
Sergi Almacellas Abellana
17d1d721df
Resolve display promise when all the rows of a tree view are displayed
...
Since changeset 82c4ec24b675, the tree is drawn asynchronously but some
methods may require the tree to be fully rendered to compute its values, so
the display method must return a promise that resolves when all of the rows
are displayed
issue5849
review33331002
2016-09-06 12:40:03 +02:00
Sergi Almacellas Abellana
fb246e1315
Do not convert null values to zero in Decimal fields
...
Javascript Number converts null to 0, but the original value must be preserved
so we avoid converting null values to Decimal.
issue5846
review28711002
2016-09-05 13:14:22 +02:00
Sergi Almacellas Abellana
40b1629775
Add support for pyson_order on action window
...
issue5844
review21251002
2016-09-01 11:12:37 +02:00
Sergi Almacellas Abellana
a3a3c64d23
Make datetimepicker locale aware
...
- Set the moment locale when setting user language
- Pass the moment locale to datepicker instances
issue5797
review21201002
2016-08-29 09:35:54 +02:00
Sergi Almacellas Abellana
032d7e5833
Add missing bind on XXX2Many edit and add
...
Changeset 5b447f80162c added async callbacks when opening and editing XXX2Many
fields, but they were not bound to the correct object so the object properties
are not read correcty.
issue5780
review31411002
2016-08-17 11:00:00 +02:00
Sergi Almacellas Abellana
a7370447b9
Remove already deleted records on on_write result
...
issue5771
review26521002
2016-08-17 10:57:09 +02:00
Sergi Almacellas Abellana
bb6d80e4f6
Manage list values of res_id
...
The res_id value returned from an action on the server can be a list or a
number, so it must be converted to a list only when it is not a already.
issue5774
review32411002
2016-08-12 13:23:28 +02:00
Sergi Almacellas Abellana
b0a0e653af
Add test for DomainParser.complete_reference
...
issue5731
review22191002
2016-07-26 15:56:46 +02:00
Sergi Almacellas Abellana
14df832d52
Add missing bind in DomainParser.complete_reference
...
issue5731
review22191002
2016-07-26 15:55:57 +02:00