Commit Graph
82199 Commits
Author SHA1 Message Date
chm@openerp.com e5fbd2ba1a [MERGE] from trunk
bzr revid: chm@openerp.com-20140310163630-xoqbu4y5wr9ptj7h
2014-03-10 17:36:30 +01:00
chm@openerp.com 9ee5a6d0a1 [FIX] website_mail: remove frontend js and css from __openerp__
bzr revid: chm@openerp.com-20140310143055-nfrk745uth835qu7
2014-03-10 15:30:55 +01:00
chm@openerp.com 8694a48ef1 [IMP] website: use mailto for share snippet insead of mail form
bzr revid: chm@openerp.com-20140310141947-zs9ltuzx48k5ej5x
2014-03-10 15:19:47 +01:00
chm@openerp.com 7e8b25dbee [IMP] website: create share snippet. TODO: controller to send mail or mailto href
bzr revid: chm@openerp.com-20140310135434-7xt2sy89if9116l3
2014-03-10 14:54:34 +01:00
Fabien Meghazi 5e036bbf7c [FIX] Properly redirect in case of invalid url slugs
Use werkzeug's api instead of doing hackish url replacement

bzr revid: fme@openerp.com-20140310130530-e86cdwhdca9cs9g3
2014-03-10 14:05:30 +01: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
Xavier Morel aaa80e9575 [IMP] phantomjs driver cleanups
bzr revid: xmo@openerp.com-20140310115334-vjh7gx5oizdm6s67
2014-03-10 12:53:34 +01:00
Xavier Morel bcbe89fbdc [IMP] phantomjs waitloop
* simplify waitFor itself
* log a "waiting for" message if the expression evaluates but is *false*

bzr revid: xmo@openerp.com-20140310112401-khvy0zcvwaaxa5om
2014-03-10 12:24:01 +01:00
Xavier Morel b3de4ca481 [IMP] readability of phantomjs timeouts
bzr revid: xmo@openerp.com-20140310101554-6imrb3hnd95q1wgu
2014-03-10 11:15:54 +01:00
Xavier Morel d16bcfb981 [FIX] nonsensical import?
bzr revid: xmo@openerp.com-20140310095918-khwzn6oqx77w0pyc
2014-03-10 10:59:18 +01:00
Xavier Morel b73cef9007 [FIX] don't fail installation entirely if pyPdf isn't available
should print an error message though

bzr revid: xmo@openerp.com-20140310083204-9akr4ucwqzbv3oxu
2014-03-10 09:32:04 +01:00
Antony Lesuisse f147ea8eed [FIX] wsgi deployement with openerp-wsgi.py
bzr revid: al@openerp.com-20140307200055-vbf9tub4gl9edig0
2014-03-07 21:00:55 +01:00
Christophe Simonis 36f2ff879a [FIX] web: use jinja2.FileSystemLoader instead of PackageLoader on windows
bzr revid: chs@openerp.com-20140307151431-5k24u6lnlypv1s64
2014-03-07 16:14:31 +01:00
chm@openerp.com 74bb1d6e95 [FIX] website tour
bzr revid: chm@openerp.com-20140307101325-qrpn41ue1yxbfgcs
2014-03-07 11:13:25 +01:00
Launchpad Translations on behalf of openerp d448a63c26 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140307063958-kinuz5ttk6v13wb0
2014-03-07 06:39:58 +00:00
Antony Lesuisse 8915f444f3 [IMP] report, form view hide paperformat when not needed
bzr revid: al@openerp.com-20140307011359-nyj794c9pzkg64fh
2014-03-07 02:13:59 +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 cb82d93796 [IMP] report form view move inherited view, restore and refactor test case (kept commented atm) from non merged branch qweb-report
bzr revid: al@openerp.com-20140307000620-kqxm55smy34nc0zz
2014-03-07 01:06:20 +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
Antony Lesuisse 3aa98edaaf [IMP] test add an url_open helper to http case
bzr revid: al@openerp.com-20140306234535-9zhumihumbzcddb2
2014-03-07 00:45:35 +01:00
Antony Lesuisse c878b34c3e [FIX] --test-file regression introduced by chs
bzr revid: al@openerp.com-20140306221947-ex5nk6mu2py0zinh
2014-03-06 23:19:47 +01:00
chm@openerp.com 34f05212b7 [FIX] website: snippet & bootstrap for event view
bzr revid: chm@openerp.com-20140306162420-rvrjia8cx6y8yxd1
2014-03-06 17:24:20 +01:00
chm@openerp.com 29faa56d8e [FIX] website tour
bzr revid: chm@openerp.com-20140306161104-39dmtb9mw1crw2sd
2014-03-06 17:11:04 +01:00
Christophe Simonis 1a38a08687 [FIX] setup.py: pywebdav does not expose DAV import anymore
bzr revid: chs@openerp.com-20140306160500-ey6o7iiiy1wmvkpp
2014-03-06 17:05:00 +01:00
chm@openerp.com 715c686717 [MERGE] from trunk
bzr revid: chm@openerp.com-20140306143939-swjkuugpmeibihow
2014-03-06 15:39:39 +01:00
chm@openerp.com b6b0a26777 [FIX] website_mail
bzr revid: chm@openerp.com-20140306143856-1b9q9zhgqtwr6brf
2014-03-06 15:38:56 +01:00
chm@openerp.com 5f3f09329f [IMP] website: snippet : website.snippet.animationRegistry.follow
bzr revid: chm@openerp.com-20140306140323-o2e77a66eu28bddu
2014-03-06 15:03:23 +01:00
chm@openerp.com 73446943f5 [FIX] website snippet: clean_for_save; display email in subscribe snippet
bzr revid: chm@openerp.com-20140306134746-oi0p580c3s3t2a24
2014-03-06 14:47:46 +01:00
chm@openerp.com 58a5f90758 [IMP] website: dynamic website_mail snippet with js
bzr revid: chm@openerp.com-20140306130240-cpsd5mssziuvrpf8
2014-03-06 14:02:40 +01:00
Christophe Simonis ec36a494fe [FIX] do not expose posix only config options on windows
bzr revid: chs@openerp.com-20140306115214-8wrfivy4runpzoar
2014-03-06 12:52:14 +01:00
Launchpad Translations on behalf of openerp e4488138f7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140306054333-zzdw1cs2090gpmll
bzr revid: launchpad_translations_on_behalf_of_openerp-20140306055603-35zlf1imt9wk0shw
2014-03-06 05:56:03 +00:00
chm@openerp.com 7cf77276fb [IMP] website snippet: add Configurable follow snippet
bzr revid: chm@openerp.com-20140305175411-in3oodk778dxvu0k
2014-03-05 18:54:11 +01:00
Thibault Delavallée 9f3fbce2d9 [MERGE] [IMP] mail: added message_last_update field. This field is a datetime field, updated everytime message_post in called. This allows to build filters, search or actions based on the last message date, for reporting for example.
Weekly groupbys have been added in project_issue and crm, for leads and opportunities.

