Commit Graph

97 Commits

Author SHA1 Message Date
Fabien Meghazi 88a8f5b5bd [WIP] Rename client_widget and inner_viewmanager to inner_widget
bzr revid: fme@openerp.com-20120711124743-subh6412gul0v0k9
2012-07-11 14:47:43 +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
Xavier Morel 54a8f9e193 [MERGE] 6.1 changes and trunk
bzr revid: xmo@openerp.com-20120625135215-az1927llmk0vw655
2012-06-25 15:52:15 +02:00
Fabien Meghazi c7ea0c3761 [IMP] Code styling
bzr revid: fme@openerp.com-20120621095523-tfc8r2pan80f9a3i
2012-06-21 11:55:23 +02:00
Jigar Amin - OpenERP e9ab3b16fa [FIX] no image if no help on action
bzr revid: jam@tinyerp.com-20120608102015-jpyv7zji3j0zocrg
2012-06-08 15:50:15 +05:30
Jigar Amin - OpenERP 2b2b1ec41b [IMP] imporved code
bzr revid: jam@tinyerp.com-20120608092404-p5832c093dbkwzna
2012-06-08 14:54:04 +05:30
Jigar Amin - OpenERP fc9901c7a5 [IMP] Add action help if noaction on deshbaord
bzr revid: jam@tinyerp.com-20120607103647-8ylpddobydc6ed1d
2012-06-07 16:06:47 +05:30
Xavier Morel 9b6e1a876f [FIX] priorities when selecting view modes in dashboard
In the case of ``list`` view mode, code would fail to use provided
``views`` array (and therefore lose the view id), overriding it with
``[false, 'list']`` instead.

Original issue seemed to be that the dashboard's ``view_mode`` may
contain view names which are not in the original action's ``views``
array (?) in which case the _.find call returns ``undefined`` and then
blows up.

This was fixed by pre-checking the dashboard's view mode against the
action's view_mode, which is:

1. Wrong, as the action's view_mode will always contain ``tree`` never
   ``list``
2. Weird, why not fallback *instead of returning ``undefined``*?

So that's what was changed: instead of returning ``undefined`` the
mapping function now returns a default ``[false, mode]`` pair.

bzr revid: xmo@openerp.com-20120518085105-job3luim44ih6nps
2012-05-18 10:51:05 +02:00
niv-openerp 74ecaa99df [imp] renammed form.Widget to form.FormWidget
bzr revid: nicolas.vanhoren@openerp.com-20120426152800-fr69h474w4p5smtw
2012-04-26 17:28:00 +02:00
Antony Lesuisse 5522c5e100 [REM] homepage support, trigger first menu item instead
bzr revid: al@openerp.com-20120419215344-vn1yyk70oztpn2mw
2012-04-19 23:53:44 +02:00
niv-openerp 13e6438824 [imp] further more into the refactoring
bzr revid: nicolas.vanhoren@openerp.com-20120417122611-ftc4vuct77bldhts
2012-04-17 14:26:11 +02:00
niv-openerp 1667e6319f [imp] modified dashboard
bzr revid: nicolas.vanhoren@openerp.com-20120410134145-i475rr9idghchkcu
2012-04-10 15:41:45 +02:00
niv-openerp ca05331377 [imp] modified gantt to be used in a o2m
bzr revid: nicolas.vanhoren@openerp.com-20120405162131-d611z2jvefpaabnd
2012-04-05 18:21:31 +02:00
Xavier Morel 1da49a44a5 [MERGE] 6.1 fixes into trunk
bzr revid: xmo@openerp.com-20120322113142-gim4svx01p336nxm
2012-03-22 12:31:42 +01:00
Fabien Meghazi c0439810ef [FIX] Add to dashboard domain & context merging problems
bzr revid: fme@openerp.com-20120307160503-w1mha79xiznl4x6h
2012-03-07 17:05:03 +01:00
Fabien Meghazi db24973abe [FIX] Dashboard does not handle two actions with the same action id.
Dashboard should be refactored in trunk in order to be nivified and use a DashBoardAction class

