Commit Graph

4407 Commits

Author SHA1 Message Date
Denis Ledoux 328ea17625 [REVERT] rev. 5097 jke@openerp.com-20140328154704-88nph9tlkd48kd1y: This field has been removed from the view because was suspected to be twice included in the view, while it isnt, this is a form view inside an other formview
bzr revid: dle@openerp.com-20140401092254-tyu2040tf90ijc49
2014-04-01 11:22:54 +02:00
Yogesh Parekh (OpenERP) bfaa95a9e0 [Merge]: Merge with Parent branch
bzr revid: ypa@tinyerp.com-20140331094847-6pytp2gl19vhk5c8
2014-03-31 15:18:47 +05:30
Darshan Kalola (OpenERP) f1eb31b758 [MERGE]sync with trunk.
bzr revid: dka@tinyerp.com-20140331092919-1o6xipu5ld4g5n2k
2014-03-31 14:59:19 +05:30
Kersten Jeremy 2d0d198498 [TYPO] Remove duplicated field "supplier" from view view_partner_form
bzr revid: jke@openerp.com-20140328154704-88nph9tlkd48kd1y
2014-03-28 16:47:04 +01:00
Olivier Dony 8809c77f60 [FIX] http,ir.http: refactor exception handling to allow request-specific handling
Typically an exception during a JSON-RPC request must be
handled specifically and return a JSON-RPC error in all
cases. Previously the _authenticate() step could fail
during ir_http.dispatch() and bubble up to werkzeug,
yielding a dumb "Internal Server Error 500" even for
a JSON-RPC request.

bzr revid: odo@openerp.com-20140328142748-00haplmkc3fv6f9y
2014-03-28 15:27:48 +01:00
Launchpad Translations on behalf of openerp 035b1e8f8e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140328054140-ah12f1yhv5rf4v5c
2014-03-28 05:41:40 +00:00
Fabien Pinckaers e07a30b390 [IMP] reduced size flags
bzr revid: fp@tinyerp.com-20140327143121-urq4t2pka572t0uv
2014-03-27 15:31:21 +01:00
Fabien Pinckaers 3740999aa1 [IMP] reduced flag size
bzr revid: fp@tinyerp.com-20140327142933-5angwxh2ed13lobn
2014-03-27 15:29:33 +01:00
Fabien Pinckaers eca47b9d82 [IMP] reduced image size
bzr revid: fp@tinyerp.com-20140327142750-guuci39g1500yu01
2014-03-27 15:27:50 +01:00
chm@openerp.com 533df32518 [IMP] res.country: add flag image field in res.country with flag data
bzr revid: chm@openerp.com-20140327090416-10bocijzm8gmgj0i
2014-03-27 10:04:16 +01:00
Launchpad Translations on behalf of openerp 391037db85 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140327081257-qru0hbrfsyepb2s2
bzr revid: launchpad_translations_on_behalf_of_openerp-20140327081313-vs355ra8b74c35d8
2014-03-27 08:13:13 +00:00
Richard Mathot (OpenERP) 9bc1ce0b1a [MERGE] Sync with trunk
bzr revid: rim@openerp.com-20140327073040-tvkd1jjtufreasxo
2014-03-27 08:30:40 +01:00
Jitendra Prajapati (OpenERP) 6e9c73de0d [MERGE]with main branch
bzr revid: jpr@tinyerp.com-20140327063821-n85232vzt06v8mo9
2014-03-27 12:08:21 +05:30
Kersten Jeremy c2e259d8a3 [FIX] Use all users (disabled also) in execute of res_config for implies group. Else, public user or old user don't get the right permission/group.
bzr revid: jke@openerp.com-20140326140509-7zspikcekfsyjb0p
2014-03-26 15:05:09 +01:00
Richard Mathot (OpenERP) 6c0a7f1251 [MERGE] Sync with trunk
bzr revid: rim@openerp.com-20140225092358-6i68zl4so7tn1for
bzr revid: rim@openerp.com-20140227093016-i87i2kh126280ab3
bzr revid: rim@openerp.com-20140303131411-5i0e5lk3h3mc8q2d
bzr revid: rim@openerp.com-20140304090203-rkdi7fh74woz8db4
bzr revid: rim@openerp.com-20140304155505-k2oiof5fvao1d19d
bzr revid: rim@openerp.com-20140315102635-526g0z3bq8zrn26b
bzr revid: rim@openerp.com-20140317075842-qojs31h28edyi778
bzr revid: rim@openerp.com-20140318075345-p6mbeo99a1eq4ixu
bzr revid: rim@openerp.com-20140319072134-dgr0psp0psu3rbhw
bzr revid: rim@openerp.com-20140321075445-qade01myf2189rwn
bzr revid: rim@openerp.com-20140325085102-p3tqknwr4usns3h1
bzr revid: rim@openerp.com-20140325152904-qiotk0fhecdxcald
bzr revid: rim@openerp.com-20140326073850-3q71kysucv15bkao
2014-03-26 08:38:50 +01:00
Simon Lejeune d51f4f80ab [IMP] ir.actions.report.xml form view: hide the attachmend fields when report_type controller is selected
bzr revid: sle@openerp.com-20140324162616-93qkrv5xb4yrt3oj
2014-03-24 17:26:16 +01:00
Simon Lejeune ab003bfea6 [IMP] ir_actions wording
bzr revid: sle@openerp.com-20140324150533-bs1lwvhd2z2jow8m
2014-03-24 16:05:33 +01:00
Simon Lejeune 48f785d786 [REF] Moved qweb contact from website to base and removed the from_html method (it never worked)
bzr revid: sle@openerp.com-20140324135723-2f8owtcotk3n9jt8
2014-03-24 14:57:23 +01:00
Simon Lejeune a3be66bb49 [IMP] ir.actions.report.xml views/models adapted for report_type controller
bzr revid: sle@openerp.com-20140321184739-0dmft3odaws85m7e
2014-03-21 19:47:39 +01:00
Christophe Simonis fdd1f69294 [FIX] duplicate/rename/drop database: handle filestore
bzr revid: chs@openerp.com-20140321155659-gvg4br76214lur4l
2014-03-21 16:56:59 +01:00
Dharmraj Jhala (OpenERP) f7621ff8be [MERGE] with latest trunk server
bzr revid: pga@tinyerp.com-20140228054414-z2x4vufay1gbbpao
bzr revid: dizzy.zala@gmail.com-20140318065312-uq43i2aiha1kn3d0
bzr revid: dizzy.zala@gmail.com-20140319090323-0srxjge14cw8y4wv
bzr revid: dizzy.zala@gmail.com-20140320064008-fj9merih0wtz6tz6
bzr revid: dizzy.zala@gmail.com-20140321073141-f54b3lqel1l9lgq2
2014-03-21 13:01:41 +05:30
Launchpad Translations on behalf of openerp 7b0b8a0790 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140320061913-o2fp3m104dzeb2ky
bzr revid: launchpad_translations_on_behalf_of_openerp-20140321065115-srp2g1l3twjabmcq
2014-03-21 06:51:15 +00:00
Chirag Dodiya (OpenERP) 37bbcd223e [MRG]Merge with lp:openobject-server
bzr revid: cod@tinyerp.com-20140320120821-c83j207nyq2h23c0
2014-03-20 17:38:21 +05:30
Launchpad Translations on behalf of openerp 800ab84e3b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140320054727-1wcctx54alajpzne
2014-03-20 05:47:27 +00:00
Antony Lesuisse 666f4d0801 [MERGE] trunk
bzr revid: al@openerp.com-20140319235117-7trt1y3927mml13u
2014-03-20 00:51:17 +01:00
Christophe Simonis 30490699bd [FIX] ir.ui.view: correct `model_data_id` function field to return a value for every id passed as argument. Also correct recomputation triggers
bzr revid: chs@openerp.com-20140319144138-vmihcs029g21nf7t
2014-03-19 15:41:38 +01:00
Jitendra Prajapati (OpenERP) bf605938b2 [MERGE]with main branch
bzr revid: jpr@tinyerp.com-20140319051226-05pee6q8ih606s1i
2014-03-19 10:42:26 +05:30
Christophe Simonis 8f8ca3bd84 [MERGE] forward port of branch saas-3 up to revid 5093 chs@openerp.com-20140318114540-l50kmo4azb57g31x
bzr revid: chs@openerp.com-20140318124112-cj65l3wysk2rhwlw
2014-03-18 13:41:12 +01:00
Christophe Simonis a7cdda3ba6 [MERGE] forward port of branch saas-2 up to revid 5021 chs@openerp.com-20140318105837-53vsx5g7fm517cuc
bzr revid: chs@openerp.com-20140318114540-l50kmo4azb57g31x
2014-03-18 12:45:40 +01:00
Paramjit Singh Sahota 5de677208c [FIX] [saas-3/trunk] IE9: Bad display of the address on a contact attached to a company
lp bug: https://launchpad.net/bugs/1293523 fixed

