Commit Graph
704 Commits
Author SHA1 Message Date
Nicolas Évrard b7a8f5b7d4 Call autocompletion when setting record value
issue5712
review31371002
2016-07-20 13:24:32 +07:00
Cédric Krier 50afb5b695 Allow null in Greater/Less PYSON
issue5711
review25501002
2016-07-19 07:43:04 +07:00
Xavier Codinas 1af28f73a1 Return empty object in MODELACCESS.model.get
It is to allow to retrieve access keys with default empty
value without failing.

issue5708
review29381003
2016-07-18 23:57:39 +07:00
Xavier Codinas e54476fe30 Always return promise in field binary get data
If record id negative, it must still return a promise.
The default value for data must be an empty list.

issue5676
review28431002
2016-07-15 20:52:41 +07:00
Sergi Almacellas Abellana 9e1042dabf Fix WizardDialog.destroy
- Fix typo in event name.
- Wait until the wizard dialog is closed to read the correct wizard object.

issue5704
review28521002
2016-07-15 14:53:36 +02:00
Sergi Almacellas Abellana 406351b8c1 Don't close modal dialogs when clicking outside of them
issue5700
review28501002
2016-07-14 10:31:27 +02:00
Raimon Esteve 1c4c4428f9 Remove duplicated attribute in Form Label
issue5705
review30301002
2016-07-14 11:42:25 +07:00
Sergi Almacellas Abellana 9195d843d2 Manage rec_name promise on Attachment and Notes title
Also re-add wrongly removed context declaration

issue2350
review27461002
2016-07-12 09:21:22 +02:00
Cédric Krier e7f700fd3d Set group parent from previous screen only if new group does not have one
xxx2Many widgets could set a group with a different parent then the previous
one of the screen. This group should keep its parent because it comes from the
value of the field.

issue5672
review21121002
2016-07-11 18:36:37 +02:00
Xavier Codinas 9e83964a31 Add readonly property in size input binary field
issue5691
review30281002
2016-07-11 12:02:50 +02:00
Sergi Almacellas Abellana 9b25b0d347 Ensure all values are set before resolving default_get
issue5681
review26471002
2016-07-08 09:23:48 +02:00
Cédric Krier 0824de014a Fix form view in Many2Many
The first view which is a tree must be removed from the view ids as mode of the
screen is form only.

issue5378
review28401002
2016-07-07 10:26:36 +02:00
Sergi Almacellas Abellana 881eca005a Replace views string with model description
issue2350
review28371002
2016-07-05 09:54:16 +02:00
Cédric Krier 1a55a423f7 Clear the new record for Preference
The Preference window create a new record to simulate the read using
preferences values. But this mark the record has modified and prevent to click
on buttons. So the new record must be canceled just after "new" call.

issue5663
review23241002
2016-06-30 21:56:10 +02:00
Cédric Krier 659565265d Button can be enable on readonly record and group
issue5010
review27391002
2016-06-30 21:52:35 +02:00
Cédric Krier 1acc508800 Limit readonly state for xxx2Many
issue5041
review21051002
2016-06-30 21:43:35 +02:00
Sergi Almacellas Abellana 04ce9b6715 Fix issubset implementation
Current implementation is not valid as it will return false when the element is
not present on one of the list, but it should return false only if the element
is not on both lists.

issue5669
review28391002
2016-06-30 10:44:06 +02:00
Sergi Almacellas Abellana ad5d55ca70 Display views when Many2One rec_name is loaded
issue5665
review28381002
2016-06-29 17:19:41 +02:00
Xavier Codinas b07e4521c4 Fix root parent condition
issue5668
review31271002
2016-06-29 14:31:25 +02:00
Sergi Almacellas Abellana 7225b275e8 Fix usage of apply function
issue5666
review22121003
2016-06-29 09:38:32 +02:00
Xavier Codinas df5af34323 Simplify login with single database
If there's only one database it will be displayed in a read only textbox, and if
more databases are available it will display a dropdown with all the databases
that are selectable.

issue5660
review28331002
2016-06-28 10:59:27 +02:00
Xavier Codinas 742a5ed995 Add missing variable in DomainParser.completion
And add test for completion on empty value

issue5664
review25251002
2016-06-27 19:10:10 +02:00
Cédric Krier acddcc69ef Use new session to login
issue5659
review30271002
2016-06-23 17:58:57 +02:00
Cédric Krier ce0b49fbe3 Clear the current session when logout
issue5659
review30271002
2016-06-23 17:58:36 +02:00
Sergi Almacellas Abellana be752ccd74 Only validate loaded field when performing a sync validation
issue5658
review22111002
2016-06-23 09:48:24 +02:00
Cédric Krier c302fdf02b Call on_change's even if the field is readonly
This is not in the model part that the readonly must be enforced by only on the
widget side.

issue5637
review26361002
2016-06-21 13:30:40 +02:00
Sergi Almacellas Abellana 6c8cbe8d74 Render separators with no text as and empty label
issue5641
review28311002
2016-06-15 10:00:18 +02:00
Sergi Almacellas Abellana 405c4e2954 Return a rejected promise when registering an icon with no value
This makes the done callbacks to not be called so the src field of the image
is not set which is better than setting an empty value as the browser renders
it as a not found image when it can not found the image

issue5639
review29291002
2016-06-15 09:53:50 +02:00
Sergi Almacellas Abellana e8aff58546 Show records names in relate tab title
issue5221
review25371002
2016-06-15 09:44:39 +02:00
Cédric Krier 05c4d2331a Add support for count on Action Window Domains
issue5548
review20991002
2016-06-14 16:39:35 +02:00
Sergi Almacellas Abellana 0252a645b1 Correctly render userwarning and usererror messages
issue5638
review29281002
2016-06-13 16:09:36 +02:00
Sergi Almacellas Abellana 0368325354 Guess binary mimetype when opening a binary field
issue5635
review29261002
2016-06-13 16:08:57 +02:00
Sergi Almacellas Abellana 4109580aa6 Return a new promise for resolving attachments data
issue5632
review27361002
2016-06-09 17:43:39 +02:00
Sergi Almacellas Abellana da3df7dd8f Fix search_box autocomplete for empty values
issue5619
review28281002
2016-06-09 17:43:01 +02:00
Sergi Almacellas Abellana 3430bc4d2d Remove window_name on Action Window
issue5611
review25381002
2016-06-08 10:35:54 +02:00
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