bzr revid: fme@openerp.com-20120307124908-q48a2d8epae73wwx
2012-03-07 13:49:08 +01:00
niv-openerp 436ed74729 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120229110935-y2omxvx7vhchsti5
2012-02-29 12:09:35 +01:00
niv-openerp 7eb12aee74 [imp] renammed render_element
bzr revid: nicolas.vanhoren@openerp.com-20120229110744-0m55gqlme6s225jv
2012-02-29 12:07:44 +01:00
Fabien Meghazi 2d03b80c7d [IMP] New menus
bzr revid: fme@openerp.com-20120228134121-bxs33qrpevrfkctp
2012-02-28 14:41:21 +01:00
niv-openerp 75d39c7f6a [imp] renammed stop()
bzr revid: nicolas.vanhoren@openerp.com-20120221162912-zheko30qoh84hcoq
2012-02-21 17:29:12 +01:00
niv-openerp 8384876ef0 [imp] renamed widget_parent to getParent()
bzr revid: nicolas.vanhoren@openerp.com-20120221153023-cqs66neaddtuf7km
2012-02-21 16:30:23 +01:00
niv-openerp bd026cd3c0 [fix] forgot one usage of normal dialog method
bzr revid: nicolas.vanhoren@openerp.com-20120221085545-mgd73hrvr6fcp0g6
2012-02-21 09:55:45 +01:00
niv-openerp 1e9380b8fa [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120217101731-3g9hrhs65qb32pkv
2012-02-17 11:17:31 +01:00
Xavier Morel 980e2825d5 [IMP] get translated JS strings outside of QWeb attributes as the corresponding extractor does not actually work, export POTs
bzr revid: xmo@openerp.com-20120214142954-4ndkj63pog39ts0k
2012-02-14 15:29:54 +01:00
Olivier Dony affdaf2566 [FIX] Application Tiles now heed the custom menu domain, just like the nain menu
This makes both behaviors consistent
and allows the portal module to work
properly.

bzr revid: odo@openerp.com-20120209141339-c2vs0lrx7ws6plzs
2012-02-09 15:13:39 +01:00
niv-openerp 44263a42b2 [fix] revert form refactoring branch
bzr revid: nicolas.vanhoren@openerp.com-20120208111110-p2nj0tehupxa0gmz
2012-02-08 12:11:10 +01:00
niv-openerp b5579eee20 [merge] refactoring of form view widgets
bzr revid: nicolas.vanhoren@openerp.com-20120207130546-bu0m5fl99krcqbbb
2012-02-07 14:05:46 +01:00
niv-openerp 243d524978 [imp] polish render and render_element usage
bzr revid: nicolas.vanhoren@openerp.com-20120207130125-xexqks24jb7mguy8
2012-02-07 14:01:25 +01:00
Olivier Dony 1b3701ce59 [IMP] Fix some remaining untranslated areas, and extract @title,@alt and @label attributes too
(pending an update of the qweb rendering engine to
 actually translate the newly exported attributes)

bzr revid: odo@openerp.com-20120207092655-kgdcxa8myalxfyjq
2012-02-07 10:26:55 +01:00
Xavier Morel 7ce1aad7ec [IMP] terminate statements, remove extraneous statement terminations
bzr revid: xmo@openerp.com-20120125085310-zzwjrll47n61hw8w
2012-01-25 09:53:10 +01:00
niv-openerp 3002bd091f [imp] removed bunch of old stuff in widget
bzr revid: nicolas.vanhoren@openerp.com-20120124145810-lr2y8igt9iqzqepn
2012-01-24 15:58:10 +01:00
Xavier Morel 48d63ff9c6 [FIX] missing translation mark
bzr revid: xmo@openerp.com-20120117153232-7232xrscs016o150
2012-01-17 16:32:32 +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
Fabien Meghazi f0c294e584 [ADD] Add options arguments to Dataset#read_index in order to provide custom contexts
bzr revid: fme@openerp.com-20120110143513-00p14goadekz0y4z
2012-01-10 15:35:13 +01:00
Xavier Morel b5a797ba0a [IMP] mark a bunch of dialog stuff as exportable (mostly buttons, but also dialog titles)
bzr revid: xmo@openerp.com-20111215104031-h2xjkf0zwf8x8zjk
2011-12-15 11:40:31 +01:00
Fabien Meghazi 2d3a702308 [FIX] Dashboard: merge domain & context of board action to loaded action
bzr revid: fme@openerp.com-20111214112814-sogxz3no8wh0fbai
2011-12-14 12:28:14 +01:00
Fabien Meghazi 5fd4033788 [IMP] Hide secondary menu on home page client action
bzr revid: fme@openerp.com-20111214104301-a2031jvoo5tek9sl
2011-12-14 11:43:01 +01:00
Fabien Meghazi fc1c009d15 [FIX] Fixed dashboard creatable action default_view flag
bzr revid: fme@openerp.com-20111213165117-1cea257xcoc3s9v6
2011-12-13 17:51:17 +01:00
Antony Lesuisse 020c0927e4 [IMP] chrome small cleanups
bzr revid: al@openerp.com-20111213153550-x1dd1nrzmaoen61n
2011-12-13 16:35:50 +01:00
Xavier Morel 7f63eb11cb [FIX] restrict todos displayed in configuration widget to those matching the user's groups
bzr revid: xmo@openerp.com-20111213111953-diremmatzwwy5l6g
2011-12-13 12:19:53 +01:00
Xavier Morel 525b24f997 [IMP] remove annoying useless logging
bzr revid: xmo@openerp.com-20111212162643-b32fct6gqo23fxpr
2011-12-12 17:26:43 +01:00
Fabien Meghazi 045f496593 [IMP] Dashboard: if action@creatable is defined, use it as an action id instead of form view id
bzr revid: fme@openerp.com-20111212095608-lbusah7pntzuug3n
2011-12-12 10:56:08 +01:00
Xavier Morel 3cb695540e [IMP] stop hiding left menu
bzr revid: xmo@openerp.com-20111209111404-sp53qc4q3ff80n0q
2011-12-09 12:14:04 +01:00
niv-openerp e8e7f3dba7 [fix] problem with menu disappearing
bzr revid: nicolas.vanhoren@openerp.com-20111209100439-tttr4skd7mawnzs9
2011-12-09 11:04:39 +01:00
Antony Lesuisse 03a2c05f8f [FIX] menu disapear
bzr revid: al@openerp.com-20111209095309-krhje63k6cwvxdjq
2011-12-09 10:53:09 +01:00
Antony Lesuisse a2498b9510 [MERGE] customer flow, ApplicationInstaller and ApplicationTiles
bzr revid: al@openerp.com-20111208222736-c28z57qacdzzow5y
2011-12-08 23:27:36 +01:00
Fabien Meghazi 4ab671d3fc [ADD] Dashboard: support for @creatable attribute in dashboard's actions
bzr revid: fme@openerp.com-20111208161014-itkek0cct619i8fh
2011-12-08 17:10:14 +01:00
Christophe Simonis df5d7f61a7 [FIX] home page
bzr revid: chs@openerp.com-20111208155228-cmgj0pz9f9yja12h
2011-12-08 16:52:28 +01:00
Antony Lesuisse a5b31d465e [MERGE] tiles style
bzr revid: al@openerp.com-20111208114722-1tko0x521cf3r2qk
2011-12-08 12:47:22 +01:00