bzr revid: psa@tinyerp.com-20140318093611-iis8wfuzgqclngnm
2014-03-18 15:06:11 +05:30
Antony Lesuisse ce1b0ad243 [FIX] ir_logging acl
bzr revid: al@openerp.com-20140318002954-3vc2wj6llc2017bu
2014-03-18 01:29:54 +01:00
Antony Lesuisse 0b7a673821 [MERGE] trunk
bzr revid: al@openerp.com-20140317223549-gyhpe8dkzaw0qe7z
2014-03-17 23:35:49 +01:00
Christophe Simonis 7887085631 [FIX] test_converter: force inherit_branding by passing the right context
bzr revid: chs@openerp.com-20140317170706-dkig0e31xtnrsskj
2014-03-17 18:07:06 +01:00
Xavier Morel 4988b40ef5 [FIX] qweb tests re. inherit_branding enabling/disabling injection of data attributes
bzr revid: xmo@openerp.com-20140317152424-bchnq81cn2e7fhjb
2014-03-17 16:24:24 +01:00
Xavier Morel a2ef044c47 [IMP] skip injection of data-oe-* attributes outside of editable mode
bzr revid: xmo@openerp.com-20140317110904-k8bptgv7y2yhhh8s
2014-03-17 12:09:04 +01:00
Antony Lesuisse e6a5d82036 [FIX] ir_logging missing field
bzr revid: al@openerp.com-20140317000851-3vyo7m3kc9k8jki5
2014-03-17 01:08:51 +01:00
Antony Lesuisse aa7d42acfc ir_logging fix msg, add uid in form view
bzr revid: al@openerp.com-20140316194328-3tooio3km8ev26wj
2014-03-16 20:43:28 +01:00
Antony Lesuisse 99a89152b4 ir_logging, improve search view
bzr revid: al@openerp.com-20140316192937-q1rxct0hhlwpm2t0
2014-03-16 20:29:37 +01:00
Antony Lesuisse eaacd8a4d8 ir_logging make it work, and make it usable
bzr revid: al@openerp.com-20140316191622-l59vkjeu2e8nbh75
2014-03-16 20:16:22 +01:00
Launchpad Translations on behalf of openerp aba3459889 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140314065823-xdw7aa9ye4j200pp
bzr revid: launchpad_translations_on_behalf_of_openerp-20140314065836-tn2fv9smot0omj8f
2014-03-14 06:58:36 +00:00
Kersten Jeremy 90af5e0d3a [FIX] Change password wizard: reload webclient after changing your own password. Because your session is dead after the changing !
bzr revid: jke@openerp.com-20140313181415-3rwlxhpevev3tlsq
2014-03-13 19:14:15 +01:00
Christophe Simonis c7d114d9a9 [MERGE] forward port of branch saas-2 up to revid 5020 chs@openerp.com-20140312174526-a5rhh83g0fw8djuc
bzr revid: chs@openerp.com-20140312180614-8yb454s3mkjwnk2q
2014-03-12 19:06:14 +01:00
Stephane Wirtel 4bbcfddc13 [MERGE] from trunk
bzr revid: stw@openerp.com-20140312102948-1n3b2d1vqedzojzb
2014-03-12 11:29:48 +01:00
Launchpad Translations on behalf of openerp a2e0cd3414 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140312045830-wc9c4o7r7l84luq8
2014-03-12 04:58:30 +00:00
Christophe Simonis 96f744b271 [MERGE] forward port of branch saas-3 up to revid 5088 chs@openerp.com-20140311095550-lg3nvvjyojvgp2po
bzr revid: chs@openerp.com-20140311133850-11bw9vv90e40clw1
2014-03-11 14:38:50 +01:00
Martin Trigaux 8a3523cd97 [FIX] partner: backport of trunk revision 4882
When adding a new contact or a new company based from the partner form, use the customer value as default value (was doign it only for the supplier flag)

