Commit Graph

82144 Commits

Author SHA1 Message Date
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
Antony Lesuisse 1d227c0b24 [MERGE] data-dir, a single directory for file system assets
use a single directory in the filesystem to store
- database filestore
- http sessions
- downloaded modules

By default the following platform specific location are used

Mac OS X:               ~/Library/Application Support/OpenERP
Unix:                   ~/.local/share/OpenERP    # or in $XDG_DATA_HOME, if defined
Win 7  (not roaming):   C:\Users\<username>\AppData\Local\OpenERP\OpenERP
Win 7  (roaming):       C:\Users\<username>\AppData\Roaming\OpenERP\OpenERP
Win XP (not roaming):   C:\Documents and Settings\<username>\Application Data\OpenERP\OpenERP
Win XP (roaming):       C:\Documents and Settings\<username>\Local Settings\Application Data\OpenERP\OpenERP

But this location can manually be set manually using --data-dir

bzr revid: al@openerp.com-20140227225333-d4q6tj74c7zhxiuv
2014-02-27 23:53:33 +01:00
Simon Lejeune 7851c9f825 [MERGE] Report module: reporting using the QWeb rendering engine. Sale, purchase, mrp and mrp_repair reports are converted.
bzr revid: sle@openerp.com-20140227170838-erkeann2ka4apznf
2014-02-27 18:08:38 +01:00
Christophe Simonis 70f3ed09c5 merge upstream
bzr revid: chs@openerp.com-20140227165817-wdgdl4rbmtnnqudt
2014-02-27 17:58:17 +01:00
Simon Lejeune 03aa27fcca [IMP] Add link to wkhtmltopdf.org in the webclient notifications
bzr revid: sle@openerp.com-20140227165509-qrdwy0s7xh044zf4
2014-02-27 17:55:09 +01:00
Simon Lejeune ff97011b3a [MERGE] Trunk
bzr revid: sle@openerp.com-20140227164907-pvd92tw2bmg4d0w8
2014-02-27 17:49:07 +01:00
Fabien Meghazi 312991ca1e [FIX] ensure_db() on inherited /web/login controllers
bzr revid: fme@openerp.com-20140227164141-1sblr0g6ta66q1em
2014-02-27 17:41:41 +01:00
Fabien Meghazi e76c36d704 [FIX] Database selector issue
ensure_db() If the request.session.db is different than
the computed db abort and redirect in order to properly
dispatch on computed db

bzr revid: fme@openerp.com-20140227164018-iukowle122spr2c5
2014-02-27 17:40:18 +01:00
Antony Lesuisse 8fec899f9b [FIX] move appsdirs to tools
bzr revid: al@openerp.com-20140227163259-asal833qjv3gylit
2014-02-27 17:32:59 +01:00
Antony Lesuisse 38d1ca1ff2 [MERGE] trunk
bzr revid: al@openerp.com-20140227161819-p9chmskfifo0rygs
2014-02-27 17:18:19 +01:00
Fabien Meghazi 152e70e9fa [IMP] seperation of auth_signup's reset password and signup routes
bzr revid: fme@openerp.com-20140227154955-tnxyzw1ynuwlo5mj
2014-02-27 16:49:55 +01:00
Fabien Meghazi 6aa24d0896 [IMP] Improve login for auth_signup/oauth seperation
bzr revid: fme@openerp.com-20140227154921-2fqr8p8bhczn37xa
2014-02-27 16:49:21 +01:00
Simon Lejeune 27a232596c [IMP] Add notification on the web client when wkhtmltopdf is not present or too old
bzr revid: sle@openerp.com-20140227154046-hxnhyho6v096hjx8
2014-02-27 16:40:46 +01:00
Simon Lejeune 4f979046ed [MERGE] trunk
bzr revid: sle@openerp.com-20140227145225-sygkyqft99tux3jm
2014-02-27 15:52:25 +01:00
Simon Lejeune a82c186611 [IMP] Added a route to check presence and version of wkhtmltopdf. If the soft is not present, qweb-pdf fallback on qweb-html mode.
bzr revid: sle@openerp.com-20140227144810-d14iwu5pudmrshh9
2014-02-27 15:48:10 +01:00
Fabien Meghazi a210c5f534 [MERGE] upstream
bzr revid: fme@openerp.com-20140227142022-fgqnvfzkkqeh99l3
2014-02-27 15:20:22 +01:00
Fabien Pinckaers 100cc571cd [IMP] Event Security Fix + Publish Track
bzr revid: fp@tinyerp.com-20140227131144-8rq3woldpl1zbppj
2014-02-27 14:11:44 +01:00
Fabien Meghazi 075640848e [FIX] signup and rest password links
bzr revid: fme@openerp.com-20140227121032-2nj47kqc5bwwpo23
2014-02-27 13:10:32 +01:00
Fabien Meghazi c1d9449a57 [MERGE] upstream
bzr revid: fme@openerp.com-20140227101745-k6iseaz765qnflnm
2014-02-27 11:17:45 +01:00
Fabien Meghazi 2868e9a6ac [MERGE] upstream
bzr revid: fme@openerp.com-20140227101725-7egd9xq859jasnhj
2014-02-27 11:17:25 +01:00
Simon Lejeune c8ebe2dc8a [MERGE] trunk
bzr revid: sle@openerp.com-20140226175612-4xi5b8sa2h2jp37n
2014-02-26 18:56:12 +01:00
Fabien Meghazi 3324351bf6 [IMP] Improvement/changes to the http request/response API.
- Get rid of LazyResponses
- Made website.render() an alias to request.render() [just kept in case this is merged in saas-3 but should be removed completely in favor of request.render()]

