Commit Graph

558 Commits

Author SHA1 Message Date
Martin Trigaux 42cdf0071e [FIX] web: keep pager in popup list view
When an action opens records in list (or other) mode in a popup (target:new), the pager should be kept. It can be removed in form view.
Fixes #742
2014-11-04 17:25:21 +01:00
Olivier Dony c0d838ddb3 [IMP] web: extra comments to explain commit 57b4860
Added some cryptic comments so we remember a bit
why we have a complicated dance with on_close.
Basically we do not want to reload the
original form view until the last popup is closed,
in the case where several wizard (steps) are opened
one after the other.
2014-09-02 19:44:21 +02:00
Denis Ledoux 57b48602fb [FIX] web: chain close action on wizard confirm
If a wizard has several steps, or laucnh a second wizard, the view from where has been loaded the initial wizard is finally reloaded
2014-09-02 17:32:37 +02:00
Denis Ledoux 767d2ea9a6 [FIX] web: on refresh, do search_read with fields passed 2014-07-28 19:02:11 +02:00
Anaël Closson 680f9554b4 [FIX] web: reload after wizard when record has been removed cause exception
If an action unlink the current records (e.g. unreconcile on account.move.reconcile), trigger history_back to avoid errors when trying to reload inexistant record (opw 607883)
This is a partial backport of saas-4 code (rev c0db6ae, 162ad1c) and should not be forward ported.
2014-07-22 13:18:00 +02:00
Denis Ledoux f55e4a5e14 [FIX] web: no switch_mode trigger if not switched
The switch mode event was triggered even if the view was not actually switched
This leaded to inconsistencies, like adding the view in the breadcrumb history, while the switch did not happen
2014-06-27 13:03:52 +02:00
Martin Trigaux dd03491df9 sync with 7.0
bzr revid: mat@openerp.com-20140425113555-nkjxldq61io6kvdo
2014-04-25 13:35:55 +02:00
Martin Trigaux 10d3dd4ec3 [FIX] update to latest version saas code with updated underscore lib
bzr revid: mat@openerp.com-20140424160833-p0uf6zzst0pnj3i7
2014-04-24 18:08:33 +02:00
Cecile Tonglet 5ef7c4a6a1 [FIX] getParent() js error when clicking to fast on menu items that load a list view after loading a form view
bzr revid: cto@openerp.com-20140217104920-fu8hcqd51bh7qnrp
2014-02-17 11:49:20 +01:00
Martin Trigaux 23de024718 [IMP] attachement: remove unnecessary redraw added at rev 4128 and change message to be the same than in mail
bzr revid: mat@openerp.com-20140131102836-e89xo4nrwk32uij8
2014-01-31 11:28:36 +01:00
Martin Trigaux 3a07e0a012 [FIX] attachement: display error message (removed inexistant template) and redraw the window (to avoid getting stucked)
bzr revid: mat@openerp.com-20140129141438-3883hhzdiwyoo19t
2014-01-29 15:14:38 +01:00
Mohammed Shekha (OpenERP) 3032f36b88 [FIX]Web: Refixed the issue of context propagation, also removed the view references of current dataset.
bzr revid: msh@openerp.com-20131226071228-4qfd2qcz1b5rfji4
2013-12-26 12:42:28 +05:30
Mohammed Shekha (OpenERP) 1496d7a77c [FIX]Web: Refixed the issue of context propagation, we must not remove search_default and group_bys of current action context, previous fix was removing action context, improved the fix, also added pairs and object function for sake of simplicity.
bzr revid: msh@openerp.com-20131224135526-55b4cd3qyt0j5ugi
2013-12-24 19:25:26 +05:30
Mohammed Shekha (OpenERP) 58d1704162 [FIX]Web: Refixed the issue of context propagation, we must not remove search_default and group_bys of current action context, previous fix was removing action context, improved the fix.
bzr revid: msh@openerp.com-20131224112403-98cgl6lit285kstw
2013-12-24 16:54:03 +05:30
Mohammed Shekha (OpenERP) a4bca7c775 [FIX]Web: Fixed the issue of group and search_default propagated in context to next action while executing button action.
bzr revid: msh@openerp.com-20131203084821-0amelfix4bji3wr6
2013-12-03 14:18:21 +05:30
Denis Ledoux 1f6bf43079 [FIX]web: views.js & coresetup.js, ir_actions_report_xml and get_file special case for iOS devices, which do not allow iframe use the way we do it
bzr revid: dle@openerp.com-20130621124449-e3qyz7m7yfvhta1d
2013-06-21 14:44:49 +02:00
Christophe Matthieu 42ad806345 [FIX] needaction: issue 592134 'Uncaught TypeError: Cannot call method 'do_reload_needaction' of undefined'
bzr revid: chm@openerp.com-20130513112202-32sko79k23v5seq2
2013-05-13 13:22:02 +02:00
Christophe Matthieu 027bf19a7a [IMP] ir_ui_menu: trunk to 7.0 dynamic counters
bzr revid: chm@openerp.com-20130417133438-1g8h8hezbn1vtjj1
2013-04-17 15:34:38 +02:00
niv-openerp 13863aaa99 [FIX] deferred problems when clicking too quickly on some menu items
lp bug: https://launchpad.net/bugs/1100280 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130322162310-135hd0hoak8k5oq6
2013-03-22 17:23:10 +01:00
niv-openerp a6a8d71a0e [FIX] calls to fields_view_get do not pass the correct context, fails in o2m
lp bug: https://launchpad.net/bugs/1091204 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130318174503-7xp04ccghdbqfvrl
2013-03-18 18:45:03 +01:00
Fabien Meghazi 1bc43748ee [ADD] `hide_breadcrumb` option
bzr revid: fme@openerp.com-20130314105213-13dtn26c773qsu7a
2013-03-14 11:52:13 +01:00
Fabien Meghazi 2084065daa [FIX] xml2str: Do not keep html void tags opened
bzr revid: fme@openerp.com-20130306144024-gjuyq6fsrvol12x2
2013-03-06 15:40:24 +01:00
Xavier Morel f12b4b2b9e [IMP] jsdoc annotations
bzr revid: xmo@openerp.com-20130305091951-z2p0wi7w7p6b93y0
2013-03-05 10:19:51 +01:00
Fabien Meghazi 94b1c039ce [MERGE] [FIX] Unsupported self closing tags shall not reach FormRenderingEngine
lp bug: https://launchpad.net/bugs/1130650 fixed

bzr revid: fme@openerp.com-20130221183839-wkgla6ldxx96sxi2
2013-02-21 19:38:39 +01:00
Fabien Meghazi 3467d27261 [FIX] Unsupported self closing tags shall not reach FormRenderingEngine
bzr revid: fme@openerp.com-20130221172327-0dydqn548av5vkqo
2013-02-21 18:23:27 +01:00
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