Commit Graph

63822 Commits

Author SHA1 Message Date
Arnaud Pineux 7fdb7b41f6 [Merge] Audittrail
lp bug: https://launchpad.net/bugs/1055813 fixed

bzr revid: api@openerp.com-20121116093424-0k7d7we6vy9s6z9e
2012-11-16 10:34:24 +01:00
Xavier Morel 249f28ff8b [DOC] how to run tests 'offline' in phantomjs
bzr revid: xmo@openerp.com-20121116093342-udc775t8cr5lgpst
2012-11-16 10:33:42 +01:00
Arnaud Pineux e43583b6a5 [Merge] Audittrail
lp bug: https://launchpad.net/bugs/1055813 fixed

bzr revid: api@openerp.com-20121116093006-no5lxfzm6ifmquxm
2012-11-16 10:30:06 +01:00
Raphael Collet 898bdf9e98 [IMP] auth_oauth: refactor a bit method auth_oauth for reuse
bzr revid: rco@openerp.com-20121116092612-x1mef7uvvl0cn5gp
2012-11-16 10:26:12 +01:00
Arnaud Pineux dc3f98308d [FIX] audittrail
lp bug: https://launchpad.net/bugs/1055813 fixed

bzr revid: api@openerp.com-20121116085042-v8q78tof9jyuec07
2012-11-16 09:50:42 +01:00
Christophe Matthieu 7e5389cc95 [MERGE] web kanban: change css for remove hole in kanban view (float:left => display:inline-block)
bzr revid: chm@openerp.com-20121116081701-sz7cm35xxq94ftfn
2012-11-16 09:17:01 +01:00
Xavier Morel 82fc839c55 [ADD] program directive to doc
bzr revid: xmo@openerp.com-20121116080413-dv4q0bj161a2psv4
2012-11-16 09:04:13 +01:00
Xavier Morel 09037e8a42 [REM] failing test code
committed by mistake

bzr revid: xmo@openerp.com-20121116073738-9f43bm0q6eojns3v
2012-11-16 08:37:38 +01:00
Xavier Morel d632471f64 [IMP] web test runner: pass execute's arguments to the function to avoid duplication
bzr revid: xmo@openerp.com-20121116072906-0di2j83p602a2l9i
2012-11-16 08:29:06 +01:00
Xavier Morel a9645151b6 [IMP] setup & teardown of test runner
simplify code and make setup & teardown processes more reliable

add testing.Stack tools which stacks promise-returning functions
around the actual promise-returning function to execute (the test case
itself).

testing.Stack returns an object with 3 methods, ``push([setup][,
teardown])``, ``unshift([setup][, teardown])`` and ``execute(fn,
*args)``. ``push`` and ``unshift`` create a new stack with the
provided setup and teardown added respectively at the top and bottom
of the stack.

``execute`` will walk the stack from bottom to top executing ``setup``
handlers (and waiting on their result), if all setup handlers execute
without failure the ``fn`` callback gets executed (and waited on) then
*all* ``teardown`` handlers are executed from top to bottom:

 |  setup
 |    setup
 |      setup
 |        setup
 |          fn
 |        teardown
 |      teardown
 |    teardown
 V  teardown

If a ``setup`` handler fails (the promise is rejected), teardowns will
start executing *from the previous level* (so the ``teardown``
matching the failed ``setup`` will *not* be run), but all
``teardowns`` below that will be run regardless, even if one fails the
next one will still be executed.

The stack will either ultimately return a promise rejection using the
*first* rejection it got (a rejection may be cascading, so the
rejection of a setup may also lead to or be linked to a teardown being
rejected later), or will return the resolution from ``fn``.

If ``execute`` is passed further arguments, those arguments will in
turn be forwarded to ``fn`` as well as all ``setup`` and ``teardown``
handlers.

bzr revid: xmo@openerp.com-20121116071712-zuld957icellezum
2012-11-16 08:17:12 +01:00
Nhomar Hernandez 58ce165627 [FIX] Doc compiled doesn't allow copy and paste, little fix to better use of docs
bzr revid: nhomar@gmail.com-20121116045112-8xygt4bib72dd51v
2012-11-16 00:21:12 -04:30
Launchpad Translations on behalf of openerp 3c8626efbb Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121116043620-snye1y94q79vggx4
2012-11-16 04:36:20 +00:00
Fabien Meghazi 8c2764115f [FIX?] Probably fix something... ? See previous revision.
bzr revid: fme@openerp.com-20121115182331-0vz3beb6x2od9xhs
2012-11-15 19:23:31 +01:00
Fabien Meghazi cf2d4581be [FIX] Broken kanban images
bzr revid: fme@openerp.com-20121115181730-plfvy8ok9uykvu97
2012-11-15 19:17:30 +01:00
Thibault Delavallée 1201be06d0 [FIX] fetchmail: incoming emails on res.users does not lead to a crash anymore, due to missing mail.thread methods in res.users. The partner is also correctly added in recipients.
bzr revid: tde@openerp.com-20121115175404-pflf7lf5s5spalbu
2012-11-15 18:54:04 +01:00
Fabien Meghazi 2b7bfe4ecd [IMP] openerp logo img border 0 for IE
Can't merge nwi's branch right now so I do the bare minimum that hurts eyes