Need server/trunk's rev#5102

bzr revid: fme@openerp.com-20140226164551-d42a3g057grr722y
2014-02-26 17:45:51 +01:00
Fabien Meghazi 71537320c5 [IMP] Improvement/changes to the http request/response API.
- Get rid of LazyResponses
- Made website.render() an alias to request.render() [just kept in case this is merged in saas-3 but should be removed completely in favor of request.render()]

Need server/trunk's rev#5102

bzr revid: fme@openerp.com-20140226164448-ad7mjzgg5aw66erq
2014-02-26 17:44:48 +01:00
Fabien Meghazi 992975f236 [IMP] Improvement/changes to the http request/response API.
- Added http.Response object
- @http.route decorator wraps methods in order to convert returned value to Response object
- http.Request.func* variables moved to http.EndPoint class
- moved _first_arg_is_req backward compatibility feature in EndPoint class
- CORS support moved to new http.Request object
- Added a #render() helper on request object as a companion of #make_response() that will return a lazy qweb rendering response
- Extra check in routing_map() in order to forbid the chabge of request type in @http.route arguments inheritance
- Fix crash happening when no Host header is present in the request

bzr revid: fme@openerp.com-20140226164407-5avn72p20o3o4f7x
2014-02-26 17:44:07 +01:00
Fabien Meghazi e2f92040db [REM] removed Request's getattr proxying to httprequest
This might be a problem when merging the new api so we let it as is for the moment

