Commit Graph

6611 Commits

Author SHA1 Message Date
Xavier Morel f8964db435 [IMP] @import regex
bzr revid: xmo@openerp.com-20140417131249-gbvnq2zb09kzdifv
2014-04-17 15:12:49 +02:00
Xavier Morel a2889a1cf8 [FIX] @charset in CSS files
* there should be *at most* one per file, not 12
* use existing @charset to know file encoding when reading files (before
  concatenation)
* remove existing @charset while reading, if any
* werkzeug's default output charset is UTF-8 and CSS algo uses content-type
  encoding or assumes UTF-8, so don't put any @charset back in

bzr revid: xmo@openerp.com-20140417125213-8c9z2d7eu900kkyw
2014-04-17 14:52:13 +02:00
Darshan Kalola 7cd07d0c1f [MERGE] [IMP] ir_ui_view: kanban view: also add action_enabled information
about the columns in kanban view. This allows to display the 'create a new column', as well as 'edit' or 'delete'
options on column in kanban view, based on the users' access rights.

bzr revid: tde@openerp.com-20140417114033-39rez93cmcwask69
2014-04-17 13:40:33 +02:00
Darshan Kalola (OpenERP) 19d2466b0f [MERGE]sync with trunk.
bzr revid: dka@tinyerp.com-20140417102052-b84zv8e1m32jo19j
2014-04-17 15:50:52 +05:30
Darshan Kalola (OpenERP) d75405572f [IMP]removed use_company_address method, added same feature in single method, to achive this added new parameter 'empty_fields' to empty all address field when use compny address is unchecked.
bzr revid: dka@tinyerp.com-20140417101219-gs68pfe64a7l97hc
2014-04-17 15:42:19 +05:30
Christophe Simonis f1f3e73604 [REL] saas-4
bzr revid: chs@openerp.com-20140417083457-xg5kyml7t92chir7
2014-04-17 10:34:57 +02:00
Quentin (OpenERP) 104451bd56 [FIX] fields.date's date_to_datime function fixed
bzr revid: qdp-launchpad@openerp.com-20140416154450-ws9w6wzf9s5kmjjj
2014-04-16 17:44:50 +02:00
Launchpad Translations on behalf of openerp 54907b2c48 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140417055523-1cxq9nzdf7w0rr20
2014-04-17 05:55:23 +00:00
Xavier Morel 23eb006772 [IMP] style, default last_modified
* replaced type is other by isinstance
* used generators instead of list when applicable
* removed unused methods, useless parameters
* not sure why explicit call to dict() instead of literal, fixed it

bzr revid: xmo@openerp.com-20140416153536-84s01gbnjfu6hysl
2014-04-16 17:35:36 +02:00
Denis Ledoux 42025a6af5 [ADD] osv: add get_formview_action and get_formview_id methods
return an action to open the document. This method is meant to be
overridden in addons that want to give specific view ids for example

