Commit Graph

533 Commits

Author SHA1 Message Date
Christophe Simonis 544c8f2dd7 [MERGE] correct hashchange check of current_state to do not coerce values. only push active_ids in state if relevant
bzr revid: chs@openerp.com-20130220174455-gsobu19naslo1h73
2013-02-20 18:44:55 +01:00
Vidhin Mehta 4212725417 [FIX]select accurate element with use of 'child selector'.
bzr revid: vme@tinyerp.com-20130220132634-6ycdntomequypxfw
2013-02-20 18:56:34 +05:30
Vidhin Mehta ca912e0975 [MERGE]7.0
bzr revid: vme@tinyerp.com-20130220131956-hrnbak55i9qdpe4y
2013-02-20 18:49:56 +05:30
Fabien Meghazi ee4bc76f14 [IMP] Do not push active_ids in state if active_ids == [active_id]
bzr revid: fme@openerp.com-20130220091226-akczbmurjvn5jzjl
2013-02-20 10:12:26 +01:00
Fabien Meghazi 364ea001f9 [FIX] stringify states (patch from chs)
bzr revid: fme@openerp.com-20130220084437-cyb0pi8nw71bl5mx
2013-02-20 09:44:37 +01:00
Fabien Meghazi f559b97ce9 [FIX] Fixed mysterious bug about active_ids in state
This is a temporary fix, I need more time to check the issue.

bzr revid: fme@openerp.com-20130219181519-a1zdkr2y8a43dqgb
2013-02-19 19:15:19 +01:00
Fabien Meghazi 98a9bb5376 [FIX] ViewManagerAction's do_create_view() does not pipe _super's deferred.
bzr revid: fme@openerp.com-20130218114911-wpack9pfkr3pn0a2
2013-02-18 12:49:11 +01:00
Fabien Meghazi 47959a6889 [END] This is the end of the world
bzr revid: fme@openerp.com-20130212133025-544phlyp83gdabu6
2013-02-12 14:30:25 +01:00
Fabien Meghazi ef7978efde [FIX] support virtual ids
bzr revid: fme@openerp.com-20130212131852-xuq4otkb9ooloc9u
2013-02-12 14:18:52 +01:00
Fabien Meghazi 8d85375835 [IMP] Improved code and doc
bzr revid: fme@openerp.com-20130212115740-riqecuhb1zq22dkq
2013-02-12 12:57:40 +01:00
Fabien Meghazi 8d748498fb [FIX] active_ids list items should be numeric
bzr revid: fme@openerp.com-20130211144241-zvygwtgvsk17szo4
2013-02-11 15:42:41 +01:00
Fabien Meghazi cfcc0e2205 [FIX] use active_id in url states
bzr revid: fme@openerp.com-20130211141056-zjn7xy034r2331gp
2013-02-11 15:10:56 +01:00
Fabien Meghazi 862882da33 [IMP] Also check the presence of active_ids
bzr revid: fme@openerp.com-20130205120950-f4lwe2ng3ktwr033
2013-02-05 13:09:50 +01:00
Fabien Meghazi 87368f7672 [FIX] When active_id is in context, disable search default custom filters
bzr revid: fme@openerp.com-20130205104326-rab6gx4w51hgjbkb
2013-02-05 11:43:26 +01:00
Fabien Meghazi c9f2a86be5 [FIX] Calendar popup form view_id is not honored. Default form view is used instead.
Added instance.web.ViewManager#get_view_id(view_type)
Fetch the title of the popup from the parent if it's a ViewManagerAction,
    otherwise, use the current's view title.

bzr revid: fme@openerp.com-20130204124348-p79drjm72vt2j2ty
2013-02-04 13:43:48 +01:00
Vidhin Mehta 0709ca97e8 [FIX]View not redering @ proper position.
bzr revid: vme@tinyerp.com-20130122055856-iby255hebyxb72rs
2013-01-22 11:28:56 +05:30
Fabien Meghazi 8c1f9dc490 [FIX] Fix one custom filter bug (only scratch the surface of this problem)
bzr revid: fme@openerp.com-20130114093014-5sv1sfk5u2uemwlr
2013-01-14 10:30:14 +01:00
Olivier Dony 407e6e66e6 [FIX] English review: improve view selector tooltips + make translatable
bzr revid: odo@openerp.com-20121221113657-omenasuur2bqj7qy
2012-12-21 12:36:57 +01:00
niv-openerp 082ca41f1c [FIX] when clicking too fast on root menu items, exceptions are thrown randomly
lp bug: https://launchpad.net/bugs/1088924 fixed

