Xavier Morel
8c3d71ccb8
[CHG] Fix task 7536 / PR #499 differently
...
Issue was the propagation of contextual values across actions, more
precisely conserving the selected fiscal year when selecting an account
from the chart of accounts tree view: the chart of accounts tree view is
generally opened for a specific fiscal year, and it seemed sensible that
opening an account would show only the journal items for the previously
selected fiscal years rather than all items ever.
PR #649 altered action.read by tentatively evaluating the action's
context, however this has the side-effect of providing evaluated
contexts when creating or editing actions via the UI, usually breaking
them in the process (as the context at this point is basically
nonsensical for the action's purpose).
This backs out the previous fix, and creates a fix restricted to the
tree view's JS (thereby removing the feature for window actions not
invoked from a tree view).
closes #4677 , closes #4690
2015-01-14 13:28:23 +01:00
Frédéric van der Essen
a590fbaf43
[MERGE] point_of_sale: various fixes and improvements
...
bzr revid: chs@openerp.com-20130910125223-5iu0tohmourxcz64
bzr revid: fva@openerp.com-20130911155921-xyqskhjx9r9pgw9c
2013-09-11 17:59:21 +02:00
Christophe Simonis
b86eee378e
[MERGE] forward port of branch saas-1 up to revid 3743 chs@openerp.com-20130823145204-xwpnlwg0gg2259f6
...
bzr revid: chs@openerp.com-20130823145527-fz58kta3qpup4sb2
2013-08-23 16:55:27 +02:00
Martin Trigaux
78c82fc0c6
[FIX] tree views: rename variable parent-id to avoid conflicts with record fields name (eg: account.account)
...
bzr revid: mat@openerp.com-20130829124448-xr89v0gsuoukqhao
2013-08-29 14:44:48 +02:00
niv-openerp
baef37aec6
[IMP] Removed old JavaScript module loading system in the 'web' addons. Still has some retro-compatibility for other addons.
...
bzr revid: nicolas.vanhoren@openerp.com-20130806125022-bzjbtn0nqk40ak4g
2013-08-06 14:50:22 +02:00
bth-openerp
19ae69201c
[IMP]Add parent-id attribute to get childrens of that parentid and show selected parent's childrens rather than else.
...
lp bug: https://launchpad.net/bugs/1183156 fixed
bzr revid: bth@tinyerp.com-20130705121036-0pn454ts3z9wkwxr
2013-07-05 17:40:36 +05:30
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
Fabien Meghazi
21927bc249
[FIX] error in tree view during refactoring
...
bzr revid: fme@openerp.com-20121206091334-c2z76kbmibqq0jgq
2012-12-06 10:13:34 +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
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
709f2506ff
[REM] server-side eval_domain_and_context
...
bzr revid: xmo@openerp.com-20121123113932-siz0u2vp2u7z6wk2
2012-11-23 12:39:32 +01:00
Fabien Meghazi
225b0c2c2d
[MERGE] trunk
...
bzr revid: fme@openerp.com-20121108091548-enm1aftirkzngld1
2012-11-08 10:15:48 +01:00
Xavier Morel
1b8a0e66ee
[REV] nicolas.vanhoren@openerp.com-20120712074237-xugmbw19wjjoes9l
...
eagerly loaded treeviews, making heavily loaded charts of accounts
completely unusable
bzr revid: xmo@openerp.com-20121107143740-31i16933dfg4t6xk
2012-11-07 15:37:40 +01:00
Fabien Meghazi
ca6c49becf
[IMP] jQuery deferred API changes refactoring. Changed 'then's in 'done'/'fail' and 'pipe's in 'then'
...
bzr revid: fme@openerp.com-20121030140630-gf20ye8fou1ebxft
2012-10-30 15:06:30 +01:00
ggh-openerp
30069a0239
[IMP]In rpc method remove callback and modify relate code
...
bzr revid: ggh@tinyerp.com-20121003122836-36g8ijxdcjwgntjl
2012-10-03 17:58:36 +05:30
niv-openerp
5e338c591a
[IMP] made a whole-application replace of $element by $el
...
bzr revid: nicolas.vanhoren@openerp.com-20120824182707-vt91ef40ieeudwyw
2012-08-24 20:27:07 +02:00
Vidhin Mehta (OpenERP)
c6ffd20a31
[IMP]minor changes.
...
bzr revid: vme@tinyerp.com-20120703133508-33lfisga2u4tlepe
2012-07-03 19:05:08 +05:30
Vidhin Mehta (OpenERP)
f37d079da6
[IMP]expand all and render all records with at one time.
...
bzr revid: vme@tinyerp.com-20120703121914-yf9hbri57grukuff
2012-07-03 17:49:14 +05:30
Vidhin Mehta (OpenERP)
9e952c3fba
[IMP]implement css and collapse all functionality.
...
bzr revid: vme@tinyerp.com-20120702121927-wbg5pncvw4qo8cni
2012-07-02 17:49:27 +05:30
Fabien Meghazi
5d343c4e5e
[IMP] Support for @class in views definitions
...
bzr revid: fme@openerp.com-20120627151733-cgtfminjoqoxix11
2012-06-27 17:17:33 +02:00
Fabien Meghazi
ce7fb5bb37
[CHG] Ashes to ashes, dashes to underscores.
...
bzr revid: fme@openerp.com-20120627141249-o10e2htxqtio72l7
2012-06-27 16:12:49 +02:00
niv-openerp
759be357ce
[imp] remaining of refactoring
...
bzr revid: nicolas.vanhoren@openerp.com-20120417121559-e94wr8ym8sb2f7c1
2012-04-17 14:15:59 +02:00
niv-openerp
9834565c65
[imp] refactoring to allow easy usage of embedded view in any view
...
bzr revid: nicolas.vanhoren@openerp.com-20120405160315-vn2gawdesxuy53b3
2012-04-05 18:03:15 +02:00
Xavier Morel
e178185b4f
[MERGE] bug fixes form 6.1 branch
...
bzr revid: xmo@openerp.com-20120305070634-li0eloj7vhsljguu
2012-03-05 08:06:34 +01:00
Xavier Morel
739f719ad6
[UP] py.parse 0.2 to py.js 0.4 ~
...
should probably go through a testing phase (checking its result
against that of eval_domain_and_context) for a while, but apart from
that it's supposed to work.
'stdlib' stuff (datetime.date.today, datetime.timedelta,
time.localtime, time.time, time.strftime) still need to be
written. Isn't there also a dateutil.relativedeleta somewhere?
Anyway that needs to be done and the various evaluation contexts need
to be defined, but the valuator itself should mostly work.
bzr revid: xmo@openerp.com-20120227073721-nkgeiqacbzch8xev
2012-02-27 08:37:21 +01:00
Xavier Morel
404ac17e0e
[FIX] evaluate compound context from treeview before executing action
...
not actually sure if ActionManager#do_action is supposed to get a literal or a nonliteral context at this point... but ViewManager(Action) does not seem to like nonlit contexts at all so...
lp bug: https://launchpad.net/bugs/933360 fixed
bzr revid: xmo@openerp.com-20120217093541-pudzg8x4u1dhbkjf
2012-02-17 10:35:41 +01:00
Xavier Morel
b50afe59fb
[FIX] don't forget to set py.bool in context of py.eval/py.evaluate
...
py.eval really needs to automatically have builtins in its evaluation context...
lp bug: https://launchpad.net/bugs/922651 fixed
bzr revid: xmo@openerp.com-20120130085557-oqmjs0owgdrwshu0
2012-01-30 09:55:57 +01:00
Fabien Meghazi
e9ca86dd63
[IMP] More dataset refactoring
...
bzr revid: fme@openerp.com-20120110165451-pvchn668y0b1p645
2012-01-10 17:54:51 +01:00
Fabien Meghazi
652e845321
[IMP] Refactored Dataset#read_ids usage
...
bzr revid: fme@openerp.com-20120110154500-466y26mkyb947nze
2012-01-10 16:45:00 +01:00
Xavier Morel
a8286263ff
[ADD] lazy translation function, to correctly translate strings in contexts evaluated before the translation db has been loaded
...
bzr revid: xmo@openerp.com-20111216130000-56qd717d79529opy
2011-12-16 14:00:00 +01:00
Xavier Morel
265d9e1ef4
[ADD] translatable name to views
...
lp bug: https://launchpad.net/bugs/904989 fixed
bzr revid: xmo@openerp.com-20111216112054-xys9q3ap6dcatppr
2011-12-16 12:20:54 +01:00
Christophe Simonis
b3a04d317b
[FIX] minimal handling of url for tree views
...
bzr revid: chs@openerp.com-20111216105024-m39408ii7mqplhy3
2011-12-16 11:50:24 +01:00
Xavier Morel
e1190b7a8a
[FIX] correctly pass active_* context keys along when executing an action from the treeview
...
lp bug: https://launchpad.net/bugs/888397 fixed
bzr revid: xmo@openerp.com-20111118134555-tmnh06kmx81mvqhx
2011-11-18 14:45:55 +01:00
Xavier Morel
4df84629ea
[IMP] pass along the action context when requesting a tree view
...
bzr revid: xmo@openerp.com-20111118134502-t6ltgtooij0ob0bt
2011-11-18 14:45:02 +01:00
Xavier Morel
56fdc587af
[FIX} incorrect condition for not going into colors management on tree views
...
bzr revid: xmo@openerp.com-20111012111429-duldg0ko9wuq2zje
2011-10-12 13:14:29 +02:00
Xavier Morel
039e42110f
[IMP] copy colorization code from listview to treeview
...
bzr revid: xmo@openerp.com-20111011112924-ih7on411mirf5wmi
2011-10-11 13:29:24 +02:00
niv-openerp
2836c157d4
[imp] changed init of most views + the places were we init them
...
bzr revid: nicolas.vanhoren@openerp.com-20110915094944-7l229rjknptr5vcl
2011-09-15 11:49:44 +02:00
Xavier Morel
127364adca
[IMP] fix more jsdoc to not have any global extracted in jsdoc
...
bzr revid: xmo@openerp.com-20110912120604-ojzbfhjkobgoueo6
2011-09-12 14:06:04 +02:00
Fabien Meghazi
e0eec18342
[IMP] Removed global QWeb. Now instanciate a QWeb2.Engine for each session: instance.web.qweb
...
bzr revid: fme@openerp.com-20110907093743-k0224c5qjb74hxvb
2011-09-07 11:37:43 +02:00
Antony Lesuisse
02792660b8
[IMP] factorize view/load part1
...
bzr revid: al@openerp.com-20110906205438-wk1x6dx2mp103en2
2011-09-06 22:54:38 +02:00
Antony Lesuisse
bedfc48dcf
rename base into web part1
...
bzr revid: al@openerp.com-20110905110309-egx167t1ni1fzho1
2011-09-05 13:03:09 +02:00