Commit Graph

659 Commits

Author SHA1 Message Date
C?dric Krier d9e59b2945 Add missing this binding in forEach method in Attachment.callback 2016-05-19 12:54:22 +02:00
C?dric Krier 7274c21d9d Fix image name for drone 0.3 2016-05-12 09:42:53 +02:00
C?dric Krier 0a26acd066 Fix drone.yml syntax 2016-05-12 09:25:37 +02:00
Sergi Almacellas Abellana 6aa7cef5dc Add test task and drone 2016-05-12 09:14:14 +02:00
Sergi Almacellas Abellana 5feab97985 Add missing semicolon from changeset f7691ba7c10e 2016-05-11 10:55:45 +02:00
Prayash Mohapatra 76c3a8f718 Remove unused Board.widgets list
issue5063
review25011002
2016-05-10 11:48:32 +02:00
Maxime Richez 6c6d97d559 Clear filename when clear button is pressed
issue2633
review20971002
2016-05-10 11:12:27 +02:00
C?dric Krier 26b1770a8c Manage PYSON in tree_invisible attribute
issue5425
review21871003
2016-05-10 10:30:31 +02:00
C?dric Krier aa6c9a4ba0 Correctly set selection after get_selection in domain_parser
issue5537
review23051002
2016-05-10 10:25:19 +02:00
Sergi Almacellas Abellana 349e22c909 Show processing label above wizards
issue5532
review24211002
2016-05-09 09:18:46 +02:00
C?dric Krier a5719883ff Re-update translations 2016-05-07 15:09:46 +02:00
Sergi Almacellas Abellana e987e94a8f Fix context value used in expr_eval
Set the ctx.context variable to a defined context instead of an undefined one,
so all the expressions that search for context values are correctly evaluated.

issue5531
review18091002
2016-05-06 15:36:43 +02:00
Sergi Almacellas Abellana dae3a33bea Fix typo in jQuery definition
Introduced in changeset32cd8f429973
2016-05-05 09:38:12 +02:00
Sergi Almacellas Abellana 2f5692e74e Disable clicking on boolean fields when they are readonly
issue5528
review25291002
2016-05-04 18:01:39 +02:00
C?dric Krier 156f4ce32e Increase version number 2016-05-02 15:43:23 +02:00
C?dric Krier d3ed63cbff Added tag 4.0.0 for changeset 20712dc81634 2016-05-02 15:42:49 +02:00
C?dric Krier 882ae48a12 Prepare release 4.0.0 2016-05-02 15:42:48 +02:00
C?dric Krier e6880580bf Update translations 2016-05-01 11:00:33 +02:00
C?dric Krier 1e7a72441a Compare keyword_open to 1
It is needed to correctly test "0" as false

issue5379
review23021002
2016-04-29 23:02:36 +02:00
C?dric Krier d8e6e6224c Add missing fake update_unread_note for Board tab
Screen calls it in set_current_record
2016-04-28 22:12:37 +02:00
C?dric Krier c16ad30dba Prevent submit of UniqueDialog
- trigger the first primary button on submit
- put the focus on the first input/select

issue5520
review16191002
2016-04-28 20:57:37 +02:00
C?dric Krier e0b76ceabe Fix typo startswith -> startsWith 2016-04-26 17:03:11 +02:00
C?dric Krier a91bddae79 Fix readonly tests when user has only create access
The screen should not be read-only if the user is allowed to create record even
if he is not allowed to modify it. And it is the same for the save button.

issue5479
review19201002
2016-04-21 17:15:52 +02:00
C?dric Krier 8af79f3fc6 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 e55e33c9b1 Don't override action context by current context
issue4303
review22931002
2016-04-02 15:36:35 +02:00
Prayash Mohapatra 2894e185c3 Add po2json to default task
issue5366
review24971002
2016-04-02 15:24:49 +02:00
C?dric Krier 8250cd946d 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 008db5d998 Update dependencies
review24961002
2016-03-31 23:04:34 +02:00
Prayash Mohapatra 9ad16079e2 Fix Separator to generate bold label when field is required
issue5243
review24001002
2016-03-24 11:01:03 +01:00
C?dric Krier 272fa5c60e Uses 30 days for month for Timedelta
issue5282
review20041002
2016-03-21 23:54:08 +01:00
C?dric Krier d3060a10f3 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 e4d55bbd55 NotLogged exception is now 403
issue5415
review17161002
2016-03-21 23:40:17 +01:00
C?dric Krier 048b3c4986 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 3a705ad3a5 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 35232f7d2b Update README about trytond configuration for new web section 2016-03-16 21:15:12 +01:00
C?dric Krier c72b8f46d3 Manage context model of ir.action.act_window
issue5220
review15881002
2016-03-15 17:46:26 +01:00
C?dric Krier 497acc4177 Use Authorization header for session
issue4646
review15971002
2016-03-15 16:58:46 +01:00
C?dric Krier aa308d7d06 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 49c18f8731 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 037102486a Set note resource also to new records
issue5300
review21641002
2016-02-04 00:52:38 +01:00
C?dric Krier 456d8b5d0d Prevent submit on search_box
issue5289
review19841003
2016-02-03 21:28:02 +01:00
C?dric Krier 29f21a73bc Add Note
issue4669
review17731004
2016-02-02 19:15:58 +01:00
C?dric Krier 256f7acc2e Fix domain parser when value is an operator
issue5266
review24751002
2016-02-02 19:09:55 +01:00
C?dric Krier 61c52e1523 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 1bfe803fe7 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 158061004f 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 edad10dbfd Keep parent when calling Screen.set_group
issue5235
review19741002
2016-01-13 21:16:00 +01:00
C?dric Krier c89ddac9c7 Pipe the callback after the attachment save
issue5236
review24701002
2016-01-13 21:14:28 +01:00
C?dric Krier a0b1d64e44 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 a392640988 Add missing Reference widget in tree view
review17701002
2015-12-31 13:43:15 +01:00