Simon Lejeune
2870af3b49
[FIX] navbar cache: do not use ormcache as it does not handle kwargs. instead, only get the root menu_ids in rendering context
2014-06-30 19:45:12 +02:00
Simon Lejeune
959caf2596
[IMP] cache the load_menus method to improve website performances
2014-06-30 15:32:53 +02:00
Simon Lejeune
195fa93168
[MERGE] backend front end integration
...
Render the top-menu (backend menu or frontend editbar) server-side.
Use Fontawesome icons (mail, timezone, chat).
Refactor website widgets, split Website.editorBarin editorbar, ace, editorbar- content, editorbarCustomize.
2014-06-27 11:03:34 +02:00
Jaydeep Barot
026e38b48f
[REM] Unnecessary `size` parameters on char fields
2014-06-25 17:13:43 +02:00
tpa-odoo
f7fe753d07
[IMP] unlink ir.action.todo which are related to actions which will be deleted.
2014-05-20 17:00:15 +05:30
Antony Lesuisse
31a8dc36e5
[REM] shortcuts, deprecated by bookmarks
...
bzr revid: al@openerp.com-20131006132424-bpd8w0zzuf42s55l
2013-10-06 15:24:24 +02:00
Olivier Dony
54ad990e48
[MERGE] Forward-port of 7.0 bugfixes up to rev.4970
...
revision-id: odo@openerp.com-20130507104025-em6w03pcxeq92az9
bzr revid: odo@openerp.com-20130507112024-p3cukmwp7d8xm2e0
2013-05-07 13:20:24 +02:00
Olivier Dony
82e4bb826a
[FIX] ir.ui.menu: safer eval of action contexts when computing needaction
...
Unchecked eval of a context may fail for various reasons,
such as the use of client-side variables like `active_id`
bzr revid: odo@openerp.com-20130507104025-em6w03pcxeq92az9
2013-05-07 12:40:25 +02:00
Olivier Dony
da8670411a
[MERGE] Forward-port of 7.0 fixes up to rev.4968
...
revision-id: launchpad_translations_on_behalf_of_openerp-20130506063526-tj5l5h3fger6llmw
bzr revid: odo@openerp.com-20130506132823-zn54tcevfltkgjnf
2013-05-06 15:28:23 +02:00
Thibault Delavallée
5f76e998a5
[CLEAN] cleaning: set(list), use directly a set
...
bzr revid: tde@openerp.com-20130425142801-gwk9xsnhb3r20jji
2013-04-25 16:28:01 +02:00
Christophe Matthieu
23ec2a7383
[IMP] ir_ui_menu: trunk to 7.0 dynamic counters
...
bzr revid: chm@openerp.com-20130417132339-1d1xkb1lriuvkx9m
2013-04-17 15:23:39 +02:00
Raphael Collet
09be864f1d
[IMP] replace all tests like 'registry.get(X)' by 'X in registry' where X is non static
...
bzr revid: rco@openerp.com-20130329140723-dnrl02saky570xg0
2013-03-29 15:07:23 +01:00
Antonin Bourguignon
ff25f7a3d4
[IMP] use a var to store the menuitem separator
...
makes it easier to modify
makes it possible to import anywhere
bzr revid: abo@openerp.com-20130116171411-iugmyk4vqjewko2z
2013-01-16 18:14:11 +01:00
Cecile Tonglet
ad8b76de53
[MERGE] From trunk (second time)
...
bzr revid: cto@openerp.com-20121217144753-1rboqdw01h8yrehj
2012-12-17 15:47:53 +01:00
Cecile Tonglet
5179507e22
[MERGE] Branch updated with trunk
...
bzr revid: cto@openerp.com-20121217125902-idtlh4ztyah17bdn
2012-12-17 13:59:02 +01:00
Raphael Collet
3040114651
[MERGE] trunk-style-improvements-xmo (Python stylistic improvement)
...
bzr revid: rco@openerp.com-20121217110150-4ijt04ic17miktq7
2012-12-17 12:01:50 +01:00
Xavier Morel
5d3d3868f6
[IMP] use augmented assignments
...
bzr revid: xmo@openerp.com-20121214131924-bpl48ht21ic4g34b
2012-12-14 14:19:24 +01:00
Xavier Morel
a5cb8460c6
[FIX] __init__ can't return values
...
bzr revid: xmo@openerp.com-20121214122525-bd5207viiz4vqi8x
2012-12-14 13:25:25 +01:00
Xavier Morel
4cb3685f70
[IMP] compare to None by identity
...
bzr revid: xmo@openerp.com-20121214121638-6k5h0ztg94i4f5t6
2012-12-14 13:16:38 +01:00
Olivier Dony
1565e8c708
[IMP] ir.ui.menu: deleting a menu should orphan its children w/o corrupting the `parent_store` struct: test + fix
...
ir.ui.menu was recently changed to use _parent_store,
which precludes using ondelete=set null for the parent_id
column. We nevertheless need to be certain that menus
can always be deleted but *never* cascade-deleted,
due the possible presence of user-created menus.
Overriding menu.unlink() is therefore necessary,
and care must be taken to bypass the default menu
visibility (using the `ir.ui.menu.full_list` context
flag while doing so)
bzr revid: odo@openerp.com-20121213145821-u2ipdvffu00rsgdg
2012-12-13 15:58:21 +01:00
Olivier Dony
90c0eea54a
[IMP] ir.ui.menu: enable `parent_store` to allow using the `child_of` operator efficiently when loading the menu hierarchy
...
The menu loading logic in openerp-web was adapted to use
`child_of`.
bzr revid: odo@openerp.com-20121212210451-40ew3lp5wgps64gy
2012-12-12 22:04:51 +01:00
Olivier Dony
e493303e18
[REVERT] Undo r.4617, introduced a bug in menu hierarchy retrieval
...
Browsing the menu data as super-user is not correct
because when we load the children menu the ORM
recursively calls menu.search(), this time as
admin, hence the groups of the admin are applied
or submenus, instead of the groups of the user.
The patch was also un-necessary, so there is no
reason to keep it.
r.4617 = chs@openerp.com-20121129172145-0ionmbffc72hwxoa
bzr revid: odo@openerp.com-20121212210027-i5yn1uyzmfho0jh0
2012-12-12 22:00:27 +01:00
Vo Minh Thu
509a084e79
[IMP] use the openerp namespace.
...
bzr revid: vmt@openerp.com-20121210152723-mv4dykfu6ip1991h
2012-12-10 16:27:23 +01:00
Thibault Delavallée
3446b35874
[MERGE] Sync with trunk.
...
bzr revid: tde@openerp.com-20121210125418-l8ntl5o5mnb2dq3h
2012-12-10 13:54:18 +01:00
Antony Lesuisse
3d2a09a973
multiprocessing signaling manually backported from 6.1
...
bzr revid: al@openerp.com-20121208181151-lfy956ysnok5b5hf
2012-12-08 19:11:51 +01:00
Thibault Delavallée
003752f7f1
[REF] ir_ui_menu: needaction_enabled is now stored, because there are no reasons not to be (this is something mainly statically defined). needaction_counter is removed, but a method on the menu allows to have the information back, calling get_needaction_data. A web-side branch will call asynchronously this method with some menu ids, allowing to separate the menu loading from the needaction loading.
...
bzr revid: tde@openerp.com-20121205102052-pn1uwhrl9mn46c4x
2012-12-05 11:20:52 +01:00
Christophe Simonis
cb968eeba0
[FIX] ir.ui.menu: filter menus as SUPERUSER
...
bzr revid: chs@openerp.com-20121129172145-0ionmbffc72hwxoa
2012-11-29 18:21:45 +01:00
Antonin Bourguignon
c0cbbc3b03
[IMP] define a name_get() that includes the complete hierarchy of menus
...
also improve code style (var names)
bzr revid: abo@openerp.com-20121029104636-6psw5ucyjy3zoyro
2012-10-29 11:46:36 +01:00
Antony Lesuisse
8fa8551f01
[FIX] cleanup ir.xml mess, ir.ui.view name is now optional in xml files
...
bzr revid: al@openerp.com-20121013120924-xix9cbozm8kda7rj
2012-10-13 14:09:24 +02:00
Raphael Collet
5a971eca90
[FIX] ir: small fix to handle missing models when upgrading
...
bzr revid: rco@openerp.com-20121005102003-16vbr0aive2mbtid
2012-10-05 12:20:03 +02:00
Olivier Dony
e35992cc53
[MERGE] Sync with trunk
...
bzr revid: odo@openerp.com-20121001144941-16d8mbi5475c3tyb
2012-10-01 16:49:41 +02:00
Thibault Delavallée
12294252d4
[MERGE] Merged with server/trunk.
...
bzr revid: tde@openerp.com-20120903081949-ucy4e1kpbb30dhko
2012-09-03 10:19:49 +02:00
Stephane Wirtel
b3988436cb
[REF] Replace the user id 1 by openerp.SUPERUSER_ID
...
bzr revid: stw@openerp.com-20120831135309-o4plzf5wp0kyuzgf
2012-08-31 15:53:09 +02:00
Thibault Delavallée
2a916edbad
[REVIEW] ir_ui_menu: cleaned _get_needaction code.
...
bzr revid: tde@openerp.com-20120828075321-7emtlqvh5oj6o31r
2012-08-28 09:53:21 +02:00
Fabien Pinckaers
84625969c0
[FIX] needaction on mail.groups
...
bzr revid: fp@tinyerp.com-20120823143525-28mnbgd015jd8yyd
2012-08-23 16:35:25 +02:00
Fabien Pinckaers
552705494c
[IMP] needaction
...
bzr revid: fp@tinyerp.com-20120822161407-aucl1m2jsa3pe6sv
2012-08-22 18:14:07 +02:00
Fabien Pinckaers
0f63b4a1fb
[IMP] need action
...
bzr revid: fp@tinyerp.com-20120822133406-9ayg228mxfeg16dg
2012-08-22 15:34:06 +02:00
Fabien Pinckaers
03f4b992ad
[IMP] need action & mails
...
bzr revid: fp@openerp.com-20120819145928-5bw5lo6dn4ni4gl7
2012-08-19 16:59:28 +02:00
Xavier Morel
48166edeb8
[FIX] rename ir.actions.url to match action's type
...
bzr revid: xmo@openerp.com-20120608101710-ncwcmu9u72u7mxcy
2012-06-08 12:17:10 +02:00
Fabien Pinckaers
51d8cfae05
[IMP] new form guidelines
...
bzr revid: fp@tinyerp.com-20120604213212-bxajvchyzwqvisix
2012-06-04 23:32:12 +02:00
Fabien Pinckaers
f83ba4af41
[IMP] reviewed form views following new guidelines
...
bzr revid: fp@tinyerp.com-20120604183055-3adtk8dtech30amm
2012-06-04 20:30:55 +02:00
Thibault Delavallée
110fbacb2a
[REM] Removed comment and now unnecessary code.
...
bzr revid: tde@openerp.com-20120418115050-jwtyqg9iahakyu13
2012-04-18 13:50:50 +02:00
Thibault Delavallée
3da67c851f
[REM] Removed unused field in menus. BTW it solves a GTk client crash.
...
bzr revid: tde@openerp.com-20120418113706-raesdy1tak5dwkwo
2012-04-18 13:37:06 +02:00
Thibault Delavallée
8d858cf0b0
[TMP] Uncommit temp fix.
...
bzr revid: tde@openerp.com-20120418111212-j035lajdu2g045kf
2012-04-18 13:12:12 +02:00
Thibault Delavallée
c1a4f1f8db
[IMP] Updated code (see odo/vmt review). Also removed record_ids storage in menus, to avoid passing too much data to the client.
...
bzr revid: tde@openerp.com-20120418090735-e5ewk3wcf7bp0bvu
2012-04-18 11:07:35 +02:00
Thibault Delavallée
77a569df69
[DOC] Added some comments.
...
bzr revid: tde@openerp.com-20120406081726-uusbqse1ty7o2yet
2012-04-06 10:17:26 +02:00
Thibault Delavallée
920c7b4af4
[FIX] Fixed weird bug with search and count=True.
...
bzr revid: tde@openerp.com-20120405130401-1nebka17459h71cj
2012-04-05 15:04:01 +02:00
Thibault Delavallée
2740f7e474
[FIX] Fixed error in needaction mechanism when calculatin menu functional fields.
...
bzr revid: tde@openerp.com-20120405123503-4ic48pi7tz943lrq
2012-04-05 14:35:03 +02:00
Thibault Delavallée
aa0205c849
[REF] Cleaned model and code: removed classmethods, moved some code to needaction_users, cleaned models.
...
bzr revid: tde@openerp.com-20120403145426-gjhdwhxb44bme8mi
2012-04-03 16:54:26 +02:00
Thibault Delavallée
87fd9521dd
[DOC] Improved help tootips and documentation.
...
bzr revid: tde@openerp.com-20120402085042-e65y8nsqey1vlvxv
2012-04-02 10:50:42 +02:00