bzr revid: mat@openerp.com-20140311112341-9yoi1hf0ks98ju3r
2014-03-11 12:23:41 +01:00
Yogesh Parekh (OpenERP) 2d4bd20bb0 [IMP]: Improve reference terms for partner
bzr revid: ypa@tinyerp.com-20140311100400-yea73bg8z3ohmqhv
2014-03-11 15:34:00 +05:30
Launchpad Translations on behalf of openerp a4c27d560d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140307072259-nwltzdp1dky79a3h
bzr revid: launchpad_translations_on_behalf_of_openerp-20140308065331-um114asu0v6l8y5e
bzr revid: launchpad_translations_on_behalf_of_openerp-20140311060830-c174n48jvgwwgvlo
bzr revid: launchpad_translations_on_behalf_of_openerp-20140311060854-j335qf61ll6hvrma
2014-03-11 06:08:54 +00:00
Fabien Meghazi 35d87dd19b [IMP] ir.http: provide current rule to argument postprocessing
bzr revid: fme@openerp.com-20140310130349-x4qxpcmyrcejywlz
2014-03-10 14:03:49 +01:00
Stephane Wirtel cff80a9a0c [IMP] Add views for the ir.logging object
bzr revid: stw@openerp.com-20140310111137-04axbgdajd9jloxg
2014-03-10 12:11:37 +01:00
Xavier Morel d16bcfb981 [FIX] nonsensical import?
bzr revid: xmo@openerp.com-20140310095918-khwzn6oqx77w0pyc
2014-03-10 10:59:18 +01:00
Antony Lesuisse 66988eefb5 [IMP] ir.actions.report.xml more view cleanup
bzr revid: al@openerp.com-20140307011305-sqfbr857ifczh6f1
2014-03-07 02:13:05 +01:00
Antony Lesuisse 44a0f566b0 [FIX] ir.actions.report.xml keep report_type pdf until full report conversion is completed
bzr revid: al@openerp.com-20140307003255-wjzfhlzl3dce6u7w
2014-03-07 01:32:55 +01:00
Antony Lesuisse cfb50cf7a9 [IMP] ir.actions.report.xml improve view, move rml specific fiels in a tab
bzr revid: al@openerp.com-20140306234657-kblucn86ph9gjfu6
2014-03-07 00:46:57 +01:00
Darshan Kalola (OpenERP) d93f32aa08 [MERGE]sync with trunk.
bzr revid: dka@tinyerp.com-20140306084224-t04yh1k0upd9uqh9
2014-03-06 14:12:24 +05:30
Launchpad Translations on behalf of openerp e231045095 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140306061409-nvr56r44q6smklxz
bzr revid: launchpad_translations_on_behalf_of_openerp-20140305055718-w3c9kzsncncpu12w
bzr revid: launchpad_translations_on_behalf_of_openerp-20140306061519-n2qbjt3fe7l104aw
2014-03-06 06:15:19 +00:00
Olivier Dony 07fbbe288c [MERGE] Forward-port of 7.0 bugfixes, up to rev. 5251 revision-id: odo@openerp.com-20140304152927-havybom9x1jgdzae
bzr revid: odo@openerp.com-20140305213115-w55dqs3xra6ejmni
2014-03-05 22:31:15 +01:00
Denis Ledoux 80ba313bbe [FIX] base: qweb display correct traceback on exception
bzr revid: dle@openerp.com-20140305110435-ekhperp8jwusrzu0
2014-03-05 12:04:35 +01:00
Denis Ledoux a76cedfee3 [FIX] base: widget selection changed its behavior in saas-3
_search overwritten in res_company to allow user to change of company among its allowed companies is not usefull anymore, name_search is now the method to overwrite.
moreover, widget selection replaced by options no_create in user preferenes view, to allow typing in the many2one(for searching purpose) without having the option to create a new company or edit.

bzr revid: dle@openerp.com-20140304175231-ojhzqecrdkjg2w52
2014-03-04 18:52:31 +01:00
Olivier Dony b79a33aefc [FIX] orm.read_group: improve test coverage and corner case handling:
- allow leading spaces in orderby spec for m2o columns
- extra test for read_group on multiple columns
- proper handling of groupby on numeric column with default order

bzr revid: odo@openerp.com-20140304152927-havybom9x1jgdzae
2014-03-04 16:29:27 +01:00
Darshan Kalola (OpenERP) 16f358d9e2 [IMP]]hide the link add a new column,edit and delete in kanban if the user has not the right to do it.
bzr revid: dka@tinyerp.com-20140304122148-732fgfqmbpi8cpol
2014-03-04 17:51:48 +05:30
Thibault Delavallée db93656f10 [FIX] res_users: change password wizard: fixed crash when submitting the form.
Indeed unlinking wizard content before actually closing it seems to
cause a crash. Instead of unlinking lines with user - password data
we now write a void value on the new password. The stored content
does not contain valuable data after submitting the form.

bzr revid: tde@openerp.com-20140304115017-posdyri9y1cra4jo
2014-03-04 12:50:17 +01:00
Thibault Delavallée d6aeff2989 [FIX] res_users: fixed on_change_login that crashed
when changing the login by a void value.

bzr revid: tde@openerp.com-20140304111452-np9537a3ja7vf1zi
2014-03-04 12:14:52 +01:00
Randhir Mayatra (OpenERP) c2a92a5be2 [IMP] remove menu_id from user model
bzr revid: rajmyt@gmail.com-20140304085447-zknvpkfe4i3d8uku
2014-03-04 14:24:47 +05:30
Launchpad Translations on behalf of openerp 0759553fe4 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140304061656-tmqvsiz854vbugx2
2014-03-04 06:16:56 +00:00
Olivier Dony 27a1770e20 [FIX] orm.read_group: fix various issues introduced in recent commit, cleanup
Fixed the implementation of the sorting for inherited
columns, many2one columns, and aggregated columns.
Added corresponding tests with increased coverage of
the read_group() method.

bzr revid: odo@openerp.com-20140228173320-p8l0jc8op7xsgn1x
2014-02-28 18:33:20 +01:00
Launchpad Translations on behalf of openerp 4a6ba6f107 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140222073700-ln192h40jpgmjkzn
bzr revid: launchpad_translations_on_behalf_of_openerp-20140225062424-uzng6wm762r9e5y1
bzr revid: launchpad_translations_on_behalf_of_openerp-20140227063007-7dey6pyrhev19em4
bzr revid: launchpad_translations_on_behalf_of_openerp-20140301055121-idw71yvmfonj1mmz
2014-03-01 05:51:21 +00:00
Olivier Dony 55270edc3c [FIX] ir.http.authenticate: avoid discarding sessions when authentication status is unknown
In some cases the authentication check can fail
for an unknown reason (e.g. connection pool is
temporarily full). This should not be treated
as an authentication failure, as the status is
really unknown. Let those exceptions bubble up
instead.

bzr revid: odo@openerp.com-20140228170712-l8smq6u3cmvjtd5e
2014-02-28 18:07:12 +01:00
Antony Lesuisse ed7ee4df52 [MERGE] cron race condition leading to unneeded executions, courtesy of acsone
When mulitple cron workers get their list of jobs to process at the same time,
some jobs might be executed multiple times. We fix this by keeping the listing
filter when taking the lock.

bzr revid: al@openerp.com-20140228161524-y8nyq5uw9yq9rcc3
2014-02-28 17:15:24 +01:00
Stephane Wirtel 5918ad323e [MERGE] from Trunk
bzr revid: stw@openerp.com-20140228161338-8yjlkwacuube7vir
2014-02-28 17:13:38 +01:00
Stephane Wirtel 3f779a5cae [IMP] Add the ir_logging object where we will store the log messages (exception, error and warning)
bzr revid: stw@openerp.com-20140228161055-98897xl1r46mf9mr
2014-02-28 17:10:55 +01:00
Kersten Jeremy 7917c495e9 [IMP] Add options hide_seconds in widget datetime. If this option is set with another value that False, seconds are removed from pattern to display only hours and minuts
bzr revid: jke@openerp.com-20140227164611-0tolnpzmaywhs15l
2014-02-27 17:46:11 +01:00
Antony Lesuisse 38d1ca1ff2 [MERGE] trunk
bzr revid: al@openerp.com-20140227161819-p9chmskfifo0rygs
2014-02-27 17:18:19 +01:00
Launchpad Translations on behalf of openerp bf51816215 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140225062406-g9e0edcgz29z4det
bzr revid: launchpad_translations_on_behalf_of_openerp-20140226073044-dmjdmn4cvpbgh806
2014-02-26 07:30:44 +00:00
Parth Gajjar (Open ERP) 7c686feaee [ADD] added country flags in res.country
bzr revid: pga@tinyerp.com-20140225091358-475bxx2z9ipahjw1
2014-02-25 14:43:58 +05:30
Martin Trigaux b9f72dae74 [FIX] orm: do not drop low level columns (aka 'magic columns') when deleting ir.model.fields
lp bug: https://launchpad.net/bugs/1262150 fixed

