Cédric Krier
8a110d9d2d
Fix validation of record of One2Many field
...
review16301002
2015-05-22 11:04:06 +02:00
Cédric Krier
545505c9f3
Use uniqueId for pane in Notebook
2015-05-15 23:16:23 +02:00
Cédric Krier
6421b9bbfe
Set dialog title on Sao.Window.Form
2015-05-15 19:13:38 +02:00
Cédric Krier
bbf9a99225
Fix name of tab introduced in changeset 113aa750ecf2
...
The tab name should first come from the tab attributes and fallback to the
first view string.
2015-05-15 19:12:36 +02:00
Cédric Krier
16a6949552
Pass validate to the next callback
2015-05-15 17:16:58 +02:00
Cédric Krier
e3ea92f3b6
Store arguements in Sao.Window.Form at the begining
...
It is particulary important when storing previous view otherwise it stores the
current one used in the Form.
2015-05-15 17:16:05 +02:00
Nicolas Évrard
493541d7f0
remove useless console.log
2015-05-15 16:43:04 +02:00
Cédric Krier
3252e8e129
Fix is_leaf test
...
instanceof String doesn't work, we must use typeof
2015-05-15 15:29:07 +02:00
Nicolas Évrard
2be4efc6cf
Use screen view to name tab when the name is not specified
...
review16261002
2015-05-15 13:53:07 +02:00
Nicolas Évrard
360aa8461d
Remove the need to define domain operators
...
issue4714
review7111002
2015-05-15 13:50:52 +02:00
Cédric Krier
0ad99276d0
Remove TODO about validate as it is implemented
2015-05-15 13:45:51 +02:00
Cédric Krier
ca9daa057c
Remove useless TODO in One2Many.set_client
...
Parent is managed in changed call.
2015-05-15 13:45:33 +02:00
Cédric Krier
7ff523950e
Remove TODO about signal management
...
sao doesn't uses signals but directly lookup for parents
2015-05-15 13:44:09 +02:00
Cédric Krier
3f6ff2ad03
Add readonly check in Field.changed
2015-05-15 13:15:33 +02:00
Cédric Krier
f6149f4483
Remove useless TODO in Field.set_client
...
Parent is managed in changed call.
2015-05-15 13:11:20 +02:00
Cédric Krier
9f4a88d18e
Add pre_validate
...
review15381002
2015-05-15 13:00:41 +02:00
Cédric Krier
ce5fe18115
Add check states on ButtonColumn
2015-05-07 19:25:06 +02:00
Cédric Krier
0a98ca88fb
Fix copy of screen context in button method
...
jQuery.extend must get a target otherwise it is jQuery object that is used.
2015-05-07 19:24:30 +02:00
Cédric Krier
e7419d5504
Remove non-accurate TODO for url/email/callto/sip
2015-05-07 17:00:39 +02:00
Cédric Krier
90b4d7e591
Reset readonly screen attribute for user preferences
2015-05-07 16:41:00 +02:00
Cédric Krier
b9c591da4d
Fix params order for warning dialog
2015-05-07 14:54:19 +02:00
Cédric Krier
358991971d
Don't update typeahead.js as typeahead.js-bootstrap3.less is not yet ready
2015-05-07 12:38:36 +02:00
Cédric Krier
5b6ecbaaa0
Update dependencies
2015-05-07 12:11:45 +02:00
Cédric Krier
d041e5288f
UniqueDialog buttons must have a type button
...
as they are put inside a form otherwise they behaves like a submit
2015-05-07 12:11:06 +02:00
Cédric Krier
1e44b10600
Tab.save should always return a promise
2015-05-07 12:10:11 +02:00
Cédric Krier
5a8d38a905
Add autocompletion
...
review17261002
2015-05-07 11:21:29 +02:00
Cédric Krier
a79cdf675d
Force parent in default_get
2015-04-30 17:44:14 +02:00
Cédric Krier
9f04a84515
Test if row exists before using it in get_expanded_paths
2015-04-30 17:43:50 +02:00
Nicolas Évrard
0f813b0cf7
Add Search / Create actions to many2one autocompletion popup
...
review15341002
2015-04-30 17:38:56 +02:00
Cédric Krier
efa43c9cae
Display inline all form label to ensure vertical alignment
2015-04-30 17:03:17 +02:00
Cédric Krier
283847e74d
Unify glyphicon usage
2015-04-30 16:43:53 +02:00
Cédric Krier
dbea601a79
Delay setting O2M field on record
2015-04-30 16:27:15 +02:00
Cédric Krier
a3686bf915
Make display returning promise
...
When closing a modified tab without saving, the tab must be remove after the
reload and display. This prevents exception to be raised by calling display on
form widget that are removed.
2015-04-30 15:55:28 +02:00
Cédric Krier
8951d99ade
Manage exception on Record and readonly state
2015-04-30 13:57:29 +02:00
Cédric Krier
0d6d6f2034
Implement sibling group load
2015-04-30 12:56:35 +02:00
Cédric Krier
a838eb4e5e
Wrong usage of Record.model_name instead of Record.model.name
2015-04-30 12:54:49 +02:00
Nicolas Évrard
3e803e62b4
Add autocompletion on search entry
2015-04-24 13:56:41 +02:00
Cédric Krier
813079fb5a
Don't store editable tree widget
...
The model of the tree can change in case of reload inside another widget.
2015-04-03 20:30:30 +02:00
Cédric Krier
98988eef75
No need to call twice getAttribute
2015-04-03 20:28:59 +02:00
Cédric Krier
81adc7d0db
Compare also the record rows to reconstruct tree view
...
As the row keeps a link to the record, the records of the group could have been
replaced by new records with exactly the same length.
2015-04-03 19:01:01 +02:00
Cédric Krier
61a891d103
Keep displaying affix when editing tree
...
Instead of adding a new row inside the main cell, it adds it inside the affix
table.
2015-04-03 18:47:55 +02:00
Cédric Krier
34d7e5223f
Add support for Affix widget and states
2015-04-03 14:41:39 +02:00
Cédric Krier
6f8ef31aa7
Don't skip exclude_field in create_columns
...
exclude_field is hidden by the display.
2015-04-03 13:29:24 +02:00
Cédric Krier
ca9a85b5ec
Don't consider as unique clause with nested target
...
issue4552
review11161002
2015-03-30 22:40:07 +02:00
Cédric Krier
e8e6fecc2d
Filter leaf domain of Reference fields
...
The domain of Reference fields must be filtered out for non-valid target
because the localization will remove the target part and thus generate an
invalid domain for the specific target.
issue4680
review11141003
2015-03-30 22:37:52 +02:00
Cédric Krier
e2e6a9c004
Save parent group when saving record
2015-03-27 18:24:19 +01:00
Cédric Krier
e290dace9e
Add missing parent validation on Group.changed
2015-03-27 17:49:50 +01:00
Cédric Krier
a0a5f783b5
Add missing space before menu item name
2015-03-27 16:04:13 +01:00
Cédric Krier
717ef2594c
Add missing assert on Model.delete_
2015-03-27 16:00:20 +01:00
Cédric Krier
f52be78bf2
Set min value when evaluate date/time leaf
2015-03-27 15:41:05 +01:00