Commit Graph
669 Commits
Author SHA1 Message Date
Sergi Almacellas Abellana bcfe1e7910 Ensure Datetime.combine returns a datetime object
issue5618
review28261002
2016-06-08 09:26:26 +02:00
Sergi Almacellas Abellana 233d6abe63 Ensure all selection values on search form are quoted
issue5610
review22061002
2016-06-07 16:06:25 +02:00
Sergi Almacellas Abellana 63211a9e9e Avoid adding empty arrays to search clauses
issue5585
review20241002
2016-06-07 12:43:59 +02:00
Cédric Krier 07a9b6ee72 Work on copy of Array and Object in Sao.rpc.prepareObject
Replacing the data in-place is bad practice because it can introduce side
effect. The caller of Sao.rpc doesn't expect to have the parameters modified.

issue5608
review21021002
2016-06-07 09:51:55 +02:00
Sergi Almacellas Abellana a13196b80a Add tests for null values in pyson encode
issue5594
review18181002
2016-06-03 11:21:42 +02:00
Sergi Almacellas Abellana 17b87cebac Handle null values in pyson encode
issue5594
review18181002
2016-06-03 11:18:51 +02:00
Sergi Almacellas Abellana a72b1c713b Correctly initialize last_search_text
issue5584
review22021002
2016-05-31 17:38:09 +02:00
Cédric Krier aceedacb36 Manage custom login process
The password is removed from the login window. The login parameters are filled
using asks pop-up until login success. The same login method is used to renew
the session.

issue5521
review23001003
2016-05-31 12:53:26 +02:00
Cédric Krier b9ccf47709 Improve Many2One icons
- add a erase icon
- move open icon as primary

issue4540
review25311002
2016-05-25 11:36:29 +02:00
Cédric Krier 330319b6bd Remove Screen.parent hack in Attachment and Note
The modified test in Screen.switch_view can be moved to
Screen.default_row_activate only, so the Attachment and Note screen doesn't
require to have a fake parent to switch views.

issue5558
review23131002
2016-05-25 11:14:15 +02:00
Cédric Krier de3f83ab23 Add missing this binding in forEach method in Attachment.callback 2016-05-19 12:54:22 +02:00
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