Commit Graph

3100 Commits

Author SHA1 Message Date
Fabien Meghazi a2852d5774 [MERGE] trunk
bzr revid: fme@openerp.com-20121105151914-tcxu1hn324cbts3l
2012-11-05 16:19:14 +01:00
Fabien Meghazi 6f57449dcd [IMP] Client actions now takes the action as argument. Use action.params for options.
bzr revid: fme@openerp.com-20121105130053-6gdklt6ok4lst6ba
2012-11-05 14:00:53 +01:00
Fabien Pinckaers c2913a5cc0 [MERGE] addons 16
bzr revid: fp@openerp.com-20121102161101-hynn88pft6ipygy5
2012-11-02 17:11:01 +01:00
Xavier Morel 72a447bd95 [FIX] tabbing out of an m2o which opens some sort of weird dialog thing while in an editable o2m
The tab blurs the current fields, focuses the next one, then the
dialog thing opens and steals the focus from the *next* field (not the
one which created it), which thus triggers *blur* ultimately blurring
(and saving) the row being edited.

Add a trigger call in some random place which seems to make things not
fail.

bzr revid: xmo@openerp.com-20121102141348-5au6sarq0mw2ct67
2012-11-02 15:13:48 +01:00
Divyesh Makwana (Open ERP) ede1da0a64 [Merge] Merge with trunk.
bzr revid: mdi@tinyerp.com-20121102104628-qcf3cgpqgecbqml1
2012-11-02 16:16:28 +05:30
niv-openerp 14b0e83467 [IMP] modified do_onchange method in form view to be asynchronous
bzr revid: nicolas.vanhoren@openerp.com-20121031150546-ptpqlxixlfmbzbm6
2012-10-31 16:05:46 +01:00
niv-openerp 00fc09890b temporary revert of 3331
bzr revid: nicolas.vanhoren@openerp.com-20121031150324-dxlhh3wxhob8numi
2012-10-31 16:03:24 +01:00
Xavier Morel 2295ab0d5a [FIX] dataset methods to get their request context through Dataset#get_context
if they go directly through the embedded model, child classes to
DataSet don't get the occasion to override the generation/fetching of
the context, and e.g. relational fields thus don't work correctly (as
their field context isn't forwarded).

bzr revid: xmo@openerp.com-20121031143723-j4q0t8cbzttela1r
2012-10-31 15:37:23 +01:00
niv-openerp 1622caae27 Changed the onchange handling to be async
bzr revid: nicolas.vanhoren@openerp.com-20121031143036-eventomyjpwgalxb
2012-10-31 15:30:36 +01:00
niv-openerp 95131d6fa9 [merge trunk]
bzr revid: nicolas.vanhoren@openerp.com-20121031141717-5qkawv50b0w2kdry
2012-10-31 15:17:17 +01:00
Xavier Morel 62f4d999f4 [IMP] positioning of edition fields within a scrolled dialog
they still don't work every time, but should be slightly more reliable

bzr revid: xmo@openerp.com-20121031140718-j3e4r9djyq34rqu7
2012-10-31 15:07:18 +01:00
Xavier Morel b6af4f22cb [FIX] [ESC] key closing dialogs when editing a list
bzr revid: xmo@openerp.com-20121031140641-l1nf68jxiye8fyi8
2012-10-31 15:06:41 +01:00
Xavier Morel 2ea22c5234 [FIX] first field of editable list o2ms not showing their content
Bug introduced in xmo@openerp.com-20121019100725-izotstggoxpfjk6k (and
xmo@openerp.com-20121022103935-78bm40gfotpt1ds6 to the extent that in
the former the cell would disappear altogether and in the latter its
content would be blanked out).

As it was the last 15 times I made this mistake, adding a "!" before
an `instanceof` call and forgetting parens just negates the object
(first argument to `instanceof`), not the whole expression, and thus
the expression is *always false* (the result of !a is a `boolean`
primitive, and `primitive instanceof ObjectType` is always false)