bzr revid: nicolas.vanhoren@openerp.com-20121213143849-4n3qppvu9g9tarae
2012-12-13 15:38:49 +01:00
niv-openerp 906ceba948 [IMP] lot of small improvements to better detect when a view has finished loading
bzr revid: nicolas.vanhoren@openerp.com-20121213140914-8d1u01h17r2x4fpu
2012-12-13 15:09:14 +01:00
Christophe Matthieu 389b865d54 [MERGE] catch and display error when there are an error in an attachment. Add title with creator and date for attachments on the sidebar.
bzr revid: chm@openerp.com-20121211152455-nrx74yqs0ui1hsmr
2012-12-11 16:24:55 +01:00
niv-openerp 526c856f7e [FIX] problem in View class, the is_action_enabled() method assumed the existence of the fields_view attribute despite the fact that class never setted that attribute
bzr revid: nicolas.vanhoren@openerp.com-20121210153646-ulbsja1mt9re25wz
2012-12-10 16:36:46 +01:00
Christophe Matthieu 27bc9ed5fa [IMP] mail: fix display message attachment error
bzr revid: chm@openerp.com-20121207091134-9v0ce6o3dp8gca7l
2012-12-07 10:11:34 +01:00
Christophe Matthieu 94c9801ac7 [MERGE] from trunk
bzr revid: chm@openerp.com-20121207081026-3edlt0698csc6gk8
2012-12-07 09:10:26 +01:00
Christophe Matthieu 98e87a51ae [IMP] attachment: sidebar rendering of tipsy in html mode, and error fix
bzr revid: chm@openerp.com-20121207080946-f7zr853hvdhdrsk0
2012-12-07 09:09:46 +01:00
Fabien Meghazi 3dbed3b90d [MERGE] Removed fields_view_get from web controller. Replaced by instance.web.fields_view_get
bzr revid: fme@openerp.com-20121206161749-0cx1xychzqe96fb2
2012-12-06 17:17:49 +01:00
Fabien Meghazi 4c66504f78 [STEP BACK] One step back in the cleaning process. Maybe for v8.
bzr revid: fme@openerp.com-20121205160536-p9dm7zdxq2qb9mqs
2012-12-05 17:05:36 +01:00
Antony Lesuisse 5c53674c2e [FIX] views remove unused session property
bzr revid: al@openerp.com-20121206014334-8a11s1iqysq6v9e1
2012-12-06 02:43:34 +01:00
Fabien Meghazi c867595eed [FIX] Strip whitespace for jsonified fvg.arch
bzr revid: fme@openerp.com-20121204170230-k074c181dt0x920f
2012-12-04 18:02:30 +01:00
Fabien Meghazi 58b44d5082 [IMP] Removed fields_view_get from controllers. Add a helper client side.
bzr revid: fme@openerp.com-20121204163948-pctxvy55w34e1pg9
2012-12-04 17:39:48 +01:00
vta vta@openerp.com dd539643e6 [FIX] Added the context of the action when evaluating the domain.
bzr revid: vta@openerp.com-20121204093326-plc4pf4qszok1rw6
2012-12-04 10:33:26 +01:00
Christophe Matthieu a96ef73523 [FIX] view: Sidebar attachment, check if empty create or modify
bzr revid: chm@openerp.com-20121130161454-4pujkohpzvvb1zmg
2012-11-30 17:14:54 +01:00
Christophe Matthieu ae74e57d84 [IMP] web view: add complete name file in the title and cut label after 25 chars, for Sidebar
bzr revid: chm@openerp.com-20121130115625-i776h334c3ym1mw9
2012-11-30 12:56:25 +01:00
Christophe Matthieu c82bc229c6 [IMP] web view: Add title with creator and date for attachments on the sidebar.
bzr revid: chm@openerp.com-20121130114123-nwer85s4y6vs6438
2012-11-30 12:41:23 +01:00
tsabi 76ca47d4fd [MERGE] trunk
bzr revid: csaba.toth@i3rendszerhaz.hu-20121129114132-gfe3sn1p5t0mzofm
2012-11-29 12:41:32 +01:00
Xavier Morel bf29cecca3 [FIX] if an action descriptor is precisely ``false``, treat it as an ir_action_close ~/projects/tiny/web/current
Can be seen in e.g. Quotations > [More sidebar] > Sale: Mark Unread:
it's a server action which just returns ``False``, the handler
resulted in a noop but also produced an error message in the browser
console ("No type for action false").