bzr revid: dle@openerp.com-20140416143431-syqu1ko74xt04oo5
2014-04-16 16:34:31 +02:00
Denis Ledoux 3298051016 [FIX] base: search groups by full name not working with operators 'in' nor with operand boolean
bzr revid: dle@openerp.com-20140416112239-vl20z3xzgp61vygu
2014-04-16 13:22:39 +02:00
Kersten Jeremy 73bbf079c7 [MERGE] qweb-m2o-view - Allow to use many2one for qweb template (work also with view_id)
bzr revid: jke@openerp.com-20140416085407-krltmt3jhw802a5c
2014-04-16 10:54:07 +02:00
Christophe Simonis 15e151dca7 [IMP] orm: postprocess function field values in batch
bzr revid: chs@openerp.com-20140415162321-l8hgeh6s48252zhl
2014-04-15 18:23:21 +02:00
Anael Closson 1528f9273b [FIX] tools: Comments in e-mail templates are removed before mako/jinja2 processing - opw 605315
bzr revid: acl@openerp.com-20140415143736-bcgwgribsv2hsbvo
2014-04-15 16:37:36 +02:00
Christophe Simonis 3d2e9b4d2b [MERGE] forward port of branch 7.0 up to revid 5281 launchpad_translations_on_behalf_of_openerp-20140412094159-mhy3v2prb3ctx32k
bzr revid: jke@openerp.com-20140409153527-mic1a8afcvdhsd27
bzr revid: chs@openerp.com-20140410102422-fcwxhjk40z0oy8x5
bzr revid: chs@openerp.com-20140415133650-y46i0o3qkb2atbvi
2014-04-15 15:36:50 +02:00
Darshan Kalola (OpenERP) 2f9c0ad1af [MERGE]sync with trunk.
bzr revid: dka@tinyerp.com-20140415091644-v0kfy7qiybm2uccl
2014-04-15 14:46:44 +05:30
Quentin (OpenERP) 43b8d2aec1 [IMP] fields.date: added date_to_datetime function
bzr revid: qdp-launchpad@openerp.com-20140414153613-geu20zacxnf0swol
2014-04-14 17:36:13 +02:00
Randhir Mayatra rma-openerp a80d6878a6 [IMP] remove 'action_menu_admin' record, because its not required anymore
bzr revid: rma@tinyerp.com-20140414123321-mh0ecde7m7mhjiff
2014-04-14 18:03:21 +05:30
Richard Mathot (OpenERP) 96417099b3 [MERGE] Sync with trunk
bzr revid: ypa@tinyerp.com-20140404114223-zalha5tvp2l0ov8f
bzr revid: rim@openerp.com-20140414091137-icatnn1humn7kisc
2014-04-14 11:11:37 +02:00
Raphael Collet ea167ad7ab [IMP] test cursor: code cleanup to make it more robust to concurrent accesses
bzr revid: rco@openerp.com-20140414075906-2d0i4qhe4x7czsao
2014-04-14 09:59:06 +02:00
Launchpad Translations on behalf of openerp 001a034e58 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140412094159-mhy3v2prb3ctx32k
bzr revid: launchpad_translations_on_behalf_of_openerp-20140412094217-3u3f03f0wjhbzyo4
bzr revid: launchpad_translations_on_behalf_of_openerp-20140413062047-z833pejjrtuhfygs
bzr revid: launchpad_translations_on_behalf_of_openerp-20140414055948-intynzk8l823ukei
2014-04-14 05:59:48 +00:00
Antony Lesuisse e69b086ecd [FIX] logging, pg logging use thread db
bzr revid: al@openerp.com-20140412134728-vzn9247twgyfbcid
2014-04-12 15:47:28 +02:00
Thibault Delavallée ac8f4d62a5 [IMP] [FIX] ir_qweb: fixed a call to a parameter considered as being
a dict but that could be None; added management of country flag on the
contact widget.

bzr revid: tde@openerp.com-20140411183425-nzhuk6mb80pahvwm
2014-04-11 20:34:25 +02:00
Antony Lesuisse f0dcf52159 [FIX] instrumentation to debug a deadlock probably due to a race condition in
the test cursor