bzr revid: xmo@openerp.com-20121031103233-9qw40l6m2vy0l3m1
2012-10-31 11:32:33 +01:00
niv-openerp 8a12c46307 [IMP] added commit_value()
bzr revid: nicolas.vanhoren@openerp.com-20121030155313-g2cx14h4rl6zks6z
2012-10-30 16:53:13 +01:00
Fabien Meghazi ea570236a6 [MERGE] trunk
bzr revid: fme@openerp.com-20121029100055-3h40w0egnzlwq7o4
2012-10-29 11:00:55 +01:00
Fabien Pinckaers 11a8170b56 [IMP] html fields with 100%
bzr revid: fp@tinyerp.com-20121026164327-xh3gwp96lpysq9hm
2012-10-26 18:43:27 +02:00
niv-openerp f2c5b7f599 [IMP] avoid propagation of context when clicking on a readonly m2o (could cause problems)
bzr revid: nicolas.vanhoren@openerp.com-20121026100011-inuk0tzz5cxw7dtr
2012-10-26 12:00:11 +02:00
niv-openerp d87a8c05fd [IMP] added some utils to qweb context
bzr revid: nicolas.vanhoren@openerp.com-20121026095436-3jyci78mgew9uz35
2012-10-26 11:54:36 +02:00
Fabien Meghazi eccb14b4e3 [REM] Removed CalendarFormDialog and replace it with FormOpenPopup
bzr revid: fme@openerp.com-20121025141140-2ab8pwwbc7kg3729
2012-10-25 16:11:40 +02:00
niv-openerp 098b23d76b [FIX] wrong refactoring about do_switch_view
bzr revid: nicolas.vanhoren@openerp.com-20121025092814-d3tpt9lfkn6b9w80
2012-10-25 11:28:14 +02:00
niv-openerp d41219749a [FIX] pager in m2m does not behave correctly
bzr revid: nicolas.vanhoren@openerp.com-20121025091132-zbja03rszs6jiavg
2012-10-25 11:11:32 +02:00
niv-openerp 1daf770604 [IMP] Added a way to create something in a m2m
bzr revid: nicolas.vanhoren@openerp.com-20121025083509-7b0vybaa4qgyg0g2
2012-10-25 10:35:09 +02:00
niv-openerp 3fb6204e5f [IMP] remove unused code in form view
bzr revid: nicolas.vanhoren@openerp.com-20121025074935-6expqc0stsvbo1ft
2012-10-25 09:49:35 +02:00
Purnendu Singh (OpenERP) abd1258be6 [MERGE]
bzr revid: psi@tinyerp.com-20121025061549-pfruq62jmmx6qcar
2012-10-25 11:45:49 +05:30
niv-openerp cdb0601417 got it
bzr revid: nicolas.vanhoren@openerp.com-20121023125957-lfs7yogbygw2uz4a
2012-10-23 14:59:57 +02:00
niv-openerp 94bc60b310 reverted changes to o2m
bzr revid: nicolas.vanhoren@openerp.com-20121023125213-d7nc1282zmbvk72a
2012-10-23 14:52:13 +02:00
niv-openerp bb22e231ff merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20121023124321-cmd2jtnslyk30mr7
2012-10-23 14:43:21 +02:00
niv-openerp 8d92a33443 [FIX] corrected the field reference
bzr revid: nicolas.vanhoren@openerp.com-20121023124042-u5yfvylxy7a2clfv
2012-10-23 14:40:42 +02:00
Fabien Meghazi f50c720f3e [ADD] Add menu_id in url state
bzr revid: fme@openerp.com-20121023122833-l9a520bkpe2yty2r
2012-10-23 14:28:33 +02:00
Purnendu Singh (OpenERP) a10c7b882b [MERGE] merge with main web
bzr revid: psi@tinyerp.com-20121023100528-w5z1yf2yj6cq1edj
2012-10-23 15:35:28 +05:30
Fabien Meghazi 957c187bb1 [IMP] Make 'oe_list_cannot_*' css classes generic
bzr revid: fme@openerp.com-20121023095559-63exp0dyf5zsd3qw
2012-10-23 11:55:59 +02:00
Xavier Morel 9bf9ca7a67 [FIX] list view to use View#load_view rather than its own implementation thereof
bzr revid: xmo@openerp.com-20121023085329-y01e1u77vfz2n7a9
2012-10-23 10:53:29 +02:00
Xavier Morel 41fba390b2 [IMP] cleanup View.load_view a bit
and remove unused variables in ViewManagerAction#switch_view

bzr revid: xmo@openerp.com-20121023085220-h7lwft0nilng1q4y
2012-10-23 10:52:20 +02:00
Fabien Meghazi 6280e223be [REV] Not my fault afterall.
bzr revid: fme@openerp.com-20121022161611-d4gik77mk1fvtojb
2012-10-22 18:16:11 +02:00
niv-openerp 8e7ec09749 m
bzr revid: nicolas.vanhoren@openerp.com-20121022161516-4g9wg1a3fv0r7t12
2012-10-22 18:15:16 +02:00
niv-openerp 3b5b24b72e [FIX] m2o switches correctly its button
bzr revid: nicolas.vanhoren@openerp.com-20121022161426-1oqwa8e3n6kh7pba
2012-10-22 18:14:26 +02:00
Xavier Morel 6972b34029 [REM] stuff in list view, may or may not still work. It's all fme's fault anyway
FME MA TUER