Convert ``false`` (identity-tested) into an ir_action_close in
do_action, before actually mucking into the action descriptor.

bzr revid: xmo@openerp.com-20121129101137-g01nd49hnlg2odfs
2012-11-29 11:11:37 +01:00
Xavier Morel e00cb36f41 [MERGE] from trunk
bzr revid: xmo@openerp.com-20121129091038-0fexjx8o12drjbga
2012-11-29 10:10:38 +01:00
tsabi 92e87f7e6f Mark strings to be translated.
Maybe some missed, but most of them marked.

bzr revid: tsabi-20121129002200-20tppzvh0ap5tfwe
2012-11-29 01:22:00 +01:00
Xavier Morel 8431c69016 [FIX] sidebar activation: put original context before action context in eval sequence
bzr revid: xmo@openerp.com-20121128161311-u3e3oqhutt043mzq
2012-11-28 17:13:11 +01:00
Xavier Morel 628ed49fff [FIX] correctly return deferreds from all action type handlers
bzr revid: xmo@openerp.com-20121128152524-xrh6zqty0huqb732
2012-11-28 16:25:24 +01:00
Xavier Morel 5aa800ef42 [IMP] simplify action handlers: no need to eval_domains_and_contexts as do_action will evaluate them if and when needed
bzr revid: xmo@openerp.com-20121127154121-rsr4hxgmwmdrpdt7
2012-11-27 16:41:21 +01:00
Vishmita 71c8b58581 [FIX]Fixed the issue of raised exception not displayed when adding attachment to object if create of ir.attachment raises exception.
bzr revid: vja@tinyerp.com-20121127100210-krziqgqh1t1063ry
2012-11-27 15:32:10 +05:30
Xavier Morel 4a5cb1ebc4 [REM] EVALPOCALYPSE PART 2: no more python-side eval
trigger an error if a nonliteral context is pushed to the server (through a new object_hook)

bzr revid: xmo@openerp.com-20121126140525-ni2x5m56upss610b
2012-11-26 15:05:25 +01:00
Xavier Morel eb9a1c7d55 [REM] EVALPOCALYPSE PART ONE
bzr revid: xmo@openerp.com-20121126105450-0f6xowd3dhj4jmbl
2012-11-26 11:54:50 +01:00
Xavier Morel 709f2506ff [REM] server-side eval_domain_and_context
bzr revid: xmo@openerp.com-20121123113932-siz0u2vp2u7z6wk2
2012-11-23 12:39:32 +01:00
niv-openerp e1d6502f7c [FIX] problem with sidebar_eval_context
bzr revid: nicolas.vanhoren@openerp.com-20121122094347-q8evcsk7np2ja8xb
2012-11-22 10:43:47 +01:00
Fabien Meghazi c0bb84a3fe [IMP] Move 'Set Defaults' from sidebar's 'More' menu to advanced debug box
bzr revid: fme@openerp.com-20121122090754-d8hl9c7jtobgstxj
2012-11-22 10:07:54 +01:00
Fabien Meghazi c9de04d796 [FIX] Fixed wrong width computing in Dialog. Removed extraneous call to init_dialog(). Remove Dialog#$buttons dom manipulation hack.
bzr revid: fme@openerp.com-20121120141807-pvdryoib39eqh1u7
2012-11-20 15:18:07 +01:00
niv-openerp ade1a5df87 [IMP] allows to specify a specific eval domain in /web/action/load
bzr revid: nicolas.vanhoren@openerp.com-20121120110748-5idnflvmxx0jibwe
2012-11-20 12:07:48 +01:00
niv-openerp 999c0b2cab [FIX] Modified behavior when we click on an action in the 'More' menu.
Since revision 1517, when using the sidebar from a form view, it merged all the fields of the form view in the context of the action.
It was modified to avoid that context pollution, now it only uses those fields to evaluate the context of that action. So it allows
specifying contexts like "{'invoice_id': invoice_id}", but invoice_id will not be propagated any more to the new action context if not
explicitely specified.

bzr revid: nicolas.vanhoren@openerp.com-20121120100620-ig4e02uctysk7oj8
2012-11-20 11:06:20 +01:00