This bridge and optional module add a button on the lead form view to
allow users to create issues from leads. The lead is distroyed during
the operation. All communication history is kept and transferred to the
new issue.
bzr revid: tde@openerp.com-20140304170544-kp624l6vhj0s1rwc
There is a deduplication in ir.attachment, but it's only for FS-stored content
*and* it only deduplicates storage not models (as there are access rights
issues involved).
The goal here is to always return the same attachment when a user uploads the
exact same image multiple times (because it's simpler or whatever).
Initially tried to use a binary field & digest(), but search() blows up
because it tries to utf-8 encode raw binary data. So use char & hexdigest
instead.
_compute_checksum returns None if the provided attachment data does not look
like a website image attachment.
Unhandled: multiple existing matches, maybe a UNIQUE constraint on the
checksum field would be a good idea just in case.
cherrypicked from saas-3's xmo@openerp.com-20140303153855-5f2l8v0jq2mgb26f
which had to be backed out (as the patch adds a new stored field)
bzr revid: xmo@openerp.com-20140304133117-r88p9zl2tc9tsh75
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
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
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
- 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
- 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
- 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