bzr revid: fme@openerp.com-20121115175146-5zn97xz8w3m5l5rx
2012-11-15 18:51:46 +01:00
Fabien Meghazi 79e1118c16 [IMP] Clean base.sass folding sections
bzr revid: fme@openerp.com-20121115173614-o5pchmm889yxz5cy
2012-11-15 18:36:14 +01:00
Thibault Delavallée 54090e8d92 [FIX] incomign email on a partner: fixed auto-inclusion of destination partner in recipients.
bzr revid: tde@openerp.com-20121115171830-0el4jrt1gjmtrts1
2012-11-15 18:18:30 +01:00
Denis Ledoux dle@openerp.com a7c62c72ee [MERGE]trunk-bug-1077138-dle fix web shortcut
bzr revid: dle@openerp.com-20121115171413-18n22483nungxqda
2012-11-15 18:14:13 +01:00
Christophe Simonis 801927cb14 [FIX] make root menu links works
bzr revid: chs@openerp.com-20121115171201-76y7ul1jhjyi2e78
2012-11-15 18:12:01 +01:00
Fabien Meghazi cace9f7887 [IMP] Centralized 'openerp' class on top level elements. Also add openerp_ie class for MSIE
bzr revid: fme@openerp.com-20121115164132-i6a0u8zk3knm1zkv
2012-11-15 17:41:32 +01:00
Vo Minh Thu 071de66193 [FIX] base_import: added security csv file in __openerp__.py.
bzr revid: vmt@openerp.com-20121115163756-vfocdshvwo524dya
2012-11-15 17:37:56 +01:00
Vo Minh Thu 724f452f1e [IMP] fleet/porta/account_budget: removed some initialization warnings.
bzr revid: vmt@openerp.com-20121115160643-lc0b07n6xiaq1rl3
2012-11-15 17:06:43 +01:00
Vo Minh Thu 7c33378557 [IMP] loading: the warning about access rights give an example that can be copied.
bzr revid: vmt@openerp.com-20121115160611-9dkyx82d94pve2rx
2012-11-15 17:06:11 +01:00
Denis Ledoux dle@openerp.com e72542b6ec [FIX]Reload whole favorites (by rpc call) instead of adding the new one, otherwise the name of the new starred item is not structured like the other ones
lp bug: https://launchpad.net/bugs/1077138 fixed

bzr revid: dle@openerp.com-20121115160550-p5kc3j8swxu3lfv0
2012-11-15 17:05:50 +01:00
Thibault Delavallée 0cde689fa9 [FIX] fetchmail: fixed sending email on res.users aliases. This is done by using the message_update method of the related partner.
bzr revid: tde@openerp.com-20121115160008-gpz50ryhdw7h3f8b
2012-11-15 17:00:08 +01:00
Denis Ledoux dle@openerp.com bba12d9e95 [FIX]wrong out id when adding shortcut to system tray list
lp bug: https://launchpad.net/bugs/1077138 fixed

bzr revid: dle@openerp.com-20121115155708-vbz1djvtp15dit78
2012-11-15 16:57:08 +01:00
Arnaud Pineux 15281138ea [FIX] crypt and openid
lp bug: https://launchpad.net/bugs/1026784 fixed

bzr revid: api@openerp.com-20121115153056-ayj1do22pllon9ud
2012-11-15 16:30:56 +01:00
Vo Minh Thu d05a945fc5 [IMP] lunch: removed a few initialization warnings.
bzr revid: vmt@openerp.com-20121115152557-3lroffi0dtar3rs4
2012-11-15 16:25:57 +01:00
Arnaud Pineux 87899acfa8 [FIX] openID and Crypt
lp bug: https://launchpad.net/bugs/1026784 fixed

bzr revid: api@openerp.com-20121115151410-b2mey3wystp5zha0
2012-11-15 16:14:10 +01:00
Christophe Simonis 69f385414a [FIX] manifest_glob return path with / for web part
bzr revid: chs@openerp.com-20121115151228-xzrlpjxwkspf5fgz
2012-11-15 16:12:28 +01:00
Fabien Meghazi 8a3d2c4744 [FIX] For act window target new, always use a new dialog object
Buttons footer hack in dialogs makes reusability of dialog impossible