bzr revid: al@openerp.com-20140411143645-ojb4t9plop4dmizh
2014-04-11 16:36:45 +02:00
Thibault Delavallée 2929f2438a [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140411140929-7w4qo086j991houy
2014-04-11 16:09:29 +02:00
Rakesh Sindhav (OpenERP) 3b00ebebf4 [IMP]base: Need view improvements in some modules
bzr revid: rsi@tinyerp.com-20140411131501-rvdrg4v2if1akhsg
2014-04-11 18:45:01 +05:30
Richard Mathot (OpenERP) 1e330fdd9e [MERGE] Sync with trunk
bzr revid: rim@openerp.com-20140401071103-v3290rmesztf6rjl
bzr revid: rim@openerp.com-20140402073433-y5spv10ms9nnmdim
bzr revid: rim@openerp.com-20140404062949-88d0tqhn8mr4ejnz
bzr revid: rim@openerp.com-20140407141506-e54pr3bwtnts6y3g
bzr revid: rim@openerp.com-20140408140530-fy6u3iz2x75xil9c
bzr revid: rim@openerp.com-20140409193801-ckzgmc5zfjlg4irk
bzr revid: rim@openerp.com-20140410120421-md5ts8wxd33mitnl
bzr revid: rim@openerp.com-20140410152240-t54id35dkowbqi56
bzr revid: rim@openerp.com-20140411115553-cbd8pq1yafkv7qcr
2014-04-11 13:55:53 +02:00
Thibault Delavallée 24e5270347 [IMP] ir_qweb: added country flag management in contact widget
bzr revid: tde@openerp.com-20140411091621-q0c2ndzv9xpptzqo
2014-04-11 11:16:21 +02:00
chm@openerp.com 9941f49364 [MERGE] from trunk
bzr revid: chm@openerp.com-20140411081513-xlptxuxmvs5ysb8s
2014-04-11 10:15:13 +02:00
Martin Trigaux 478cbd7c70 [FIX] read_group: avoid shared context and initialise if none
bzr revid: mat@openerp.com-20140411075556-kdxn1lsth45twgmj
2014-04-11 09:55:56 +02:00
Randhir Mayatra rma-openerp cbc86bb4ee [MERGE] merge with latest trunk
bzr revid: rma@tinyerp.com-20140411061647-m6iupt9567igzs4x
2014-04-11 11:46:47 +05:30
Fabien Meghazi 93073dff94 [FIX] exclude /web/[css|js] in parsing
bzr revid: fme@openerp.com-20140410174025-74hmzzalkxux3tvb
2014-04-10 19:40:25 +02:00
Fabien Meghazi 4cc3ed6fab [MERGE] trunk
bzr revid: fme@openerp.com-20140410173630-eq1uh58nba7yptf8
2014-04-10 19:36:30 +02:00
Fabien Meghazi cc722b62a2 [ADD] cache
bzr revid: fme@openerp.com-20140410164744-i7fr4bqax88430ao
2014-04-10 18:47:44 +02:00
Fabien Meghazi 71d1a7f6e3 [ADD] checksum
bzr revid: fme@openerp.com-20140410155412-64h843qo6k9vcwbz
2014-04-10 17:54:12 +02:00
Christophe Simonis 979bb51925 [IMP] ir.attachment: add method to force all attachments to use selected storage
bzr revid: chs@openerp.com-20140410152039-hyf0yaizw8p4weg0
2014-04-10 17:20:39 +02:00
Fabien Meghazi b8e9e0e8f4 [ADD] last modified date
bzr revid: fme@openerp.com-20140410143224-rb8892vn0yqmr56g
2014-04-10 16:32:24 +02:00
Christophe Simonis 95701c28c0 [FIX] test: HttpCase wait http requests to finish
bzr revid: chs@openerp.com-20140410123519-wngil3aghdc6llqc
2014-04-10 14:35:19 +02:00
Gery Debongnie c6f41caf99 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140409120604-tgc4o9zkkr69sf4q
bzr revid: ged@openerp.com-20140409150557-1wsyuvpw1ly75fhn
bzr revid: ged@openerp.com-20140410133251-k200ui19hjs6jnur
2014-04-10 15:32:51 +02:00
Jitendra Prajapati (OpenERP) 1d54a738d5 [IMP]improve if condition for more menu in module form view
bzr revid: jpr@tinyerp.com-20140410120828-23mwiujn165b5afh
2014-04-10 17:38:28 +05:30
Raphael Collet d67e63150e [FIX] sql_db: forgotten attribute renaming _pool -> __pool
bzr revid: rco@openerp.com-20140410113950-71gcyz0t2rfuww57
2014-04-10 13:39:50 +02:00
Christophe Simonis 15680c94e1 [MERGE] forward port of branch saas-3 up to revid 5115 chs@openerp.com-20140410102422-fcwxhjk40z0oy8x5
bzr revid: chs@openerp.com-20140410105454-6utwgruj80h8wdss
2014-04-10 12:54:54 +02:00
Fabien Meghazi 8e878a8e01 [WIP] bundle minify
bzr revid: fme@openerp.com-20140410101847-srs54wvf39rjjf2j
2014-04-10 12:18:47 +02:00
Christophe Simonis 52760fd424 [FIX] modules: install_from_urls: restrict to administrators. Urls must come from apps server.
[FIX] modules: download() method is now a no-op. This method was in fact already a no-op as the "url" field is never set explicitly in the code.

bzr revid: chs@openerp.com-20140410095817-bkni63g346wneybb
2014-04-10 11:58:17 +02:00
chm@openerp.com 9d187f9915 [IMP] ir_qweb: first tag 't' template of a view is added to qwebcontext.templates with id of ir_ui_view
bzr revid: chm@openerp.com-20140410080058-tx59gwh8nsefria3
2014-04-10 10:00:58 +02:00
Fabien Meghazi c1dc467701 [WIP] AssetsBundle
bzr revid: fme@openerp.com-20140409161758-3hye6u21rjmoiio9
2014-04-09 18:17:58 +02:00
Kersten Jeremy 3285feab53 [FIX] Allow missing opcodes, harden check for private attributes (dunder), check inside embedded code objects.
bzr revid: jke@openerp.com-20140409151659-xwttchbtbj02v1w7
2014-04-09 17:16:59 +02:00
Raphael Collet 5640f3076a [MERGE] test_cursor: implement a cursor mockup that never commits to database, and use it for http tests
bzr revid: rco@openerp.com-20140409145830-rop8esgic2y435kf
2014-04-09 16:58:30 +02:00
jba 1578776814 [FIX] expression: when evaluatoing *like operator, add cast to text to column in case of different type
bzr revid: mat@openerp.com-20140409144346-nbn0dno3bs6ozwk5
2014-04-09 16:43:46 +02:00
Raphael Collet be0096c4a7 [FIX] registry: stupid typo
bzr revid: rco@openerp.com-20140409135225-6ks1kbuchba7u4li
2014-04-09 15:52:25 +02:00
Raphael Collet 980f6fc4b1 [IMP] registry: avoid every direct access registry.db, and rename attribute as registry._db
bzr revid: rco@openerp.com-20140409133515-x2ywcm0d2qkdq3hq
2014-04-09 15:35:15 +02:00
Raphael Collet dda229273d [IMP] sql_db: simplify TestCursor, given that method execute() does not need overriding
bzr revid: rco@openerp.com-20140409130825-rnc9hqh9t16hqcaq
2014-04-09 15:08:25 +02:00
chm@openerp.com 64462173c1 [IMP] ir_qweb, ir_ui_view: can use id insead of xml_id; can render ir.ui.view many2one with widget='qweb' in template
bzr revid: chm@openerp.com-20140409124626-ccxnfef7bb7h1gm6
2014-04-09 14:46:26 +02:00
Raphael Collet fd8fd0906f [IMP] make TestCursor more robust, and remove some tests on tools.config['test_enable']
bzr revid: rco@openerp.com-20140409103337-r0a1nx9h8nfg3cn3
2014-04-09 12:33:37 +02:00
Raphael Collet e5e00e4c0a [IMP] registry: now cursor() simply returns a cursor, which may itself be used as a context manager
bzr revid: rco@openerp.com-20140409095604-joh9dt0qkma12ykm
2014-04-09 11:56:04 +02:00
Gery Debongnie 2df67ad6c9 [FIX] make sure the read_group method use the correct time interval when grouping with an interval of days (stupid typo) (orm.py)
bzr revid: ged@openerp.com-20140409092759-91ruq32vkxh698kh
2014-04-09 11:27:59 +02:00
Darshan Kalola (OpenERP) 6ef7aa5134 [MERGE]sync with trunk.
bzr revid: dka@tinyerp.com-20140409084452-w1e499j21i3eli9d
2014-04-09 14:14:52 +05:30
Launchpad Translations on behalf of openerp c8b88d0f02 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140409061259-ap1np1ygzq8srd4c
2014-04-09 06:12:59 +00:00
Raphael Collet f0fd48c44a [IMP] http tests: implement a test cursor that keeps a transaction open accross requests
- TestCursor subclasses Cursor, and simulates commit and rollback with savepoints
 - the registry manages a test mode, in which it only uses the test cursor
 - a reentrant lock forces the serialization of parallel requests

bzr revid: rco@openerp.com-20140408151736-j0guy68i2wjexy3d
2014-04-08 17:17:36 +02:00
Raphael Collet 6bc60505f4 [IMP] registry: add method get_cursor() to simply retrieve a new cursor, and refactor code to use it
bzr revid: rco@openerp.com-20140408125122-ki0zmin3m21k2itd
2014-04-08 14:51:22 +02:00
Gery Debongnie e143250b7a [IMP] simplifies the readgroup code to select order by (orm.py)
bzr revid: ged@openerp.com-20140408122417-y75wp0plyloiamuy
2014-04-08 14:24:17 +02:00
Raphael Collet b49f536baf [IMP] tests.common: turn class methods into instance methods (this will ease some future refactoring)
bzr revid: rco@openerp.com-20140408114936-jfagg4qvft8bk3ms
2014-04-08 13:49:36 +02:00
Raphael Collet 81b84c62b1 [IMP] registry: switch for a dummy lock only during the execution of http tests
bzr revid: rco@openerp.com-20140408094513-ahtwod1q17ijohbg
2014-04-08 11:45:13 +02:00
Gery Debongnie 5d31c979a1 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140408090618-vs4e9c9ckhat9aem
2014-04-08 11:06:18 +02:00
Gery Debongnie 6d234c01bd [IMP] change the regex matching orders in orm.py to accept field:interval. This simplifies the code in _check_qorder (no need to compute the raw field name)
bzr revid: ged@openerp.com-20140408090418-5yjnfp6axumytmrq
2014-04-08 11:04:18 +02:00
Gery Debongnie 568b8c7632 [IMP] add and fix the documentation on some helper methods in read_group. (orm.py)
bzr revid: ged@openerp.com-20140408082029-pmdzkbak0zjvs8jw
2014-04-08 10:20:29 +02:00
Thibault Delavallée 26e710fa2a [FIX] res_partner demo data: fixed email address, using a symbol not valid for
an email address.

bzr revid: tde@openerp.com-20140408081648-5au34720s2m4izm6
2014-04-08 10:16:48 +02:00
Fabien Meghazi cbb5488f97 [ADD] t-call-assets
bzr revid: fme@openerp.com-20140408075205-9v8fxg786jj0fj77
2014-04-08 09:52:05 +02:00
Gery Debongnie 6aa003f1ad [IMP] improves the helper function _read_group_format_result so that it is slightly faster (orm.py)
bzr revid: ged@openerp.com-20140408073813-8z23fun5274fvqaa
2014-04-08 09:38:13 +02:00
Christophe Simonis c1cc370d75 [FIX] ir_actions: add missing comma
bzr revid: chs@openerp.com-20140407165455-0zbsl1omgvw9e5ta
2014-04-07 18:54:55 +02:00
Christophe Simonis 0161666e8b [MERGE] forward port of branch saas-3 up to revid 5112 chs@openerp.com-20140407144238-3s38zadkh7yxpdy7
bzr revid: chs@openerp.com-20140407160548-ttuc877kknuycoqw
2014-04-07 18:05:48 +02:00
Christophe Simonis 1e9ed7baf6 [MERGE] forward port of branch 7.0 up to revid 5275 odo@openerp.com-20140407105740-elbz311w5u9e8eos
bzr revid: chs@openerp.com-20140407144238-3s38zadkh7yxpdy7
2014-04-07 16:42:38 +02:00
Gery Debongnie b683b9c614 [IMP] removes useless calls to field_get and replace them by self._all_columns in read_group method (orm.py).
bzr revid: ged@openerp.com-20140407133931-hrf9dmdj2fx050ww
2014-04-07 15:39:31 +02:00
Gery Debongnie 82825c4acd [FIX] add context parameter to various helper methods to avoid stupid crash in read_group (orm.py)
bzr revid: ged@openerp.com-20140407130223-pdzge17omntpbh23
2014-04-07 15:02:23 +02:00
Antony Lesuisse cee85a925a [FIX] temporary fix for concurrent commit during test until we improve test
cursor to emulate multiple cursors

bzr revid: al@openerp.com-20140407125050-c4fq8okuya4jxj0w
2014-04-07 14:50:50 +02:00
Olivier Dony f042113b6f [FIX] res.font: re-introduce substitution for builtin PDF fonts
This substitution was removed when res.font was implemented
based on the idea that it would be best to allow the use of
the real Helvetica/Times/Courier font if really required.
However the builtin ones are always available and crippled
when it comes to Unicode supports. Combined with the fact
that many RML/SXW reports had Helvetica hardcoded, this
breaks unicode reports for many users.
This patch re-introduces a mapping to replace the builtin
fonts by a few common and free alternatives (DejaVu, Liberation
and Free font families).
When an actual Helvetica/Times/Courier font is installed
no substitution takes place for it, in the hope that it
comes with decent unicode support.

bzr revid: odo@openerp.com-20140407121015-jq1qmg0hfu0dt31s
2014-04-07 14:10:15 +02:00
Olivier Dony 5be9e5612f [FIX] browse()/browse_record: use iterables instead of forcing lists when constructing browse_lists
This allows iterable list_class implementations

bzr revid: odo@openerp.com-20140407105740-elbz311w5u9e8eos
2014-04-07 12:57:40 +02:00
Randhir Mayatra rma-openerp db0fd7aba9 [MERGE] merge with latest trunk
bzr revid: rma@tinyerp.com-20140407100737-oj6r1olz6v1mq2oe
2014-04-07 15:37:37 +05:30
Gery Debongnie b5dc53fea1 [IMP] adds a test for the new eager/lazy functionality of read_group
bzr revid: ged@openerp.com-20140407091028-4ksvnqwvrvwaho58
2014-04-07 11:10:28 +02:00
Christophe Simonis 120342d537 [MERGE] forward port of branch 7.0 up to revid 5274 chs@openerp.com-20140404141611-qi1yagltvkd9q8ji
bzr revid: chs@openerp.com-20140404155858-mvupqmuvi8ime2tl
2014-04-04 17:58:58 +02:00
Christophe Simonis 4335ff0712 [FIX] force suppression of pidfile at exit of openerp.
[IMP] only write/delete pidfile in non-evented mode
[FIX] check if evented mode before checking in worker mode when starting server service

bzr revid: chs@openerp.com-20140404154658-6x5rxyq12guej43q
2014-04-04 17:46:58 +02:00
Christophe Simonis 53d8055cd8 [FIX] res.partner: name_search: respect unaccent flag
bzr revid: chs@openerp.com-20140404141611-qi1yagltvkd9q8ji
2014-04-04 16:16:11 +02:00
Christophe Simonis bcf36e6deb [IMP] expression: new helper for generating unaccent aware sql queries. Adapt _auto_join tests to use it.
bzr revid: chs@openerp.com-20140404141559-d2sn68lruik9hz81
2014-04-04 16:15:59 +02:00
Olivier Dony 63b8fe0d33 [FIX] domain parsing: better heuristic when a domain uses a date value for a datetime field
This comparison is flawed by nature but can be a useful
shortcut sometimes. It was using wrong boundaries and
would also loop for operators not explicitly handled
by the code (there was no `else` block). It is still
not possible to handle time zone conversions properly,
so this is only an experimental feature.

bzr revid: odo@openerp.com-20140404133827-5owdendpsr083a17
2014-04-04 15:38:27 +02:00
Gery Debongnie 39e69876c6 [IMP] moves some internal function in read_group to become class methods and slightly reorganize them (orm.py)
bzr revid: ged@openerp.com-20140404124232-dmyxuv1qf5kperet
2014-04-04 14:42:32 +02:00
Simon Lejeune 2599ff5590 [MERGE] trunk
bzr revid: sle@openerp.com-20140407133627-36iijkx89552bwa0
bzr revid: sle@openerp.com-20140407174628-24wysrr3g8x0fijd
bzr revid: sle@openerp.com-20140408135137-0ficpzark3mjys9r
2014-04-08 15:51:37 +02:00
Simon Lejeune 9e1f395c23 [IMP] ir_qweb: added t-esc-options to allow customization of a t-esc; added an ir.qweb.widget model to format the t-esc value depending on the 'widget' key of t-esc-options; added ir.qweb.widget.monetary
bzr revid: sle@openerp.com-20140407131145-a6357u6tdbu6v2ix
2014-04-07 15:11:45 +02:00
Gery Debongnie 870fed2bb9 [IMP] puts the closure 'process_groupby' in read_group in a separate method. (orm.py)
bzr revid: ged@openerp.com-20140404114543-nw7yx87h1dbkbhtf
2014-04-04 13:45:43 +02:00
Gery Debongnie f48ab8373b [FIX] fixes a read_group test to use the correct field:interval key when grouping with an interval, and makes sure the sql request properly quote the order statement (without quoting DESC or ASC) (orm.py)
bzr revid: ged@openerp.com-20140404091947-z87yg2bc7htovj4q
2014-04-04 11:19:47 +02:00
Launchpad Translations on behalf of openerp 8f174e13bd Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140404070722-99m3lomg172fzapc
bzr revid: launchpad_translations_on_behalf_of_openerp-20140404070759-302tyo6k09v8arhz
2014-04-04 07:07:59 +00:00
Simon Lejeune 3193b972b6 [MERGE] trunk
bzr revid: sle@openerp.com-20140403163700-ot0j0ctwzpyx7wdl
2014-04-03 18:37:00 +02:00
Olivier Dony effa87f794 [IMP] ir.actions: add Warning in eval context for server actions
This way one can do `raise Warning(Foo)` to abort
a transaction and show a user-friendly warning to
the user.

bzr revid: odo@openerp.com-20140403162650-m7zmmr9dba7jnzxp
2014-04-03 18:26:50 +02:00
Olivier Dony e98131e0cd [FIX] ir.qweb: avoid errors with function fields of type datetime
bzr revid: odo@openerp.com-20140403162005-i6lbbj6uco6dnrkq
2014-04-03 18:20:05 +02:00
Gery Debongnie a108599e28 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140403143727-uvjz6by9xw5g3lf6
2014-04-03 16:37:27 +02:00
Olivier Dony 27be515eab [FIX] res.partner: missing index on `parent_id` column
bzr revid: odo@openerp.com-20140403143717-dy2bszaevsyivryo
2014-04-03 16:37:17 +02:00
Gery Debongnie 7dd2e6789d [FIX] when using readgroup in eager mode, there is a possible name collision when grouping on several fields with different intervals, for ex, date_deadline:month, date_deadline:week. This commit resolves the issue by changing the keys 'field' into 'field:interval' (for ex, date_deadline:month) in the results (orm.py)
bzr revid: ged@openerp.com-20140403142923-puiruf29tbi1pjj9
2014-04-03 16:29:23 +02:00
Antony Lesuisse 7c29e3847c [FIX] increase js test timeout to 60
when runbot is overloaded, test speed can be slow, 2s per HTTP request

bzr revid: al@openerp.com-20140403134109-nzg71xmybw1p5bsi
2014-04-03 15:41:09 +02:00
Gery Debongnie 1aba5f08cf [FIX] fixes read_group so that it uses the correct _count attribute in the result dictionary (orm.py)
bzr revid: ged@openerp.com-20140403115605-tuboy66r9ews2u0e
2014-04-03 13:56:05 +02:00
Jitendra Prajapati (OpenERP) 911552c2e7 [IMP]optimized code for name_get method
bzr revid: jpr@tinyerp.com-20140403111445-lej57pocr2d0qokm
2014-04-03 16:44:45 +05:30
Jitendra Prajapati (OpenERP) 8337d2be8c [IMP]improve code
bzr revid: jpr@tinyerp.com-20140403102411-25s6x5zxjlhi1jw0
2014-04-03 15:54:11 +05:30
Gery Debongnie 75b66ed77c [FIX] work around a read bug: false data are fetched when the same field is present multiple times as a field parameter. The solution is to make sure the list many2onefields does not contain duplicate fields (orm.py)
bzr revid: ged@openerp.com-20140403094316-kmlliqbwd14ey68p
2014-04-03 11:43:16 +02:00
Jitendra Prajapati (OpenERP) 0809e29d68 [MERGE]with main branch
bzr revid: jpr@tinyerp.com-20140403093140-em398ce2axns6a81
2014-04-03 15:01:40 +05:30
Christophe Simonis 6fca27626a [FIX] expression: do not double quote column names
bzr revid: chs@openerp.com-20140403084524-9rb174osjrbmhgwc
2014-04-03 10:45:24 +02:00
Gery Debongnie 9d8fa4d720 [FIX] only fills groups with empty groups in read_group when in lazy mode to prevent weird stuff happening with the read_group_fill_result algorithm.
bzr revid: ged@openerp.com-20140402135704-3d71gczgg362cezl
2014-04-02 15:57:04 +02:00
Simon Lejeune 590fe996ad [FIX] as render_report is adapted to qweb, no need to filter in _exec_action
bzr revid: sle@openerp.com-20140402121237-t9tsnm9birhekj0b
2014-04-02 14:12:37 +02:00
Christophe Simonis 19993ab1d5 [FIX] expression: translated search as params are flatten, we need to expand "%s" placeholders when using the `in` operator
bzr revid: chs@openerp.com-20140402112730-eoqxt0pu7lvcq5yg
2014-04-02 13:27:30 +02:00
Gery Debongnie d38ce26d9d [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140402081302-x1fohx2d8i2iiluw
2014-04-02 10:13:02 +02:00
Gery Debongnie 8c93dcbf62 [IMP] refactoring of readgroup method. The work is pretty much complete with this commit. Now, it correctly fills in empty group using _read_group_fill_results (orm.py)
bzr revid: ged@openerp.com-20140402073800-0ggxqfpyo2in8ozt
2014-04-02 09:38:00 +02:00
Christophe Simonis 4978cf4293 [MERGE] forward port of branch saas-2 up to revid 5025 chs@openerp.com-20140403084808-slnj7uis17kwi9js
bzr revid: chs@openerp.com-20140403085050-0blat5jm87j9gkbb
2014-04-03 10:50:50 +02:00
Christophe Simonis 1c3ee251f0 [MERGE] forward port of branch 7.0 up to revid 5270 chs@openerp.com-20140403084524-9rb174osjrbmhgwc
bzr revid: chs@openerp.com-20140402083506-w4cywcf0kxxx9xmk
bzr revid: chs@openerp.com-20140312174526-a5rhh83g0fw8djuc
bzr revid: chs@openerp.com-20140318105837-53vsx5g7fm517cuc
bzr revid: dle@openerp.com-20140326092548-bu4bqinhvco8j5wj
bzr revid: chs@openerp.com-20140402092735-3a23yjl169vvt0iv
bzr revid: chs@openerp.com-20140402112825-ky8rcb3p467ikitc
bzr revid: chs@openerp.com-20140403084808-slnj7uis17kwi9js
2014-04-03 10:48:08 +02:00
Martin Trigaux 9b19c1a337 [FIX] orm: add missing pooler in call
bzr revid: mat@openerp.com-20140403074134-fav63w1k6hm1b8ar
2014-04-03 09:41:34 +02:00
Christophe Simonis 7c9db05d1e [MERGE] forward port of branch saas-2 up to revid 5024 chs@openerp.com-20140402112825-ky8rcb3p467ikitc
bzr revid: chs@openerp.com-20140402093016-rcl15e5vpdj7ishv
bzr revid: chs@openerp.com-20140402114823-4mncr059d9ms8v3t
2014-04-02 13:48:23 +02:00
Olivier Dony a6ed98c4c4 [FIX] res_partner: missing index on `display_name`
bzr revid: odo@openerp.com-20140402091804-v5g7g8ys4zv562uk
2014-04-02 11:18:04 +02:00
Christophe Simonis 11af46b2b1 [FIX] resize_image: auto convert BMP images to PNG
bzr revid: chs@openerp.com-20140401154417-c8buuqybdsihn3om
2014-04-01 17:44:17 +02:00
Simon Lejeune c8aa0cc7f1 [FIX] Adapted the render_report and try_report_action methods used in yml test to work with qweb reports
bzr revid: sle@openerp.com-20140401153339-3n0xw5whx82uu0pu
2014-04-01 17:33:39 +02:00
Simon Lejeune 43beb0e752 [FIX] ir_qweb groups: in order to compute the groups of a user, we are using cr and uid from request. In case we are rendering the template in a non-request context (for instance, automated tests), we have no cr and uid ; do not compute the user groups in this case.
bzr revid: sle@openerp.com-20140401153114-blxgbyp8zgx120r3
2014-04-01 17:31:14 +02:00
Martin Trigaux 7d585c5dad [FIX] convert datetime to date in case of date field
bzr revid: mat@openerp.com-20140401100819-k092i48lefozmdxb
2014-04-01 12:08:19 +02:00
Kersten Jeremy c65ae9f055 [FIX] rml2pdf : fix loading of font where mode are not strict. Now we compare always a lower and with serveral mode similar. That fix the usage of some font in report where accent and bold was ignored
bzr revid: jke@openerp.com-20140401094556-h1ybpqf989qt5h60
2014-04-01 11:45:56 +02:00
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
Martin Trigaux cf1f20e5d5 [FIX] export: negation issue
bzr revid: mat@openerp.com-20140401090316-qog5uv6txyx46awi
2014-04-01 11:03:16 +02:00
Martin Trigaux 4074a01041 [ADD] orm: add the possibility to export in raw format instead of all string
lp bug: https://launchpad.net/bugs/844569 fixed

bzr revid: mat@openerp.com-20140331151743-94sk4xd7cr3dzn8m
2014-03-31 17:17:43 +02:00
Christophe Simonis dfe28ec31f [FIX] expression: use unaccent() for translated search
lp bug: https://launchpad.net/bugs/1049653 fixed

bzr revid: chs@openerp.com-20140331123012-dq3hsw2bc368zvgq
2014-03-31 14:30:12 +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
Fabien Meghazi 8a4a10b2c0 [MERGE] remote module import
bzr revid: fme@openerp.com-20140327140516-t7yrma5z2ipm4gnd
2014-03-27 15:05:16 +01:00
Fabien Meghazi 9ab3ed7c27 [REM] not using the ir.module.module 'virtual' field after all
fp said the non existent module warning is not a problem

bzr revid: fme@openerp.com-20140327115759-a20gqydv2oro4rmr
2014-03-27 12:57:59 +01:00
Martin Trigaux 85805282b6 [FIX] fields: when executing (4, *) operations on o2m fields, check the existence based on the sql model of the table.
If the o2m field linked to the o2m is stored on a different table (eg: model with _inherit), previous request would crash as the field do not exists in the '_table' sql table

bzr revid: mat@openerp.com-20140327111241-klftr0s8v8i68nxp
2014-03-27 12:12:41 +01:00
Fabien Meghazi e6aadeb58c [FIX] Set correct record id for <template> tag converter
bzr revid: fme@openerp.com-20140327103844-irs3dga2xs969mdk
2014-03-27 11:38:44 +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
Fabien Meghazi 4d850cdbc9 [REV] revert refresh_routing_map
bzr revid: fme@openerp.com-20140326160150-daoc6fypcmckyynk
2014-03-26 17:01:50 +01:00
Fabien Meghazi 2eea637227 [MERGE] upstream
bzr revid: fme@openerp.com-20140326152307-d0rn3yuzel11457g
2014-03-26 16:23:07 +01:00
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
Antony Lesuisse 483bc96682 [IMP] wsgi and http cleanups, static http is now handled in http.py
bzr revid: al@openerp.com-20140326132057-scuiqvqma9dhyorl
2014-03-26 14:20:57 +01:00
Denis Ledoux b9d9e781d5 [MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 4955.1.67 revid:dle@openerp.com-20140326092548-bu4bqinhvco8j5wj
bzr revid: dle@openerp.com-20140326093011-pwhsfeippg4cgodj
2014-03-26 10:30:11 +01:00
Denis Ledoux c0103c387d [MERGE][FIX] OPW 591344 : internal reports don't show images
Cleaner method, and shows images.

bzr revid: dle@openerp.com-20140326091529-g7rlqc8tfxlk5u3b
2014-03-26 10:15:29 +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
Gery Debongnie 30e787511f [IMP] refactoring of readgroup method, to make it eager. Still incomplete, but it is mostly working (orm.py)
bzr revid: ged@openerp.com-20140325161104-d0xgof4bcskh4ie6
2014-03-25 17:11:04 +01:00
Christophe Simonis 5b2634bd6e [FIX] init logger earlier, right after config loading
bzr revid: chs@openerp.com-20140325154627-cmodvx26jayj3k4a
2014-03-25 16:46:27 +01:00
Fabien Meghazi f86967960d [MERGE] upstream
bzr revid: fme@openerp.com-20140325153725-67hb463km4yvsnoe
2014-03-25 16:37:25 +01:00
chm@openerp.com 82989d95f7 [FIX] phantomjs: hide error if document.body does not exists
bzr revid: chm@openerp.com-20140325092547-ilnbqdj4rhdo0q3r
2014-03-25 10:25:47 +01:00
chm@openerp.com 105c26e623 [MERGE] from trunk
bzr revid: chm@openerp.com-20140324082422-38x5kcnh830200wl
bzr revid: chm@openerp.com-20140325084953-s3sl2f1un7z08wxy
2014-03-25 09:49:53 +01:00