bzr revid: tde@openerp.com-20140305173945-3woymvjo9u6wdtef
2014-03-05 18:39:45 +01:00
chm@openerp.com 10084e14db [MERGE] from trunk
bzr revid: chm@openerp.com-20140305153023-au4xq3ykk0qupzof
2014-03-05 16:30:23 +01:00
Thibault Delavallée dab275e931 [IMP] crm: add message_last_pos tin groupby for leads and opportunities
bzr revid: tde@openerp.com-20140305094427-6295fmowatllrxxz
2014-03-05 10:44:27 +01:00
Thibault Delavallée 629971815f [IMP] project_issue: add last post in groupby
bzr revid: tde@openerp.com-20140305094411-eiwcygl0e9divkj0
2014-03-05 10:44:11 +01:00
Thibault Delavallée 307119bd55 [IMP] mail: message_last_update -> message_last_post + only update when having a subtype
bzr revid: tde@openerp.com-20140305094042-6f1cne3srq7y1ffn
2014-03-05 10:40:42 +01:00
Thibault Delavallée 72fac9527e [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140305085545-0uy3b0k71hkqe20j
2014-03-05 09:55:45 +01:00
Thibault Delavallée b54b8681a0 [MERGE] [ADD] crm_project_issue module: create issues from leads.
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
2014-03-04 18:05:44 +01:00
Xavier Morel 8ab5f3979b [ADD] deduplication of website images being uploaded
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
2014-03-04 14:31:17 +01:00
Olivier Dony 4641a23d14 [FIX] server.stop: avoid traceback during shutdown if HTTP service never started (e.g. because address was already in use)
bzr revid: odo@openerp.com-20140304093240-0yfoe3s0xz0u0xv9
2014-03-04 10:32:40 +01:00
Launchpad Translations on behalf of openerp 9863dbe5c8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140304075238-yra39uwmwahmrnf3
2014-03-04 07:52:38 +00:00
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
Christophe Matthieu 68749a0683 [IMP] website: snippet: remove data-snippet-id and add auto resize on resising option
bzr revid: chm@openerp.com-20140303142017-jcb3401wpiuvbc1n
2014-03-03 15:20:17 +01:00
Christophe Matthieu 4a80c007e3 [IMP] website: snippet selector
bzr revid: chm@openerp.com-20140303121945-d2ynze1vja5v0d7d
2014-03-03 13:19:45 +01:00
Christophe Matthieu 2569e07191 [IMP] website: snippet don't use snipet id
bzr revid: chm@openerp.com-20140303113946-d70yd8nmew1k3z37
2014-03-03 12:39:46 +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
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