niv-openerp
cb46665b01
[fix] some bugs with m2o & buttons while creation
...
bzr revid: nicolas.vanhoren@openerp.com-20111010095754-jfxvgtqvrfk3xqbn
2011-10-10 11:57:54 +02:00
niv-openerp
5e417f203a
[imp] improved popup for m2o to support usage of buttons while creating a row
...
bzr revid: nicolas.vanhoren@openerp.com-20111010094438-33drycp4l7o1vnzt
2011-10-10 11:44:38 +02:00
Yogesh (OpenERP)
82dfc15160
[MERGE] Merge with trunk upto revision no 1184.
...
bzr revid: ysa@tinyerp.com-20111010050054-hvwr29706js07cmb
2011-10-10 10:30:54 +05:30
niv-openerp
e2e01eed83
[imp] mado o2m compatible with graph view
...
bzr revid: nicolas.vanhoren@openerp.com-20111007162156-10r2h2zws40oabnp
2011-10-07 18:21:56 +02:00
Xavier Morel
342b8e680b
[FIX] search selection default value in case no default is set: select option with value 'false' if there's any
...
bzr revid: xmo@openerp.com-20111007082905-86zc0dzwu0bv4bwz
2011-10-07 10:29:05 +02:00
Vidhin Mehta (OpenERP)
548b641acc
[IMP]implement two type of xpath and fix level convert into integer.
...
bzr revid: vme@tinyerp.com-20111007073729-8e0prjh64cjwp3vj
2011-10-07 13:07:29 +05:30
Xavier Morel
28b0daeaff
[FIX] correctly update pager when adding a new record in an editable list
...
bzr revid: xmo@openerp.com-20111007072019-l59qcgikjeu71v26
2011-10-07 09:20:19 +02:00
Xavier Morel
acc3d54316
[ADD] update pager on record deletion
...
bzr revid: xmo@openerp.com-20111007071756-h73imu0g4tl3fhay
2011-10-07 09:17:56 +02:00
Vidhin Mehta (OpenERP)
c36d4ddea4
[IMP]create parent-child list after inherit view.
...
bzr revid: vme@tinyerp.com-20111007061604-zv97xy6byxmm5qhv
2011-10-07 11:46:04 +05:30
Xavier Morel
6c1499ecd9
[FIX] clear in search views should clear small filters as well
...
bzr revid: xmo@openerp.com-20111006152332-g0ifsv53jwq66u9u
2011-10-06 17:23:32 +02:00
Xavier Morel
404db3a08b
[FIX] correctly handle 'false' value on selection fields
...
bzr revid: xmo@openerp.com-20111006145439-mklud8aaezmd2b1p
2011-10-06 16:54:39 +02:00
Fabien Meghazi
5db16cd946
[FIX] Confirmation dialog buttons won't close the dialog
...
bzr revid: fme@openerp.com-20111006132241-b4491vh5jm4ct974
2011-10-06 15:22:41 +02:00
Fabien Meghazi
84a94d7ec9
[FIX] Button@special=cancel should not trigger form save
...
bzr revid: fme@openerp.com-20111006121411-sltmagi0n068fbym
2011-10-06 14:14:11 +02:00
Xavier Morel
bcaac70b1b
[FIX] make m2o form fields focusable
...
bzr revid: xmo@openerp.com-20111006120425-z154ck3xez87ufbr
2011-10-06 14:04:25 +02:00
Xavier Morel
cecd7f5e55
[FIX] duplicated element_class on form widgets (on container and widget), and some incorrect element_id breaking click-on-label behavior
...
bzr revid: xmo@openerp.com-20111006114127-vc4mbflum68pjlbo
2011-10-06 13:41:27 +02:00
Xavier Morel
06787922c0
[FIX] selection field value in case there's no value (haha)
...
bzr revid: xmo@openerp.com-20111006100235-2x41tzki77sk6i3v
2011-10-06 12:02:35 +02:00
Xavier Morel
0fc5a423e3
[FIX] don't screw up typing of selection values in search view
...
bzr revid: xmo@openerp.com-20111006095301-98cda38m1y270f3m
2011-10-06 11:53:01 +02:00
Fabien Meghazi
5df08eb7d7
[FIX] m2o: Search More cause a traceback. (views now excpect to receive evaluated domain, context and group_by)
...
bzr revid: fme@openerp.com-20111006092247-zcbnrdbld00somam
2011-10-06 11:22:47 +02:00
Fabien Meghazi
9380f9ae30
[FIX] 'Select' button for file upload not working in wizards
...
lp bug: https://launchpad.net/bugs/860736 fixed
bzr revid: fme@openerp.com-20111006085138-dqezqznktrimhrxm
2011-10-06 10:51:38 +02:00
Xavier Morel
a3a45e18b3
[FIX] m2o fields with selection widget in search view
...
Plan was originally to just ignore this because "it should just work"
but turns out m2o and m2o[@widget=selection] fields have very
different behaviors when it comes to default values, especially
custom domains and contexts:
* An m2o field uses its string value always (behaves like a char
field), for UI and clarity purposes we added an [[name, '=', id]]
case when the user specifically selects an autocompletion value,
but that's not "cannon", when it comes to dealing with custom
domains (filter_domain) and contexts the field always uses its
string value.
* An m2o[@widget=selection] field on the other hand uses its ids
always (behaves like a selection field).
That's not entirely true, really, because it has the converse to
what we implemented on the m2o field in the web client (in the GTK
client): if there is no @filter_domain *and* the user has entered a
value which is not in the dropdown (it's a combobox in the GTK
client), then it falls back on using 'ilike'. This string value is
*not* used in custom domains and custom filters, which simply are
not submitted.
This second section has *not* been implemented so far in the web
client, we'll come round to it if people actually need it.
bzr revid: xmo@openerp.com-20111006063949-fl5rbg3wwubcaay8
2011-10-06 08:39:49 +02:00
Christophe Simonis
3677064274
[IMP] notification: warnings does not expire
...
bzr revid: chs@openerp.com-20111005153539-xxds5bog4p08m2yl
2011-10-05 17:35:39 +02:00
Fabien Meghazi
65745d5142
[FIX] Do not compute modifiers for aggregates in list view.
...
lp bug: https://launchpad.net/bugs/865188 fixed
bzr revid: fme@openerp.com-20111005153202-4ao575zh3885ukuy
2011-10-05 17:32:02 +02:00
Xavier Morel
d801f21146
[REV] 1150, broke filter_domain in case of empty field
...
bzr revid: xmo@openerp.com-20111005130252-oovrpbo4a1pjavwd
2011-10-05 15:02:52 +02:00
Kunal Chavda (OpenERP)
02bbd4bd5c
[IMP]Render boolean field with static data using widget.
...
bzr revid: kch@tinyerp.com-20111005120212-tj2jhlxwjmtp91z6
2011-10-05 17:32:12 +05:30
Vidhin Mehta (OpenERP)
5bffa6a135
[IMP]reduce code and implement for field position.
...
bzr revid: vme@tinyerp.com-20111005112127-wihc38e3a5iipea7
2011-10-05 16:51:27 +05:30
Xavier Morel
072bb3d8ec
[FIX] viewmanageraction loading: auto_search is the default, not the exception
...
this means if the auto_search attribute is missing, search automatically. Search should only
be prevented if auto_search is precisely false
bzr revid: xmo@openerp.com-20111005111210-qju8ocbhvqahczsz
2011-10-05 13:12:10 +02:00
Xavier Morel
68cd9188b9
[FIX] handling of value and default domain in search m2o
...
bzr revid: xmo@openerp.com-20111005105731-9431uvhay91bt10c
2011-10-05 12:57:31 +02:00
Fabien Meghazi
19b7493711
[FIX] When reaching ir_actions_act_window_close without dialog, call on_closed if any
...
The static homepage do not reload the page when the module installed have no configuration actions (eg: returning direcly ir_actions_act_window_close)
bzr revid: fme@openerp.com-20111005101714-s5jy3gslni00a5jo
2011-10-05 12:17:14 +02:00
Fabien Meghazi
a33bd2344c
[IMP] Improved styling of labels
...
bzr revid: fme@openerp.com-20111005083521-ofyfzdp8olzpjnbd
2011-10-05 10:35:21 +02:00
Yogesh (OpenERP)
aad669d89e
[MERGE] Merge wtih trunk upto revision no 1046.
...
bzr revid: ysa@tinyerp.com-20111005051639-8tkce0yihk3ksfv5
2011-10-05 10:46:39 +05:30
Valentin Lab
3348916e9c
[fix] remove bad undefined value returned instead of a real promise.
...
bzr revid: valentin.lab@kalysto.org-20111004162841-h25ns7b4ivxo43z3
2011-10-04 18:28:41 +02:00
niv-openerp
15a6b81dbe
[fix] just return a promise where necessary
...
bzr revid: nicolas.vanhoren@openerp.com-20111004161116-6pylm16ty6v69szu
2011-10-04 18:11:16 +02:00
Xavier Morel
318ec9998b
[IMP] use .children(selector) rather than .find('> ' + selector)
...
bzr revid: xmo@openerp.com-20111004155918-c2vy0rwkesvdkmli
2011-10-04 17:59:18 +02:00
Xavier Morel
49de0f4640
[FIX] stupidity: if insert a line in a list with more than 5 records (no padding), since the new line does not have a @data-id yet it's going to remove it immediately.
...
select line to remove before inserting new one
bzr revid: xmo@openerp.com-20111004155746-q13ieg0q6lsy1uf7
2011-10-04 17:57:46 +02:00
Xavier Morel
74db7dd027
[FIX] correctly handle insertion in empty editable list
...
bzr revid: xmo@openerp.com-20111004154650-hx56g1lmefhzgf21
2011-10-04 17:46:50 +02:00
Xavier Morel
72b852c2c6
[FIX] insertion position of new lines (in editable lists) in case of lists padded to 5 (empty) lines
...
bzr revid: xmo@openerp.com-20111004154246-7o1cw016cf9ygem3
2011-10-04 17:42:46 +02:00
Xavier Morel
f164496dc4
[FIX] correctly call form field's update_dom in all cases in editable listview
...
Form fields are extended/replaced in editable list view in order to
handle @invisible and @tree_invisible correctly in editable-list-form
context (base semantics of @invisible are different between listview
and formview, formview's @invisible is listview's @tree_invisible, and
instead of removing element from visible DOM listview's @invisible
only hides the element but it keeps the space it's taking).
As a result, listview editable needs to override Widget.update_dom for
pretty much all form widgets, in order to manage this difference in
behavior.
In case of @tree_invisible, it did so correctly setting and unsetting
its stuff and calling this.super() to execute the widget's actual
update_dom triggers **but it did not do so when the element was really
visible**.
As a result, in editable listview elements would never appear required
(blue background), invalid (red background) or disabled (gray),
although they were correctly set up, because the display layer was
never updated.
bzr revid: xmo@openerp.com-20111004151031-65o0q8e86op7kdks
2011-10-04 17:10:31 +02:00
Xavier Morel
fb2e7a4a06
[FIX] have form widget elements behave correctly in case of classes with dots. Thanks valentin
...
bzr revid: xmo@openerp.com-20111004132854-sg8vo4m3b4bvtecf
2011-10-04 15:28:54 +02:00
Xavier Morel
29cef016f9
[FIX] re-rendering of a given list's row (e.g. onchange, edition, etc...): 'view' needs to be in the context so the row's color can be computed
...
bzr revid: xmo@openerp.com-20111004104848-277ajqmaud8oc8hn
2011-10-04 12:48:48 +02:00
Yogesh (OpenERP)
59ef651422
[IMP] code refactore in view editor.
...
bzr revid: ysa@tinyerp.com-20111004104550-abxppmgpbbqedv1k
2011-10-04 16:15:50 +05:30
Xavier Morel
3190884fa1
[FIX] don't perform a search_read when switching view from list to form
...
I don't remember why I did that originally, it does not seem to serve any purpose and it causes problems in case of records with binary fields
bzr revid: xmo@openerp.com-20111004102115-lz6kgyiw35vp1t99
2011-10-04 12:21:15 +02:00
Valentin Lab
63cf2019e5
[imp] more efficient selector.
...
bzr revid: valentin.lab@kalysto.org-20111004102050-http3jvu0sf78fmx
2011-10-04 12:20:50 +02:00
Fabien Meghazi
f76b2f55ae
[MERGE] ViewManager now triggers do_search() in on_mode_switch()
...
The views doesn't have to worry about the search in do_show().
They just have to listen to do_search() if they are searchable.
bzr revid: fme@openerp.com-20111004094738-at91ab6a2kkxf8bq
2011-10-04 11:47:38 +02:00
Xavier Morel
112710c783
[IMP] move fetching notebook page widget into form widgets registry, thanks Valentin
...
bzr revid: xmo@openerp.com-20111004085119-ll3x1s2r2akcm8p2
2011-10-04 10:51:19 +02:00
Yogesh (OpenERP)
5ebf129d27
[MERGE] Merge with trunk.
...
bzr revid: ysa@tinyerp.com-20111004084825-re225zrzyhvo09hi
2011-10-04 14:18:25 +05:30
Fabien Meghazi
e2b6e03c3c
[FIX] Save last search before triggering do_search
...
bzr revid: fme@openerp.com-20111004075039-n8a30wnuueiwnbwt
2011-10-04 09:50:39 +02:00
Valentin Lab
58c3f5c93e
[imp] be more coherent to send widget as usual as form template data.
...
This can be used in mobile version or other templates that would like to
subclass the main FormView class.
bzr revid: valentin.lab@kalysto.org-20111004074842-txpar1ph0utc2eqd
2011-10-04 09:48:42 +02:00
Valentin Lab
2bb8cadb4d
[imp] notebookpage is now in registry also.
...
bzr revid: valentin.lab@kalysto.org-20111004074321-b2z121y64yynt948
2011-10-04 09:43:21 +02:00
Valentin Lab
8c1e052007
[fix] use a more solid selector to get $element
...
bzr revid: valentin.lab@kalysto.org-20111004072424-uwx50578hhafe2xm
2011-10-04 09:24:24 +02:00
Vaibhav (OpenERP)
be5bef72fa
[FIX] Need to Update Pager after delete record.
...
lp bug: https://launchpad.net/bugs/849020 fixed
bzr revid: vda@tinyerp.com-20111004071945-2fixgi12ozr6wm6g
2011-10-04 12:49:45 +05:30