Cédric Krier
f3aa2a82ea
Fix PYSON.Equal with Array
...
In javascript, Array comparison doesn't work with '=='. It should use the
Sao.common.compare.
issue5474
review18001002
2016-04-15 14:09:35 +07:00
Cédric Krier
0afceea9a7
Don't override action context by current context
...
issue4303
review22931002
2016-04-02 15:36:35 +02:00
Prayash Mohapatra
d595711ea5
Add po2json to default task
...
issue5366
review24971002
2016-04-02 15:24:49 +02:00
Cédric Krier
537d329ecf
Fix revision management for momentjs
...
We need to be able to instantiate DateTime with epoch value.
And we must use the momentjs operation to manupilate milliseconds.
issue5451
review20911002
2016-04-02 15:23:39 +02:00
Cédric Krier
44cc3a92f5
Update dependencies
...
review24961002
2016-03-31 23:04:34 +02:00
Prayash Mohapatra
58c464c8e9
Fix Separator to generate bold label when field is required
...
issue5243
review24001002
2016-03-24 11:01:03 +01:00
Cédric Krier
3f381dac71
Uses 30 days for month for Timedelta
...
issue5282
review20041002
2016-03-21 23:54:08 +01:00
Cédric Krier
6f770b6c47
Improve speed of setting default value on One2Many
...
The validation in set_default is useless when performed from a One2Many because
the parent record will validate it anyway.
issue5161
review20091002
2016-03-21 23:49:59 +01:00
Cédric Krier
e93df7b207
NotLogged exception is now 403
...
issue5415
review17161002
2016-03-21 23:40:17 +01:00
Cédric Krier
cd965b2fb6
Check required Many2One against null only
...
0 is a valid required value for Many2One
issue5373
review21831002
2016-03-16 22:00:11 +01:00
Cédric Krier
a94b436c9c
Disable button during click processing
...
The click event must be blocked when the screen method is called to limit
double execution. A double execution is still possible if the execution of the
action, which is asynchronous, is not started fast enough.
issue5362
review17881002
2016-03-16 21:58:00 +01:00
Cédric Krier
36aa69c454
Update README about trytond configuration for new web section
2016-03-16 21:15:12 +01:00
Cédric Krier
421f2fbf21
Manage context model of ir.action.act_window
...
issue5220
review15881002
2016-03-15 17:46:26 +01:00
Cédric Krier
d5f40b1665
Use Authorization header for session
...
issue4646
review15971002
2016-03-15 16:58:46 +01:00
Cédric Krier
30ecb34d5a
next_column returns only editable column index
...
If we don't find any column, we should not return the last tested column
because it is not a valid column.
issue5284
review20801002
2016-03-05 17:20:08 +01: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
b16e83e2ef
Prevent submit on search_box
...
issue5289
review19841003
2016-02-03 21:28:02 +01:00
Cédric Krier
2d2c36eeff
Add Note
...
issue4669
review17731004
2016-02-02 19:15:58 +01:00
Cédric Krier
1f6b0f9f8c
Fix domain parser when value is an operator
...
issue5266
review24751002
2016-02-02 19:09:55 +01:00
Cédric Krier
ec084c6043
Set parent field only if changed is requested
...
When set_on_change adds a record, we don't need to trigger the parent
on_change, otherwise it can lead to an infinite loop.
issue5278
review17781002
2016-02-02 19:08:12 +01:00
Cédric Krier
5cf8093d32
Fix default value of one2many in form view
...
- set_default should correctly pipe promises because One2Many.set_default can
be not synchronous.
- set previous group parent only if it is not empty because Screen create a
default not linked group.
- Screen.display should set current_record is not correctly set.
issue5135
review19791002
2016-01-22 14:43:19 +01:00
Cédric Krier
1c65b5f750
Disable new and save buttons when the user is not allowed to create new records
...
The revision update should not overrule the model access.
issue4902
review15911002
2016-01-21 10:24:40 +01:00
Cédric Krier
175db0fbc1
Keep parent when calling Screen.set_group
...
issue5235
review19741002
2016-01-13 21:16:00 +01:00
Cédric Krier
c4864615c9
Pipe the callback after the attachment save
...
issue5236
review24701002
2016-01-13 21:14:28 +01:00
Cédric Krier
8f42d272d1
Record.defaut_get must return a promise which resolves with values
...
The promise doesn't always return the values if there is any autocomplete and
the promise is resolved before the set_default is called.
So we use our custom deferred that will be resolved after the call to
set_default and the autocomplete promises.
issue5222
review19721002
2016-01-13 21:04:20 +01:00
Cédric Krier
316fd25ef5
Add missing Reference widget in tree view
...
review17701002
2015-12-31 13:43:15 +01:00
Cédric Krier
f85fbf4db6
Add missing Binary widget in tree view
...
review21571002
2015-12-31 13:42:57 +01:00
Cédric Krier
719519e22a
Remove useless multiplication
...
issue5194
review21571002
2015-12-31 13:41:26 +01:00
Cédric Krier
4f62c8b37f
Add missing type to some button of form widgets
...
With an explicit type, the button are of type submit and so clicking on it
submit the form if there is one like in a Window.
issue5133
review20611002
2015-12-31 13:39:31 +01:00
Cédric Krier
9f3435228b
Generate timestamp context after saving the record
...
The timestamp context must be generated after the save to avoid concurrency
exception with the save.
issue5213
review24671002
2015-12-31 13:38:11 +01:00
Cédric Krier
ed12d70a9b
Also test column visibility in next_column
...
issue5192
review16901002
2015-12-27 20:09:49 +01:00
Cédric Krier
b64fe5beb3
Fix variable collision in next_column function
...
The variable column was used for two different purpose. Replace the variable
column which stores the starting index by path.
issue5193
review24661002
2015-12-27 20:06:51 +01:00
Cédric Krier
b80d05d197
Fix Field.get_data when data is already read
...
When data is already in _values, it should return a promise with it.
2015-12-27 19:24:39 +01:00
Cédric Krier
8e2791ef0f
Fix usage of data in Field.get_data
...
Field.get_data returns directly the data.
2015-12-27 19:23:22 +01:00
Cédric Krier
315cf31310
Fix focus method call
...
focus method is defined on Widget.el not on Widget.
2015-12-27 19:22:21 +01:00
Cédric Krier
fa4cccd39b
String.fromCharCode can not be called with too many arguments
...
issue5177
review21561002
2015-12-27 19:20:54 +01:00
Cédric Krier
4b23b2349a
Use body attribute instead of find in AskDialog
...
Sao.Dialog doesn't have a find method but it defines body attribute.
issue5158
review20591002
2015-12-13 14:36:11 +01:00
Karla Stenger
c95b2858af
Add missing dot on menu name
...
issue5079
review16821003
2015-11-15 17:20:47 -03:00
Cédric Krier
aaf9e28ce7
Construct the Record.expr_eval context the same way as tryton
...
issue5122
review23641002
2015-11-15 12:41:13 -03:00
Cédric Krier
1e11946117
Dump also untranslated keys
...
issue5099
review23631002
2015-11-05 23:02:46 +01:00
Cédric Krier
c20f160e2e
Rename package in index.html
...
issue5098
review18761002
2015-11-03 10:02:20 +01:00
Cédric Krier
9d56fc04b8
Increase version number
2015-11-02 16:22:48 +01:00
Cédric Krier
d2d22dbed9
Added tag 3.8.0 for changeset c835144ba5fd
2015-11-02 16:17:39 +01:00
Cédric Krier
4e1e273709
Prepare release 3.8.0
2015-11-02 15:58:15 +01:00
Cédric Krier
ddfa8d8710
Always synchronise One2Many screen attributes
...
The readonly, domain and size should always be set on display even if the group
did not changed.
issue5094
review20491002
2015-11-02 11:31:11 +01:00
Cédric Krier
a2faaebcbd
Fix set_on_change of One2Many when value.add is not defined
2015-11-01 22:34:56 +01:00
Cédric Krier
ece783722d
Fix progressbar, width is in percent and aria-valuenow is an attribute
2015-11-01 21:30:52 +01:00
Cédric Krier
6ac8180852
Fix jshint
2015-10-31 11:19:15 +01:00
Cédric Krier
edb97df84d
Add also language key if missing for gettext.js
2015-10-31 11:14:44 +01:00