Commit Graph
658 Commits
Author SHA1 Message Date
Cédric Krier e9462ce756 Fix image name for drone 0.3 2016-05-12 09:42:53 +02:00
Cédric Krier 9c9467dfed Fix drone.yml syntax 2016-05-12 09:25:37 +02:00
Sergi Almacellas Abellana 37641ad498 Add test task and drone 2016-05-12 09:14:14 +02:00
Sergi Almacellas Abellana 703911d2e3 Add missing semicolon from changeset f7691ba7c10e 2016-05-11 10:55:45 +02:00
Prayash Mohapatra b0511ce407 Remove unused Board.widgets list
issue5063
review25011002
2016-05-10 11:48:32 +02:00
Maxime Richez 876fb050b7 Clear filename when clear button is pressed
issue2633
review20971002
2016-05-10 11:12:27 +02:00
Cédric Krier b98a9567ba Manage PYSON in tree_invisible attribute
issue5425
review21871003
2016-05-10 10:30:31 +02:00
Cédric Krier 7f7137d504 Correctly set selection after get_selection in domain_parser
issue5537
review23051002
2016-05-10 10:25:19 +02:00
Sergi Almacellas Abellana 0ed05c4246 Show processing label above wizards
issue5532
review24211002
2016-05-09 09:18:46 +02:00
Cédric Krier ff036273f4 Re-update translations 2016-05-07 15:09:46 +02:00
Sergi Almacellas Abellana a1e4a9f69c 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 9b96c7fd31 Fix typo in jQuery definition
Introduced in changeset32cd8f429973
2016-05-05 09:38:12 +02:00
Sergi Almacellas Abellana 83cac006db Disable clicking on boolean fields when they are readonly
issue5528
review25291002
2016-05-04 18:01:39 +02:00
Cédric Krier 3eed1d2ada Increase version number 2016-05-02 15:43:23 +02:00
Cédric Krier 577afd8cbe Added tag 4.0.0 for changeset 20712dc81634 2016-05-02 15:42:49 +02:00
Cédric Krier b24cb978c5 Prepare release 4.0.0 2016-05-02 15:42:48 +02:00
Cédric Krier 148b0f8aa1 Update translations 2016-05-01 11:00:33 +02:00
Cédric Krier ba6fa116fc 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 8479b536a7 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 41708e5f17 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 8d2ce21998 Fix typo startswith -> startsWith 2016-04-26 17:03:11 +02:00
Cédric Krier 7ac86ddc2f 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 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