1
0
Fork 0
mirror of https://github.com/NaN-tic/sao-old.git synced 2023-12-14 02:12:52 +01:00
Commit graph

853 commits

Author SHA1 Message Date
C?dric Krier
2726f0061b Synchronise context evaluation of act_window with tryton
Overtime, the code that evaluate act_window has diverged from the one in
tryton.

issue6513
review42361002
2017-05-22 18:09:48 +02:00
Xavier Codinas
a193f41025 Use fullcalendar date instead of saving it in view
issue6456
review40291002
2017-05-19 11:56:14 +02:00
C?dric Krier
463ad5ae42 Increase version number 2017-05-01 19:35:44 +02:00
C?dric Krier
e6ce17bb0d Added tag 4.4.0 for changeset 1fea2b717dd8 2017-05-01 19:35:02 +02:00
C?dric Krier
5128ffe867 Prepare release 4.4.0 2017-05-01 19:35:00 +02:00
C?dric Krier
11e3527185 Update translations 2017-04-29 18:53:52 +02:00
Sergi Almacellas Abellana
8ecfcbe053 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
591f1868de 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
b62f862358 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
68f98c65d4 Don't show warning dialog message as dialog title
issue6369
review30161002
2017-04-27 10:26:42 +02:00
C?dric Krier
648be43220 Skip validate only on constant readonly fields
A field can be readonly by the domain inversion in the validate method. So it
should be validated again in case its domain inversion change and reset it a
non-readonly.
So only field that are always readonly can be skipped for the validation.

issue6448
review38341002
2017-04-26 19:37:00 +02:00
Felipe Morato
d47d67a9ac Mark 'Processing...' string as translatable
issue6452
review42261002
2017-04-21 10:16:30 +02:00
C?dric Krier
3874725fc1 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
C?dric Krier
4852a05d0b Add xgettext task to extract translatable messages
The task was lost by changeset 1e23c5d90e13

issue6414
review38291002
2017-04-10 23:21:54 +02:00
Sergi Almacellas Abellana
a9a254af26 Manage help attribute on tree views
issue6333
review32111002
2017-03-31 09:37:30 +02:00
Sergi Almacellas Abellana
fd4f3e3b7c Manage color attribute on graph view
issue6341
review35281002
2017-03-30 14:57:53 +02:00
C?dric Krier
48b4663205 Manage context domain on screen
issue5485
review27151002
2017-03-29 22:38:20 +02:00
C?dric Krier
33cb5fdd21 Use None as limit for xxx2Many and menu
The sort uses search_filter to retrieve the sorted ids list but this method use
the limit attribute of the screen. The xxx2Many values has no limit.

issue6363
review32161002
2017-03-23 23:05:01 +01:00
Sergi Almacellas Abellana
c6d92e8315 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
af2b830085 Correctly instanciate DatePicker on Dict.Date field
issue6347
review33941002
2017-03-14 10:25:06 +01:00
C?dric Krier
c4cb92b60a Move allow-root option to drone script
issue6295
review27141002
2017-03-13 20:40:59 +01:00
C?dric Krier
c837fb46a5 Set default keyword for action triggered by button
issue6302
review32051002
2017-03-13 20:36:05 +01:00
Sergi Almacellas Abellana
3492143fe9 Remove duplicated label in board view toolbar definition
issue6334
review35271002
2017-03-13 14:00:50 +01:00
C?dric Krier
008a57be7f Ellipsize tab label longer than 20 chars
issue6284
review33851002
2017-02-25 18:38:58 +01:00
Sergi Almacellas Abellana
23414e02e6 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
6066e0b2c6 Manage screen context when exporting data
issue6264
review29221002
2017-02-21 17:34:28 +01:00
Sergi Almacellas Abellana
943f540493 Don't set readonly attribute on One2Many screen if field is readonly
issue6287
review27131002
2017-02-21 16:12:31 +01:00
C?dric Krier
41c3eb8d49 Test readonly states before starting editing column
issue6282
review33111002
2017-02-20 23:19:45 +01:00
Sergi Almacellas Abellana
e3ec677327 Avoid passing mime-type data to blob object when downaloding files
issue5991

review31121002
2017-02-20 17:22:20 +01:00
C?dric Krier
ad5fb03e61 Disable create new record from key on read-only editable tree
and implement access and size limit check.

issue6220
review26091002
2017-02-17 18:47:59 +01:00
Xavier Codinas
6a30121432 Use filename when file download
issue5991
issue6051
review33671002
2017-02-17 12:37:58 +01:00
Sergi Almacellas Abellana
cd7eda2124 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
C?dric Krier
ab2af254b5 Do not skip One2Many with readonly attribute for modified values
Since changeset edfb5803099a, the readonly state of one2many is not limited to
the modification of existing lines.

issue6256
review31081003
2017-02-14 00:07:24 +01:00
C?dric Krier
bd1f8bcdd8 Avoid overlap between tab name and close button
issue6219
review26141002
2017-02-14 00:00:00 +01:00
Sergi Almacellas Abellana
6d230ae202 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
71980c7684 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
Diego Abad
30f672fc82 Click on toolbar actions buttons instead of toggle dropdown
Since changeset 33a981cc7ca7, toolbar buttons can be disabled, therefore menu
entry should try to click instead toggle dropdown.

issue6238
review31051002
2017-02-08 00:44:38 +01:00
Sergi Almacellas Abellana
ccc5ea157a 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
Diego Abad
91eb1938b7 Add missing var declaration for m2m_size
introduced in changeset 0cd451bc7739

issue6221
review27921002
2017-01-27 18:08:28 +01:00
Diego Abad
ed58abfdb2 Fix close and get_current on Sao.Tab
Since changeset f298a41cd811, inside 'tablist' if tooltip  is shown this will
be find next to 'li'.

issue6192
review31931002
2017-01-27 16:57:14 +01:00
C?dric Krier
59798322ef Add support for size on Many2Many
issue6204
review33781002
2017-01-25 23:39:21 +01:00
C?dric Krier
4b3a670eed Missing length conversion of field value for size limitation test
issue6197
review33771002
2017-01-25 23:38:01 +01:00
Xavier Codinas
bc24923e49 Move toolbar tooltips to bottom
Since changeset f298a41cd811 the navbar overlaps the tooltips that are
shown in the toolbar items.

issue6198
review31941002
2017-01-20 12:24:13 +01:00
Xavier Codinas
f6de9b9d58 Disable dropdown toolbar buttons when empty
issue6193
review31031002
2017-01-20 09:25:05 +01:00
C?dric Krier
fc5f90ad8f 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
334bdb7175 Move tablist into navbar
issue6124
review25911002
2017-01-15 18:59:21 +01:00
C?dric Krier
2d8f3962f5 Allow production build without development dependencies
By default, sao package should be installed with the production option and the
npm task loaded only on demand to reduce.

issue6176
review33741002
2017-01-13 20:11:17 +01:00
C?dric Krier
c031fad198 Load autocomplete only on display of Char widget
Keeping the autocomplete always up to date is very expensive especially for
large list because the method is called once per field for each record.
Indeed autocomplete is only needed when the Char widget is displayed. So we
could just load it at display and keep it up to date when fields are changed.

issue6167
review31871002
2017-01-13 20:04:53 +01:00
Xavier Codinas
45300b151f Allow to show plain text in password field
issue5607
review33721002
2017-01-13 09:17:26 +01:00
C?dric Krier
3c5aa2c135 Always return a promise on UniqueDialog.run
issue6166
review30971002
2017-01-10 11:39:20 +01:00