bzr revid: mat@openerp.com-20140224161918-9pe1x3jeno8t82p1
2014-02-24 17:19:18 +01:00
Fabien Meghazi 6df317c546 [FIX] website's translation problems on multiple inheritance
bzr revid: fme@openerp.com-20140224103235-2s9de5k71xfa2qko
2014-02-24 11:32:35 +01:00
Launchpad Translations on behalf of openerp b0d401d6e5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140221063809-721gx6izacr4uc07
bzr revid: launchpad_translations_on_behalf_of_openerp-20140222073238-b28iwuxw1cp32fas
bzr revid: launchpad_translations_on_behalf_of_openerp-20140223074450-qijz5rsfsjahcgq0
bzr revid: launchpad_translations_on_behalf_of_openerp-20140224060308-psqz6bx89jpqt428
2014-02-24 06:03:08 +00:00
Launchpad Translations on behalf of openerp 5580324bbf Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140222063856-jg0p4f82hy0yw5f0
bzr revid: launchpad_translations_on_behalf_of_openerp-20140222063912-upicgao9ly9iu2wf
bzr revid: launchpad_translations_on_behalf_of_openerp-20140223070706-qx82kgcpxvuqfmod
2014-02-23 07:07:06 +00:00
Richard Mathot (OpenERP) 13194a10f7 [ADD] Test that the variable 'workflow' is correctly assigned in Python server actions (if not, the code will crash)
bzr revid: rim@openerp.com-20140221125708-6vt2ucp5sjtvl02q
2014-02-21 13:57:08 +01:00
Richard Mathot (OpenERP) 6b40002f98 [ADD] Enable access to workflow engine in server actions that run arbitrary python code
(a workflow variable gives now access to trg_* methods of the workflow engine)

bzr revid: rim@openerp.com-20140221115347-rpar6uyiwx1z9deu
2014-02-21 12:53:47 +01:00
Denis Ledoux 5fd307b921 [FIX] ir_model: Uninstall with orphan external ids of ir.model.fields
On uninstalling, if external ids are associated to an unexisting field, we do not try to delete the field (as it doesnt exist) and we remove the orphan external ids