bzr revid: fme@openerp.com-20140226161627-edgbe5f8mpzylq46
2014-02-26 17:16:27 +01:00
Launchpad Translations on behalf of openerp a900c2f44d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140226063458-06tloufxtz1og92z
2014-02-26 06:34:58 +00:00
Simon Lejeune 258c8b5ee5 [FIX] type in the import of the reset stylesheet
bzr revid: sle@openerp.com-20140225144407-li218a3ppz4f8y7z
2014-02-25 15:44:07 +01:00
Gery Debongnie 47340431f9 [FIX] fixes the tooltip position in chart mode (graph view). The position was wrong because the parent position was not 'relative'. (addon web_graph)
bzr revid: ged@openerp.com-20140225141623-cawr7yur38zhjcz4
2014-02-25 15:16:23 +01:00
Fabien Meghazi 5da9305bf5 [MERGE] upstream
bzr revid: fme@openerp.com-20140225105045-9t4a443nq0lw55qu
2014-02-25 11:50:45 +01:00
Fabien Meghazi 35a7182893 [MERGE] upstream
bzr revid: fme@openerp.com-20140225104654-d1ni7z5t8w0qc7mw
2014-02-25 11:46:54 +01:00
Gery Debongnie fed81544ad [IMP] optimizes graph view to avoid reloading data in some cases (such as removing a filter from the search view) (addon web_graph)
bzr revid: ged@openerp.com-20140225104233-zidrw03dh2hlwrng
2014-02-25 11:42:33 +01:00
Gery Debongnie 02b70e2950 [FIX] fixes problems due to the preceding merge (resolved conflict was not properly resolved) (addon web_graph)
bzr revid: ged@openerp.com-20140225103155-9cdbs8p79sa7hkwi
2014-02-25 11:31:55 +01:00
Fabien Meghazi 434f100fb8 [MERGE] upstream
bzr revid: fme@openerp.com-20140225094914-419sm2gji3kiq2e2
2014-02-25 10:49:14 +01:00
Gery Debongnie 893b7041f9 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140225091310-pzkj5ip17esl52kz
2014-02-25 10:13:10 +01:00
Simon Lejeune 531ab41957 [MERGE] trunk
bzr revid: sle@openerp.com-20140225091121-3cuuiofh2zt923p0
2014-02-25 10:11:21 +01:00
Fabien Meghazi 2ab61cf001 [IMP] Rename request.httprequest.session -> request.session
bzr revid: fme@openerp.com-20140225090506-4rnku48yg7ruvv8p
2014-02-25 10:05:06 +01:00
Gery Debongnie 956b73998c [FIX] fixes various problems with the search bar integration with the graph view. Now, the code correctly computes the group_bys and col_groupbys contained in the various filters in the search bar (addon web_graph)
bzr revid: ged@openerp.com-20140225090349-z6udsjn0cjafu0lt
2014-02-25 10:03:49 +01:00
Launchpad Translations on behalf of openerp eaa20f9586 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140225060535-e6jwphbnlp4q2vc6
2014-02-25 06:05:35 +00:00
Frédéric van der Essen 4dd0d7c524 [MERGE] hw_proxy: improvements to the posbox documentation
bzr revid: fva@openerp.com-20140224172856-ku0tedluscdzvkjz
2014-02-24 18:28:56 +01:00
Frédéric van der Essen 0368f23b1e [MERGE] from trunk
bzr revid: fva@openerp.com-20140224172822-ehn3xeb7rb1xro07
2014-02-24 18:28:22 +01:00
Frédéric van der Essen b2c89c22bf [IMP] hw_proxy: adding a few troubleshoot info to the manual + add the compiled pdf version to the repo
bzr revid: fva@openerp.com-20140224172547-diov3ubpfspmdfvy
2014-02-24 18:25:47 +01:00
Simon Lejeune 1cf57507c0 [IMP] Added a button on the ir.actions.report.xml form view to allow direct access of the QWeb views associated and edit them
bzr revid: sle@openerp.com-20140224170839-7nqv07vp1tx5ou38
2014-02-24 18:08:39 +01:00
Frédéric van der Essen 5c08f38a1b [FIXME] deactivated failed tests to make the runbot green again
bzr revid: fva@openerp.com-20140224164321-7631d3uqu2r2zqyw
2014-02-24 17:43:21 +01:00
Simon Lejeune d64c4a3f17 [FIX] mrp: removed empty files and barcode controller value set to path in order to be able to receive URL
bzr revid: sle@openerp.com-20140224151944-dqi63kjvyejp6xja
2014-02-24 16:19:44 +01:00
Simon Lejeune 901172a194 [FIX] Workaround to get printing done with 1 worker
bzr revid: sle@openerp.com-20140224134732-imptqwtzyoyml2qq
2014-02-24 14:47:32 +01:00
Simon Lejeune 5557a1152c [IMP] Report controller: little changes to get the barcode route working with reportlab 2.5
bzr revid: sle@openerp.com-20140224120749-nlg3n95vgghxv63y
2014-02-24 13:07:49 +01:00
Fabien Pinckaers 2d0db5a8bf [IMP] 3 cols to respect icon and make it easier for new users to start with
bzr revid: fp@tinyerp.com-20140224110148-12lndtuaztxypgmw
2014-02-24 12:01:48 +01:00
Simon Lejeune 7de120a2ef [MERGE] trunk
bzr revid: sle@openerp.com-20140224103630-xxn8l4i7f16dq75w
2014-02-24 11:36:30 +01:00
Simon Lejeune 62538c61e3 [IMP] Converted mrp BOM Structure to QWeb
bzr revid: sle@openerp.com-20140224103453-0s60blgbk7e3ho5n
2014-02-24 11:34:53 +01:00
Simon Lejeune 09d34a8e96 [IMP] Report controller: put the css/js as relative links in the minimal html page (they were copied inline)
bzr revid: sle@openerp.com-20140224103329-pmmmcl56mzmynmx5
2014-02-24 11:33:29 +01:00