bzr revid: xmo@openerp.com-20121022160134-yaze6n43h98c193t
2012-10-22 18:01:34 +02:00
niv-openerp db54c70650 [FIX] resolved problem with buttons in views, also removed default Close button in wizards
bzr revid: nicolas.vanhoren@openerp.com-20121022152257-yxcz0j73b4azeqr1
2012-10-22 17:22:57 +02:00
niv-openerp 1da06f3bfe [FIX] better fix for previous m2m kanban problem
bzr revid: nicolas.vanhoren@openerp.com-20121022144021-h1oqgb0d0h6aepfl
2012-10-22 16:40:21 +02:00
Fabien Meghazi a1364bde20 [FIX] m2m kanban use it's own value as is in order to fill dataset.ids
bzr revid: fme@openerp.com-20121022142459-9so19ypfwhxwhuc3
2012-10-22 16:24:59 +02:00
niv-openerp c6eaa8beb8 [FIX] problem in read_group, caused an exception "cannot read 'lang' in undefined" in a lot of views
bzr revid: nicolas.vanhoren@openerp.com-20121022124935-mxfzx2wg431bqhm9
2012-10-22 14:49:35 +02:00
Fabien Meghazi b631b13742 [FIX] Forgot two occurencies during do_action() refactoring
refactoring was done in Revision: 3261 revid:fme@openerp.com-20121017145548-oc9s6oadhwzbr78m

bzr revid: fme@openerp.com-20121022124135-ifaj0mm1vd2zjxyo
2012-10-22 14:41:35 +02:00
Xavier Morel 8a3a92bbfc [IMP] readonly sortable o2m
The making of the column invisible would happen after the header was
rendered (?), and the header would not be re-rendered afterwards. So
there would be a missing chunk of table. Make the cells invisible
instead. It's all going to be changed looks-wise anyway so meh.

bzr revid: xmo@openerp.com-20121022103935-78bm40gfotpt1ds6
2012-10-22 12:39:35 +02:00
niv-openerp 268d1856cd [FIX] problem with exec_workflow in dataset: does not return the expected result format
bzr revid: nicolas.vanhoren@openerp.com-20121019165211-n6oh82sv4uc6jfsg
2012-10-19 18:52:11 +02:00
niv-openerp 5743dca47d [IMP] Remove some useless code
bzr revid: nicolas.vanhoren@openerp.com-20121019133851-xqgt8vuktawy58gm
2012-10-19 15:38:51 +02:00
niv-openerp d715d39440 [FIX] Problem with wizards: when the dialog is closed the view is not destroyed
bzr revid: nicolas.vanhoren@openerp.com-20121019132827-y3tp1298w1h359kh
2012-10-19 15:28:27 +02:00
vta vta@openerp.com 877957819e [FIX] Fixed a forgotten add(), SearchView#on_invalid().
bzr revid: vta@openerp.com-20121019111558-zu8hzh7u61srew2e
2012-10-19 13:15:58 +02:00
Xavier Morel a060b1400b [FIX] SelectCreatePopup: append search view at the right position in the DOM
Old error had added the list and the search at the same place of the
popup, leading to strange interactions as the search view is floated
to the right: in Firefox the search view would be hidden behind the
list (completely), in Chrome the search view would be visible but
"overlaid" with a transparent section of the list, and (tentative)
clicks on the search view would have no effect as they'd actually be
done on and in the list view.

bzr revid: xmo@openerp.com-20121019110804-3kg91rro91isp771
2012-10-19 13:08:04 +02:00
Xavier Morel 3be621b9bc [IMP] hack-ish hack to make reorderable lists non-reorderable in readonly o2m
* Technically this is done by the the setup_reseq override

* the filtering added to FieldOne2Many is for UI improvement

bzr revid: xmo@openerp.com-20121019100725-izotstggoxpfjk6k
2012-10-19 12:07:25 +02:00
Hiral Patel (OpenERP) 36cc003dc8 [IMP] Remove Uncaught TypeError
bzr revid: hip@tinyerp.com-20121019073132-0mk9ty7rttcy0c59
2012-10-19 13:01:32 +05:30