bzr revid: dle@openerp.com-20140221104908-7ytdg6xkxaza05o4
2014-02-21 11:49:08 +01:00
Christophe Simonis 170f3ef1f9 [FIX] openerp/addons/base/ir/ir_actions.py: correct SyntaxError introduced in last commit
bzr revid: chs@openerp.com-20140220170949-kc4ru12sc5on300c
2014-02-20 18:09:49 +01:00
Christophe Simonis 65db3c635e [MERGE] forward port of branch saas-2 up to revid 5014 mat@openerp.com-20140220145701-6y7s1roj88q7ys13
bzr revid: chs@openerp.com-20140220160548-0rhulha4cml6t08v
2014-02-20 17:05:48 +01:00
Denis Ledoux 67866db5b6 [MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 5015 dle@openerp.com-20140221104908-7ytdg6xkxaza05o4
bzr revid: dle@openerp.com-20140220132700-hhc1nsu25j1ye257
bzr revid: mat@openerp.com-20140220150028-p6l0vnwa5q18uxiu
bzr revid: dle@openerp.com-20140221105500-t7jg037uusdloigl
2014-02-21 11:55:00 +01:00
Xavier Morel a67cd4c049 [FIX] t-ignore should remove injected sub-view branding below the ignore flag
bzr revid: xmo@openerp.com-20140225114706-j8q44cubs59tuwby
2014-02-25 12:47:06 +01:00
Xavier Morel 1b2be9be76 [IMP] unbrand t-raw and t-esc as keeping them branded makes very little sense
they can't be edited in any situation

bzr revid: xmo@openerp.com-20140225110046-90rdevm13pp4m51s
2014-02-25 12:00:46 +01:00
Xavier Morel cf702eb1c6 [IMP] in view tests, replace tostring() and string comparisons by custom lxml.etree comparator
bzr revid: xmo@openerp.com-20140225092842-sc6whhm173azurtt
2014-02-25 10:28:42 +01:00
Xavier Morel 198640434f [FIX] injected views need branding distribution too
forgot to set it up after installed injected view skipping during distribution of injectee

bzr revid: xmo@openerp.com-20140224170301-b4ta04zqsd5d2956
2014-02-24 18:03:01 +01:00
Thibault Delavallée bff00ec6df [FIX] res_partner: avoid duplicating users when duplicating partners, because
I think your database wil hate you.

bzr revid: tde@openerp.com-20140224121004-lgy2rsszsomy7mji
2014-02-24 13:10:04 +01:00
Fabien Meghazi d1bbeb21a1 [FIX] website's translation problems on multiple view inheritance
bzr revid: fme@openerp.com-20140224104301-n8dqg0lx4oijf66b
2014-02-24 11:43:01 +01:00
Richard Mathot (OpenERP) 8951de3741 [MERGE] Sync with trunk
bzr revid: rim@openerp.com-20140220115658-4cz2t47siz5p2zg3
2014-02-20 12:56:58 +01:00
Olivier Dony d4e62ca713 [IMP] ir.actions.act_window: make `multi` field visible in form view + improve label/desc
bzr revid: odo@openerp.com-20140220100036-uu0hg9lqhpc257pr
2014-02-20 11:00:36 +01:00
Martin Trigaux c83247c38b [MERGE] Forward-port of latest saas-2 bugfixes, up to rev.5012 revid:mat@openerp.com-20140219134943-60ssztc01cxdtk09
bzr revid: mat@openerp.com-20140219140617-na0q47yaloblb67i
2014-02-19 15:06:17 +01:00
Martin Trigaux e635ebe6c1 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5238 revid:launchpad_translations_on_behalf_of_openerp-20140219053940-dvi4g7ajttoj6h9k
bzr revid: mat@openerp.com-20140219134943-60ssztc01cxdtk09
2014-02-19 14:49:43 +01:00
Launchpad Translations on behalf of openerp 871b2dc73d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140219053940-dvi4g7ajttoj6h9k
2014-02-19 05:39:40 +00:00
Martin Trigaux e1dff48492 [MERGE] [FIX] orm: read_group doesn't take referenced fields or aggregated fields in account when sorting (opw 598942)
Sorting was done using a search on ids that where found in a custom SQL field,
only 1 record among aggregated records with same groupby value was used
when using search for ordering, resulting data ordered on
max(aggregated_data).field_value instead of sum(aggregated_data.field_value).

bzr revid: mat@openerp.com-20140218100929-qeg0rz1fmta2ni9y
2014-02-18 11:09:29 +01:00
Xavier Morel 71259f09f4 [ADD] hooks to enable/disable tests running during install
also add flag for post_install run, but not used yet

bzr revid: xmo@openerp.com-20140218095452-pptez5rlpdez1ttl
2014-02-18 10:54:52 +01:00
Anael Closson 775ae7d728 [REF] removing useless comment
bzr revid: acl@openerp.com-20140218083045-aimu376msu052k5d
2014-02-18 09:30:45 +01:00
Anael Closson 90dcc00443 [FIX] OPW 598942 : orm read_group doesn't take referenced fields or aggregated fields in account when sorting
Sorting was done using a search on ids that where found in a custom SQL field,
only 1 record among aggregated records with same groupby value was used
when using search for ordering, resulting data ordered on
max(aggregated_data).field_value instead of sum(aggregated_data.field_value).

lp bug: https://launchpad.net/bugs/1060086 fixed

bzr revid: acl@openerp.com-20140217172926-ka2fw8t2l3cqi7h3
2014-02-17 18:29:26 +01:00
openerp-sle 1e0d15e5ec [FIX] Added the 'oldname' attribute on the renamed 'paper_format' field
bzr revid: openerp-sle@openerp-sle.home-20140217153459-3hcxvzmd1j5vvwgq
2014-02-17 16:34:59 +01:00
Martin Trigaux 5e9e447eb0 [FIX] fonts: move domain on field instead of view and use capitalised version of mode (would not found any otherwise)
bzr revid: mat@openerp.com-20140217134823-p0i7nj6ljqslgwr1
2014-02-17 14:48:23 +01:00
openerp-sle f703a4bb35 [MERGE] trunk
bzr revid: openerp-sle@openerp-sle.home-20140217094935-1vow2td4pxb6wq3x
2014-02-17 10:49:35 +01:00
Launchpad Translations on behalf of openerp 5d2f1c68ac Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140216064134-tam102h50au851o1
bzr revid: launchpad_translations_on_behalf_of_openerp-20140215073800-2219ymc7ijxq57aa
bzr revid: launchpad_translations_on_behalf_of_openerp-20140216064223-17h9wz07b2siswzs
bzr revid: launchpad_translations_on_behalf_of_openerp-20140217060328-7qh928zk8ro30qzb
2014-02-17 06:03:28 +00:00
Antony Lesuisse 91b1c8472f [FIX] ir.http testing generate a router including the current module
this fix is a dirty hack, the proper fix could be a new 'installing' state in
modules, or an improved registry object.

bzr revid: al@openerp.com-20140217005137-mhrzc4znr8rqe9yu
2014-02-17 01:51:37 +01:00
Antony Lesuisse 62f20f3302 [FIX] tests move test_ui to web as it requires web.login template
bzr revid: al@openerp.com-20140216214456-gplefhb821s61677
2014-02-16 22:44:56 +01:00
Antony Lesuisse c8324bafcc [IMP] phantomjs testing
- avoid dbmanager by presetting db in the test session
- correctly handle login option
- serialize test cursor access

bzr revid: al@openerp.com-20140216212222-4o6x9uljyua3g1og
2014-02-16 22:22:22 +01:00
openerp-sle 4a65881e24 [MERGE] trunk
bzr revid: openerp-sle@openerp-sle.home-20140213121357-upr6tlajbebkcre3
bzr revid: openerp-sle@openerp-sle.home-20140216103456-epv8x3f8j8jcbla7
2014-02-16 11:34:56 +01:00
Launchpad Translations on behalf of openerp ff70d29675 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140214064917-zj30bpyc0mlpvqer
2014-02-14 06:49:17 +00:00
Xavier Morel 325ad57a00 [FIX] branding distribution to generate correct xpath even after injection of inherited view contents
bzr revid: xmo@openerp.com-20140213164546-xor2k3tat8d216wq
2014-02-13 17:45:46 +01:00
Christophe Simonis b8950c14c8 [FIX] ir.values: be tolerant to actions pointing to non existing actions (aka old wizards)
bzr revid: chs@openerp.com-20140213110937-hc3u6fwfclhf5mmn
2014-02-13 12:09:37 +01:00
Launchpad Translations on behalf of openerp e2d3fa0a40 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140213064711-5yclxgkdvqsqbldv
2014-02-13 06:47:11 +00:00
Olivier Dony 47312a5f37 [MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 5011 rev-id: odo@openerp.com-20140212175952-ehkgu7uyvbymj9od
bzr revid: odo@openerp.com-20140212180216-vhynt924xgsixzfq
2014-02-12 19:02:16 +01:00
Olivier Dony 8b6d88def4 [FIX] res.users: typo in default search view
bzr revid: odo@openerp.com-20140212175952-ehkgu7uyvbymj9od
2014-02-12 18:59:52 +01:00
openerp-sle 5e535ee4f3 [IMP] Renamed paper_format to rml_paperformat and moved report's related configuration into a tab in the company form
bzr revid: openerp-sle@openerp-sle.home-20140212115350-2p9ky7ei2t9q99xs
2014-02-12 12:53:50 +01:00
Bharat R. Devnani (OpenERP) b0c17397df [IMP] improved the code to get the name of currency instead of id
bzr revid: bde@tinyerp.com-20140212114611-et0fw2dlwwjuq39p
2014-02-12 17:16:11 +05:30
Bharat R. Devnani (OpenERP) 7a672f0bb5 [IMP] improved
bzr revid: bde@tinyerp.com-20140212101334-mdhimtwrjn98d6g6
2014-02-12 15:43:34 +05:30
Bharat R. Devnani (OpenERP) e2410358cd [IMP] improved
bzr revid: bde@tinyerp.com-20140212101245-bhp1ncpuvckvex4m
2014-02-12 15:42:45 +05:30
Bharat R. Devnani (OpenERP) 6dca8bf3fb [MERGE] merged with latest server
bzr revid: bde@tinyerp.com-20140212100909-rbfkncfa5i9gn7rv
2014-02-12 15:39:09 +05:30
Richard Mathot (OpenERP) 96ebe1a0c0 [MERGE] Merge trunk
bzr revid: rim@openerp.com-20140210110451-m84l1dns7ymovllc
bzr revid: rim@openerp.com-20140211072228-h2psiu2qw2z7v8ku
bzr revid: rim@openerp.com-20140211122255-fu30jg927tgzs6we
bzr revid: rim@openerp.com-20140212080921-kj43j9v5aq8m4wqp
2014-02-12 09:09:21 +01:00
Olivier Dony 6a8ce77426 [FIX] res.partner: prevent `show_email` context option from polluting display_name
bzr revid: odo@openerp.com-20140212080331-diit15a9sz7do4cu
2014-02-12 09:03:31 +01:00
Launchpad Translations on behalf of openerp c438e6e8a9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140211064034-ghuxxk02n715othj
bzr revid: launchpad_translations_on_behalf_of_openerp-20140212062254-0hbn6k9636zlrg4k
2014-02-12 06:22:54 +00:00
Denis Ledoux 1b2c0f74dc [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5229 revid:launchpad_translations_on_behalf_of_openerp-20140211064034-ghuxxk02n715othj
bzr revid: dle@openerp.com-20140211163902-ya86jr7lwlj1mkk9
2014-02-11 17:39:02 +01:00
Raphael Collet 3aa24b345e [MERGE] from saas-3
bzr revid: rco@openerp.com-20140211162843-bfowcg6a3qb91h3c
2014-02-11 17:28:43 +01:00
Raphael Collet 9f7c687dec [FIX] ir_ui_view: in context dict, put model name instead of model itself
bzr revid: rco@openerp.com-20140211162736-hgkwjk336ldkjej6
2014-02-11 17:27:36 +01:00
Martin Trigaux 24b0b132d4 [FIX] module: fix imports broken at revision 5055
get_module_resource method is required by function fields of ir.module.module

bzr revid: mat@openerp.com-20140211105525-tuhs10hb8y3o1rnp
2014-02-11 11:55:25 +01:00
Olivier Dony 722163893e [FIX] ir.actions: active_model may not always match current model, in which case `object` should be `None`
bzr revid: odo@openerp.com-20140211082546-tgenye70etn21ih5
2014-02-11 09:25:46 +01:00
Olivier Dony dc0b8b5c66 [IMP] ir.actions.server: add `datetime` and `dateutil` in default eval context + make context extensible
bzr revid: odo@openerp.com-20140210140933-7g70205v4mxk9qhz
2014-02-10 15:09:33 +01:00
Fabien Meghazi f36b92bb81 [MERGE] saas-3
bzr revid: fme@openerp.com-20140210105311-wattch3c49ikwwmn
2014-02-10 11:53:11 +01:00
Richard Mathot (OpenERP) ea6922b5b8 [MERGE] Sync with trunk
bzr revid: rim@openerp.com-20140210082155-q0wr2okdvc5h9a9r
2014-02-10 09:21:55 +01:00
Jitendra Prajapati (OpenERP) d566f09c25 [MERGE]with lp:openobject-server
bzr revid: jpr@tinyerp.com-20140210063547-3g8nsj4qtly2hfap
2014-02-10 12:05:47 +05:30
Launchpad Translations on behalf of openerp 8d85c23e4a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140209065003-9soyulgvssk8n5ci
bzr revid: launchpad_translations_on_behalf_of_openerp-20140208071621-b018rnkhyxmmm5jk
bzr revid: launchpad_translations_on_behalf_of_openerp-20140209065224-kih7tx56elds0zok
bzr revid: launchpad_translations_on_behalf_of_openerp-20140210055324-raxopm5ej680oc73
2014-02-10 05:53:24 +00:00
Antony Lesuisse 1f78dfb76d [IMP] phantomjs testing add an easy phantom_js helper
self.phantom_js(<page_to_load>, <code_to_run>, <global_object_to_wait>, **options)

example:

self.phantom_js("/", "openerp.module.mytest()", "openerp.module.mytest");

console.log('ok') or console.log('error') should be used to signal success or
failure. Other console.log's will be passed to the test logger.

bzr revid: al@openerp.com-20140210004517-jc2cobc31qshxchm
2014-02-10 01:45:17 +01:00
Antony Lesuisse fb88cb841f [IMP] test_ui shorter code
bzr revid: al@openerp.com-20140209234714-bq5w2zo9v402x87v
2014-02-10 00:47:14 +01:00
Antony Lesuisse 8790ae76fc [IMP] rename into test_ui like addons
bzr revid: al@openerp.com-20140209231948-5tqj0nndsod0gyb1
2014-02-10 00:19:48 +01:00
Antony Lesuisse 1f67b2165c [IMP] phantomtest helper
bzr revid: al@openerp.com-20140209223917-vruzjvl0mtsqoo87
2014-02-09 23:39:17 +01:00
Antony Lesuisse ac68581e2e [FIX] re-enable test func and qweb
bzr revid: al@openerp.com-20140209143326-mitb5g9sdsll9arj
2014-02-09 15:33:26 +01:00
Antony Lesuisse 002ac937c1 add python --test-file support
bzr revid: al@openerp.com-20140209014636-2fbl15q8wrubmiup
2014-02-09 02:46:36 +01:00
Antony Lesuisse 82372e6a02 move tests
move test modules
remove xml test
add phantomjs test
readd remove uninstall test (currently disabled because of cr.commit)

bzr revid: al@openerp.com-20140209003745-ehrx8ikwkmusa644
2014-02-09 01:37:45 +01:00
Richard Mathot (OpenERP) 4eaf12cdbf [MERGE] Rebasing with trunk
bzr revid: rim@openerp.com-20140207105925-qn9z5xecpabgttsv
2014-02-07 11:59:25 +01:00
Darshan Kalola (OpenERP) 75b6bbdda0 [MERGE]sync with trunk.
bzr revid: dka@tinyerp.com-20140207045417-8chx8psmp9ipp4na
2014-02-07 10:24:17 +05:30
Olivier Dony 7c53d8c2d1 [FIX] base: avoid keeping password wizards in the database longer than necessary
This patch deletes the wizard lines rather than
 the wizard record itself, to avoid errors in case
 the client reloads the wizard data before actually
 closing it.

lp bug: https://launchpad.net/bugs/1271165 fixed

bzr revid: odo@openerp.com-20140206164559-j0j9o30im0u2hl2g
2014-02-06 17:45:59 +01:00
Fabien Meghazi 297781df08 [IMP] Move some qweb rendering context vars from website#ir.qweb to server#ir.ui.view
bzr revid: fme@openerp.com-20140206161204-vp6kydvdxhg5qykx
2014-02-06 17:12:04 +01:00
Christophe Simonis 9289a2608d [MERGE] forward port of branch saas-3 up to revid 5060 chs@openerp.com-20140206131116-we6rlic5fu09xh8q
bzr revid: chs@openerp.com-20140206131219-9rpwsfe9vc7uf0cr
2014-02-06 14:12:19 +01:00
Christophe Simonis 73d675a73d [FIX] ir.ui.view: avoid infinite loop when applying multiple inheritance inside a single view (use of <data> tag)
bzr revid: chs@openerp.com-20140206130349-19v4ah0lwy87t50o
2014-02-06 14:03:49 +01:00
Christophe Simonis 500fea28b7 [MERGE] forward port of branch saas-2 up to revid 5007 chs@openerp.com-20140206110220-myn57cryam1y4k9v
bzr revid: chs@openerp.com-20140206110423-qe4h5ip2dg6dm7ph
2014-02-06 12:04:23 +01:00
Christophe Simonis a69f789b41 [MERGE] forward port of branch 7.0 up to revid 5224 chs@openerp.com-20140206105141-7e8bv8ordqqsswh7
bzr revid: dle@openerp.com-20140205105045-j95kduyjiq83e57z
bzr revid: dle@openerp.com-20140114173613-ruxye1m7fxtcjfim
bzr revid: dle@openerp.com-20140116161158-u95vcs3os4tk2zob
bzr revid: dle@openerp.com-20140121172737-gzawfi3ssg7xifef
bzr revid: chs@openerp.com-20140129094554-c3abc8x3qz9mpszr
bzr revid: chs@openerp.com-20140129140159-9vwkpr078shoonum
bzr revid: chs@openerp.com-20140206110220-myn57cryam1y4k9v
2014-02-06 12:02:20 +01:00
Martin Trigaux 7950914c69 [IMP] ir_fields: no need to sanitize the _str_to_html as it is already done in the _symbol_set of html fields. This avoids doing twice the sanitization.
bzr revid: mat@openerp.com-20140206094628-umx2rfb9rcim7v82
2014-02-06 10:46:28 +01:00
Martin Trigaux 909ff6e368 [MERGE] [FIX] ir_fields: allow convertion from string to html using sanitize function
This is required to be able to import csv file containing html fields

lp bug: https://launchpad.net/bugs/1093800 fixed

bzr revid: mat@openerp.com-20140206084708-j63kpkr9apd3j01j
2014-02-06 09:47:08 +01:00
Launchpad Translations on behalf of openerp ffabcd257c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140206062321-j6cpns6xz3f81net
bzr revid: launchpad_translations_on_behalf_of_openerp-20140206062510-x502ahdwzezvea54
2014-02-06 06:25:10 +00:00
Laurent Mignon (Acsone) ef974c7fe5 Fix log message
bzr revid: laurent.mignon@acsone.eu-20140205091452-6mamu14lpevyjy28
2014-02-05 10:14:52 +01:00
Thibault Delavallée 6e42b51bf5 [FIX] ir_actions: typo in comments
bzr revid: tde@openerp.com-20140205090817-bp48bop089bzpm2r
2014-02-05 10:08:17 +01:00
Thibault Delavallée bb7e6966f5 [IMP] ir_actions: server action: evaluation context preparation is done in
its own method, to ease the inheritance and to allow other modules to
add new items in the evaluation context.

bzr revid: tde@openerp.com-20140205084537-9eff44cuyg3u20xy
2014-02-05 09:45:37 +01:00
Jitendra Prajapati (OpenERP) e8c424c31a [MERGE]with lp:openobject-server
bzr revid: jpr@tinyerp.com-20140204062120-xsqmp3xswkay026s
2014-02-04 11:51:20 +05:30
Launchpad Translations on behalf of openerp 974bcdf97e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140204055041-y3n9csfmrqvglcqs
2014-02-04 05:50:41 +00:00
jke-openerp 0d22b87f3a [FIX] Fix bug of positionning on res_partner form
bzr revid: jke@openerp.com-20140203163052-01m78wwe38974cf5
2014-02-03 17:30:52 +01:00
Martin Trigaux 5f10bec1a0 [IMP] better assert message and cleaning
bzr revid: mat@openerp.com-20140203134051-lgwo4v0rdntgxyor
2014-02-03 14:40:51 +01:00
Martin Trigaux 6ea8851fd0 [ADD] test read_group on a column of _inherits model and group on right field
bzr revid: mat@openerp.com-20140203133331-mujvv812zd971ci2
2014-02-03 14:33:31 +01:00
Mohammed Shekha (OpenERP) 15813479f5 [FIX]Fixed the issue of html field import fails, because of no converter found for str to html.
bzr revid: msh@openerp.com-20140203120525-ui117od6lpksm1bq
2014-02-03 17:35:25 +05:30
Launchpad Translations on behalf of openerp 2a297c3b2f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140201065247-b0hmat9ikp0cj2sx
bzr revid: launchpad_translations_on_behalf_of_openerp-20140202055930-0e8qd9refwne4999
bzr revid: launchpad_translations_on_behalf_of_openerp-20140203055525-2z3nfmfb0t7lpqpf
2014-02-03 05:55:25 +00:00
Richard Mathot (OpenERP) 55af2a1d48 [MERGE] Sync with trunk-website-al
bzr revid: rim@openerp.com-20140202135507-rug48570brhwd646
2014-02-02 14:55:07 +01:00
Laurent Mignon (Acsone) 476a0b620d [FIX] ir_cron: use the same search criteria as when listing job to excecyte when acquiring the lock on the job before its execution to prevent running already executed job
bzr revid: laurent.mignon@acsone.eu-20140131163210-2sw8f2e5n4my5o5l
2014-01-31 17:32:10 +01:00
Fabien Meghazi fa61a1e5a7 [REV] Bring back QWebException, rename QWebException#inner to 'cause'
bzr revid: fme@openerp.com-20140131113515-ahcix3h6uzzdz8ix
2014-01-31 12:35:15 +01:00
Richard Mathot (OpenERP) 8f0fac9aad [MERGE] Sync with trunk-website-al
bzr revid: rim@openerp.com-20140131075451-2g14hxx3h5ycf5pe
2014-01-31 08:54:51 +01:00
Antony Lesuisse f119c818c7 [REV] never change exceptions types
bzr revid: al@openerp.com-20140131010802-5zh9m5jc1ajnp5wj
2014-01-31 02:08:02 +01:00
Fabien Pinckaers 849125efd2 [FIX] removing test that commits and small fix
bzr revid: fp@tinyerp.com-20140131002701-4eaggu8tszph4vl5
2014-01-31 01:27:01 +01:00
Fabien Meghazi 6be5db45b0 [IMP] QWeb exceptions shall not shadow original exceptions
bzr revid: fme@openerp.com-20140130211708-5i9lpi4ddn7a2xbe
2014-01-30 22:17:08 +01:00
Fabien Meghazi 4b70011c12 [FIX] ir_ui_view#read_template() bring back old behavious, raises ValueError if xmlid not found
bzr revid: fme@openerp.com-20140130210154-llo2tjl323k0yxyr
2014-01-30 22:01:54 +01:00
Olivier Dony 171408280c [FIX] res.partner: properly (re)compute display_name and commercial_partner_id on inactive partners
bzr revid: odo@openerp.com-20140130192848-orv1glg2j26wdpml
2014-01-30 20:28:48 +01:00
Christophe Simonis 7a0262a4d5 [FIX] allow "none" route to be accessible when logged in
bzr revid: chs@openerp.com-20140130162626-z83x9e6ekdfqku0a
2014-01-30 17:26:26 +01:00
Olivier Dony 7e6be99a63 [IMP] res.partner: more selective child_of _search() hack
Makes the conditions for disabling the `active` test
on res.partner.search() more selective, to avoid
triggering it when we are not actually searching for
the children of specific parents.
(Broke base tests now that data includes an deactivated
partner)

bzr revid: odo@openerp.com-20140130162419-09tit4cyef570aze
2014-01-30 17:24:19 +01:00
Olivier Dony c3c0705203 [FIX] ir.ui.view: fix tests after refactoring of ir.ui.view/qweb view processing
bzr revid: odo@openerp.com-20140130154354-6xg4mx31to4dg0ql
2014-01-30 16:43:54 +01:00
Olivier Dony 5908a45e47 [FIX] ir.ui.view: better error message upon missing model for non-qweb views, misc cleanup
bzr revid: odo@openerp.com-20140130154349-rnwjz0bgxp6vdxwu
2014-01-30 16:43:49 +01:00
Fabien Meghazi 53098c666c [MERGE] trunk's CORS support (merge with changes)
bzr revid: chs@openerp.com-20140130120448-tj9pu30o7dj74zid
bzr revid: fme@openerp.com-20140130125425-j1yn6p4lr7lincr3
2014-01-30 13:54:25 +01:00
Olivier Dony 5bb31b70d8 [FIX] ir.ui.view: one2many to ir.model.data needs domain otherwise it matches entries from other models
bzr revid: odo@openerp.com-20140130120109-0z6kpzv5t155haog
2014-01-30 13:01:09 +01:00
Olivier Dony c231d9760a [FIX] ir.ui.view: restore extended validation of view arch, let exceptions bubble up to constraint checker, cleanup+translate error messages
Raising an exception in a _constraint will now be
properly considered as a failed constraint, and the
user will see a warning popup with the exception
message. Therefore it makes sense to translate the
error as well, at least the not-too-technical part

bzr revid: odo@openerp.com-20140130100716-qcbwy7ecnxj17718
2014-01-30 11:07:16 +01:00
Olivier Dony 7a01d4a93f [IMP] public_user: make parent partner inactive too
bzr revid: odo@openerp.com-20140130093109-x2legxl31mi5c8m6
2014-01-30 10:31:09 +01:00
Olivier Dony 4b746826b2 [IMP] res.partner: unused imports
bzr revid: odo@openerp.com-20140130093012-ytrx2i2xoc23npfg
2014-01-30 10:30:12 +01:00
Fabien Meghazi 1daa7db8b0 [REM] Removed disabled_db=True from ir_http's auth="none"
[MOV] ensure_db() helper from http module to web module

Since we removed auth="admin" in favor of auth="none" with explicit superuser id usage,
the disable_db clause in auth_none() has only sense for the /web and /web/login routes.
The web module is an exception because it's routes are registered for the nodb dispatching.
This is why the ensure_db() helper is moved to web client and will take care of the
web's auth="none" routes that needs a db to work with

bzr revid: fme@openerp.com-20140130092152-h6elwf2yerhd9xey
2014-01-30 10:21:52 +01:00
Richard Mathot (OpenERP) b5bd71e97f [MERGE] Sync with trunk-website-al
bzr revid: rim@openerp.com-20140124080626-bx8uhrf0qr9t0eep
bzr revid: rim@openerp.com-20140128125211-jj5ypkwin11mbgqj
bzr revid: rim@openerp.com-20140128143348-v6pk73mlonge4gj0
bzr revid: rim@openerp.com-20140129082650-14qvj0psoyeatah6
bzr revid: rim@openerp.com-20140130073420-s51n0co1xavpo8jx
2014-01-30 08:34:20 +01:00
Antony Lesuisse ec45bc96f9 [IMP] safe_eval add int float range, rename public user
bzr revid: al@openerp.com-20140130034238-qlgbu41d7mg9ns6i
2014-01-30 04:42:38 +01:00
Olivier Dony 3d1b879049 [IMP] qweb.render: t-esc/t-raw rendered as `False` or `None` replaced by empty strings
bzr revid: odo@openerp.com-20140129180600-0c155g520gpvnqqf
2014-01-29 19:06:00 +01:00
Christophe Simonis 958ecb84b0 [FIX] ir.model.data: correct cache clearing
bzr revid: chs@openerp.com-20140129172949-tmwd17c2ofsqj94t
2014-01-29 18:29:49 +01:00
Fabien Meghazi 04a52645c0 [REM] auth="admin" removed
bzr revid: fme@openerp.com-20140129171933-e61qp9p5xfdwyw89
2014-01-29 18:19:33 +01:00
Christophe Matthieu d546e0db2f [fIX] ir_qweb: fix groups inside t-call (use request.cr and request.uid and don't use None, None)
bzr revid: chm@openerp.com-20140129171138-zwuj2vyzu7l853np
2014-01-29 18:11:38 +01:00
Christophe Simonis 378c908d4c [MERGE] forward port of branch saas-2 up to revid 5006 chs@openerp.com-20140129140159-9vwkpr078shoonum
bzr revid: chs@openerp.com-20140129094847-4rsg0kjio0ed0rjk
bzr revid: chs@openerp.com-20140129141002-4p8fttm8ii0ogsse
2014-01-29 15:10:02 +01:00
Martin Trigaux cb4ce12d3a [IMP] make sure the records will be in right order (and trigger chirurgiens-dentistes.fr for the second name_search)
bzr revid: mat@openerp.com-20140129124806-dq56o7r1yt38nb08
2014-01-29 13:48:06 +01:00
Martin Trigaux e6ee1947f8 [FIX] better test, add missing parentheses in query, return empty list in case of no idea (instead of triggering super)
bzr revid: mat@openerp.com-20140129123404-8hs786n64briqyta
2014-01-29 13:34:04 +01:00
Martin Trigaux f71a381b81 [ref] move up!
bzr revid: mat@openerp.com-20140129114102-tk4fotnb28mtaz9x
2014-01-29 12:41:02 +01:00
Martin Trigaux 5d38e40e6b [FIX] revert previous rev for better where and add test
bzr revid: mat@openerp.com-20140129113938-517gqfi1kzcf64fz
2014-01-29 12:39:38 +01:00
Martin Trigaux 7dedf4ec45 [IMP] remove useless variable, where_clause at least '' as created from a str.join()
bzr revid: mat@openerp.com-20140129111959-7y9su01ooneu0mco
2014-01-29 12:19:59 +01:00
Martin Trigaux 05ec12692f [FIX] res_partner: name_search search in one pass
The original query did two passes (SQL query and orm search). This was a problem due to the limit parameter where the second query could reduce the number of results to a smaller number than the asked limit.

This code reproduces the orm _search behaviour to execute only one SQL query mixing both the ACL clauses and the complexe name_search without degrading the performances (removing the limit in the first query would have).

lp bug: https://launchpad.net/bugs/1203727 fixed

bzr revid: mat@openerp.com-20140129105548-dd6zmy9uc2cuowpq
2014-01-29 11:55:48 +01:00
Antony Lesuisse 8bed2fb861 [FIX] ir_ui_view noupdate only if arch change, otherwise it flags them when you check them in customize
bzr revid: al@openerp.com-20140129051009-iuqpdz8a6qta6dx5
2014-01-29 06:10:09 +01:00
Antony Lesuisse 7eebddd09a [IMP] ir_ui_view try to add search on xml_id, doesnt seem to work
bzr revid: al@openerp.com-20140129050341-bbu8csko2rcofv13
2014-01-29 06:03:41 +01:00
Antony Lesuisse 9aed30381e [FIX] ir.model.data more faithful backward compatibilty
bzr revid: al@openerp.com-20140129032053-nb5x1oll6mkpw86h
2014-01-29 04:20:53 +01:00
Antony Lesuisse 928f25a4f1 [IMP] ir.model.data clean up xmlid lookup mess
- introduce a new xmlid_ set of function with a single cache and raise_on_not_found=False
- implement backward compatible api based on the new one

bzr revid: al@openerp.com-20140129030256-pqj3eay9vf4w2m14
2014-01-29 04:02:56 +01:00
Fabien Meghazi 38e651cbd2 [REM] Removed t-href|t-action|t-src from server's ir.qweb. Restor add_template for template preprocessing
bzr revid: fme@openerp.com-20140128201235-iv2gwjt1jn00bwoo
2014-01-28 21:12:35 +01:00
Olivier Dony 95d3995614 [MERGE] Sync with trunk revno 5038 rev-id ged@openerp.com-20140127161125-2br49sy5bnyuen7f
bzr revid: odo@openerp.com-20140128184158-19hj4mg83jazp3nr
2014-01-28 19:41:58 +01:00
jke-openerp 4dca6cd0cf [REF] Add missing image
bzr revid: jke@openerp.com-20140128150452-86abqh6w3dfojr3q
2014-01-28 16:04:52 +01:00
jke-openerp 9a8a6a5484 [REF] Add public_user into module server/addons/base (removed from addons/website/website_data.xml)
[REF]Add _auth_method_public  into server/addons/base/ir/ir_http (removed from website/ir_http)

Related commit for Addons : Committed revision 10689.

bzr revid: jke@openerp.com-20140128145510-3byhdmwftloeod6s
2014-01-28 15:55:10 +01:00