bzr revid: fme@openerp.com-20121115151046-0r8xz85racjta7p3
2012-11-15 16:10:46 +01:00
Arnaud Pineux 27c672b1fc [FIX]
bzr revid: api@openerp.com-20121115150945-6zf30o1hk56bv5sf
2012-11-15 16:09:45 +01:00
Vo Minh Thu d2bb377b61 [FIX] fleet: removed unexisting field.
bzr revid: vmt@openerp.com-20121115145547-9f2y8nvh2d1qhjpn
2012-11-15 15:55:47 +01:00
Denis Ledoux dle@openerp.com 3dae59cabd [FIX]7.0 bookmark module - not working correctly
lp bug: https://launchpad.net/bugs/1077138 fixed

bzr revid: dle@openerp.com-20121115144455-gdpss6sp4ul5zut3
2012-11-15 15:44:55 +01:00
Christophe Matthieu dec6ad872a [FIX] kanban view: Change css (float => inline-block) to avoid holes in the kanban view
bzr revid: chm@openerp.com-20121115143059-13992jd2sxn9tr74
2012-11-15 15:30:59 +01:00
Frédéric van der Essen b7bb7e6246 [IMP] added a .ie class on <html> when using ie <= 9
bzr revid: fva@openerp.com-20121115143047-utonsnq0iadbvmyt
2012-11-15 15:30:47 +01:00
Christophe Matthieu 6fd4765e07 [FIX] web form: one2many_binary accept the values like one2many field (ids, objects, tuple)
bzr revid: chm@openerp.com-20121115142249-jd3x25lmrtq6cf3f
2012-11-15 15:22:49 +01:00
Arnaud Pineux bc35c05961 [FIX] compatibility between auth_openid and base_crypt
lp bug: https://launchpad.net/bugs/1026784 fixed

bzr revid: api@openerp.com-20121115142203-13s6zw6yxpfkfzmj
2012-11-15 15:22:03 +01:00
Arnaud Pineux 374daa28b5 [FIX] compatibility between auth_openid and base_crypt
lp bug: https://launchpad.net/bugs/1026784 fixed

bzr revid: api@openerp.com-20121115141954-axiv3hq7tg5jozox
2012-11-15 15:19:54 +01:00
Vo Minh Thu 1fcdb5adbe [FIX]
Original location of the field has been changed. Maximum sales, events, and
fields. If not specified the Aformentioned fields runbot 'still doesn' t ' t
like it.

bzr revid: vmt@openerp.com-20121115140337-4tqplv17th4hs0l5
2012-11-15 15:03:37 +01:00
Christophe Matthieu 48fc5bb6ef [MERGE] from trunk
bzr revid: chm@openerp.com-20121115140009-s4uj0saecwtq19nx
2012-11-15 15:00:09 +01:00
Christophe Matthieu 6807a2e07c [IMP] web form: FieldOne2ManyBinaryMultiFiles no delete file on set value
bzr revid: chm@openerp.com-20121115135904-17rg7j5g8xu4rjvn
2012-11-15 14:59:04 +01:00
Fabien Meghazi f842d8dba1 [FIX] When action returns other value than an action, close current dialog if any
bzr revid: fme@openerp.com-20121115134207-n0q1vae1wuga5jc7
2012-11-15 14:42:07 +01:00
Thibault Delavallée 7ac71a4e47 [MERGE] Fixes some posting/email_template issues. Also cleans an old hack about res.users view redirected to its related res.partner.
Server-side:
- removed the hack about redirecting the user form view on its related partner form view
- added a simplified profile form view on the user, used for example to preview salesmen in opportunities

bzr revid: tde@openerp.com-20121115125124-rreg8bcim9nnauxr
2012-11-15 13:51:24 +01:00
Thibault Delavallée 3571ad2a70 [MERGE] Fixes some posting/email_template issues. Also cleans an old hack about res.users view redirected to its related res.partner.
Addons-side:
- res.users wraps the 2 posting methods, because mailboxes are still related to the user, not the partner, due to some technical issues
- mail.compose.message using email_template: _reopen is back, as the spec of a wizard should be that hitting a button close it. Therefore _reopen is necessaru to reopen the wizard with its previous value, to continue working on it.

bzr revid: tde@openerp.com-20121115125113-oxn2vwunsvkinxkd
2012-11-15 13:51:13 +01:00
Thibault Delavallée da9951baf9 [CLEAN] removed a commented statement, fixed a var name in js.é
bzr revid: tde@openerp.com-20121115124931-w20igi8qk66uvnj0
2012-11-15 13:49:31 +01:00
Vo Minh Thu 147fae832a [FIX] test_db_cursor: explicitely close the cursor (without relying on __del__).
bzr revid: vmt@openerp.com-20121115123937-keq4eb2a3n85x0rv
2012-11-15 13:39:37 +01:00
Arnaud Pineux fd38df4da5 [test]
bzr revid: api@openerp.com-20121115123851-sza4b5u0bwxlvdct
2012-11-15 13:38:51 +01:00
Arnaud Pineux c196424dca [TEST]
bzr revid: api@openerp.com-20121115123005-0cwt6402sj1hbecm
2012-11-15 13:30:05 +01:00