Commit Graph
429 Commits
Author SHA1 Message Date
Nicolas Évrard 9fc17c9fec Fix name of mode in parameters of ir.action.act_window 2015-05-29 18:36:40 +02:00
Nicolas Évrard 8055a4315b Fix domain_parser initialization to occure before view display 2015-05-29 18:31:38 +02:00
Nicolas Évrard 4d475201e0 Add support for Esc key in editable tree 2015-05-29 17:08:28 +02:00
Nicolas Évrard e03fa5ccb9 Fix typo introduced in changeset d9a8e1069887 2015-05-29 13:42:18 +02:00
Nicolas Évrard bd5fc134cc Only call autocomplete on in default_get if it depends on at least one field 2015-05-29 13:35:28 +02:00
Cédric Krier 728d9e2096 Add i18n
review16321002
2015-05-29 10:44:10 +02:00
Cédric Krier 382bf05f30 Remove comment as view_search is already implemented 2015-05-22 18:28:04 +02:00
Cédric Krier 8510916337 Remove useless comment 2015-05-22 18:27:44 +02:00
Nicolas Évrard e6fa6d3c43 Add global search 2015-05-22 13:15:30 +02:00
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