Cédric Krier
6fbbd3ebef
Use 'en' as fallback language code
...
Since issue5443, this is the default code for English.
issue6078
review26931002
2016-12-09 16:18:24 +07:00
Cédric Krier
8ba0b3c674
Increase version number
2016-11-28 16:00:05 +01:00
Cédric Krier
bc8be9ebff
Added tag 4.2.0 for changeset 963504a30207
2016-11-28 15:59:25 +01:00
Cédric Krier
99dfafa2f8
Prepare release 4.2.0
2016-11-28 15:59:23 +01:00
Cédric Krier
e7ad2754a7
Set default value for new added fields to model group
...
Defines add_fields on Group and uses it instead of the one on Model.
This new method is used when setting group on Screen to ensure to trigger the
load of default values.
issue6058
review29781003
2016-11-28 00:14:45 +01:00
Diego Abad
da43bf0673
Prepare pyson expression before encode when use date and datetime fields
...
Moment library implements its own toJSON
function returning string format:
http://momentjs.com/docs/#/displaying/as-json/
As moment object has toJSON function
the replacer used to stringify pyson
expressions never receive a moment object
because it is dumped before.
It is needed to prepare pyson object
as same design as Sao.rpc.prepareObject
issue6027
review31701002
2016-11-26 19:43:00 +01:00
Cédric Krier
3f357454e5
Update translations
2016-11-25 23:49:40 +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
Cédric Krier
1092e979ad
Order the keys of Dict value to allow comparison with JSON.stringify
...
This will ensure that the JSON.stringify will dump the keys always in the same
order. Even if the key order is a implementation detail of the browser,
constructing a new Object using always the same order will guarantee a stable
stringification.
issue6045
review33631002
2016-11-21 21:00:43 +01:00
Cédric Krier
eb95cbeeff
Remove old record in One2Many._set_value only if it is not in the new value
...
Always removing previous record makes the parent record being wrongly
considered as modified.
issue6044
review34451002
2016-11-21 20:59:33 +01:00
Cédric Krier
239470c997
Wait default_get before displaying new record
...
Soft validate the record when setting new fields.
And ensure correct default value for validate parameter in set_default.
issue5822
review32791002
2016-11-21 20:58:23 +01:00
Xavier Codinas
7fb3881746
Correctly bind calendar processing attribute
...
issue6042
review34441002
2016-11-18 12:38:11 +01:00
Diego Abad
421a5b1f04
Add missing datepickerbutton on filter screen
...
Since changeset 07b6b0d53296, eonasdan-bootstrap-datetimepicker
lib was updated to 4.17.42 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.
issue6020
review32761002
2016-11-09 17:58:49 +01:00
Cédric Krier
68fc4b350a
Use semantic versioning for dependencies
...
The javascript ecosystem is based on semver
issue6006
review27811002
2016-11-08 18:46:33 +01:00
Cédric Krier
aa395ba7b9
Close CVS dialog after message
...
issue6009
review30751002
2016-11-05 19:52:18 +01:00
Xavier Codinas
f93ac7e418
Ensure that calendar events are loaded before reloading it
...
issue5756
review34411002
2016-11-03 12:11:09 +01:00
Xavier Codinas
7c0ea20b5a
Use Sao.config.title when logout
...
issue5968
review28981002
2016-11-02 11:08:33 +01:00
Cédric Krier
10af5e80af
Support toolbar attribute for richtext widget
...
issue3551
review31601002
2016-11-01 12:32:44 +01:00
Cédric Krier
59b5a6d8b2
Grow multiselection widget to show all items if yexpand is not set
...
When there are few options, the widget is often used with no yexpand to look
like a normal field. But in this case, some options could be not visible and
user could miss them.
issue5994
review33571002
2016-10-31 22:50:52 +01:00
Cédric Krier
24b522c7fc
Make Bool PYSON evaluate to false empty Time and TimeDelta
...
As Time and TimeDelta are moment Object, Bool should specially evaluate those
instances.
issue5993
review25781002
2016-10-31 17:20:44 +01:00
Cédric Krier
6b83651828
Destroy wizard after exception in create call
...
issue5975
review32741002
2016-10-31 17:18:43 +01:00
Xavier Codinas
c6d021edf0
Add PYSON widget
...
issue4631
review20901002
2016-10-31 13:42:13 +01:00
Cédric Krier
3a813cdd18
Fix syntax of bower.json
2016-10-31 10:26:07 +01:00
Prayash Mohapatra
8b84530cf3
Add CSV Import/Export
...
review27421002
2016-10-31 10:09:43 +01:00
Diego Abad
e9d5e32a25
Set axis configuration on graph views for non timeseries
...
As c3 use indexed as default x axis type, 'category' type
must be added when labels are not Date or DateTime fields.
issue5997
review31661002
2016-10-30 00:20:07 +02:00
Diego Abad
dbb9384bb4
Convert to moment default format of date_format
...
issue5955
review27691002
2016-10-29 23:48:13 +02:00
Xavier Codinas
c46b036745
Add TranslateDialog for translatable fields
...
issue5804
review28681002
2016-10-29 20:50:48 +02:00
Cédric Krier
306f5dd7ca
Use get method in Binary widget when field has not get_data method
...
The binary widget can be used with non-binary field which does not have
get_data method like Char.
issue5989
review29701002
2016-10-28 19:22:18 +02: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
Xavier Codinas
57c2bb2731
Add title in Sao.config
...
issue5968
review29671002
2016-10-28 09:57:18 +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
Xavier Codinas
0dfb0b242f
Remove exclamation point on user error messages
...
issue5978
review34401002
2016-10-28 09:17:07 +02:00
Xavier Codinas
42ccffbae0
Add favorites menu
...
issue5715
review29391002
2016-10-28 09:09:52 +02:00
Sergi Almacellas Abellana
deedbb8cb4
Show records names in wizard title
...
issue5933
review29591002
2016-10-27 09:56:34 +02:00
Cédric Krier
662bee311b
Add support for button rule
...
issue5944
review28911002
2016-10-26 09:45:38 +02:00
Jan Grasnick
7c3f2a2072
Add support for datetime_field to Many2One, Reference
...
issue4579
review30671002
2016-10-26 09:37:06 +02:00
Xavier Codinas
e814e196d8
Add calendar view
...
issue5756
review32361002
2016-10-26 09:15:05 +02: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
d950a96805
Do not apply screen domain on xxx2Many field
...
The screen domain on those fields only means at least one record
and not all records.
issue5948
review30621003
2016-10-25 23:12:12 +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
Cédric Krier
7ca45ca0c2
Make binary widget works with non-binary field
...
The method get_size must be used only if the field has it otherwise the length
of the raw data should be used.
String must be used for set_client if the field is not Binary.
issue5924
review33431002
2016-10-13 09:37:39 +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
Cédric Krier
f6b4e58aaf
Merge Spanish's into Spanish (Latin American)
2016-10-08 12:43:17 +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
Cédric Krier
c9b9abcd79
Avoid calling unnecessary domain_parser
...
The construction of the domain_parser can generate RPC calls so it is better to
avoid construct it if possible.
issue5918
review31581002
2016-10-05 22:43:21 +02:00
Cédric Krier
a068158241
Reduce the number of call to ir.ui.view_tree_state
...
The state should not be loaded for view without the tree_state attribute and
neither for view with a unsaved parent.
issue5917
review34301002
2016-10-05 22:36:32 +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