Sergi Almacellas Abellana
032d7e5833
Add missing bind on XXX2Many edit and add
...
Changeset 5b447f80162c added async callbacks when opening and editing XXX2Many
fields, but they were not bound to the correct object so the object properties
are not read correcty.
issue5780
review31411002
2016-08-17 11:00:00 +02:00
Sergi Almacellas Abellana
a7370447b9
Remove already deleted records on on_write result
...
issue5771
review26521002
2016-08-17 10:57:09 +02:00
Sergi Almacellas Abellana
bb6d80e4f6
Manage list values of res_id
...
The res_id value returned from an action on the server can be a list or a
number, so it must be converted to a list only when it is not a already.
issue5774
review32411002
2016-08-12 13:23:28 +02:00
Cédric Krier
56e3197283
Manage null value in One2Many._set_value
...
null could be a valid value when the read fails and a default null value is
used instead.
issue5729
review26501002
2016-08-10 22:44:42 +02:00
Xavier Codinas
11f1ecd8df
Add support for column sorting
...
issue5675
review31301002
2016-08-08 17:08:16 +02:00
Cédric Krier
a077ee95eb
Set 'default_rec_name' context key when query default_get
...
The last searched text is used as default rec_name
issue4136
review30351002
2016-08-04 23:57:03 +02:00
Raimon Esteve
a7342e10db
Fix setting text on label of Separator
...
issue5709
review29371002
2016-07-30 00:35:06 +02:00
Diego Abad
59d3769b0d
Fix widget Image to expect data instead object
...
Since changeset 16076b99d5be get_data function on Binary
field was fixed to return data instead object.
Image widget was implemented on changesets 90eca9355575,
3b2b20cb44b3 (form and tree view) relied on the bad behaviour
of get_data and so it must be fixed.
issue5745
review29421002
2016-07-26 17:18:21 +02:00
Sergi Almacellas Abellana
14df832d52
Add missing bind in DomainParser.complete_reference
...
issue5731
review22191002
2016-07-26 15:55:57 +02:00
Sergi Almacellas Abellana
94a56af0ae
Use dp.hide to trigger focus out Datepicker
...
issue5737
review28551002
2016-07-25 09:33:02 +02:00
Sergi Almacellas Abellana
628892bc7d
Test if event is defined on Many2One edit
...
Introduced in changeset ce61862b61eb
issue5738
review25531002
2016-07-25 09:30:25 +02:00
Sergi Almacellas Abellana
0fe47f15c2
Manage confirm attribute on buttons
...
issue5728
review28531002
2016-07-22 10:20:15 +02:00
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