Commit Graph

66610 Commits

Author SHA1 Message Date
Gery Debongnie d9ef089939 [FIX] fix a typo and uses the correct type in the invoice_count functional field of res_partner (addon account)
bzr revid: ged@openerp.com-20140318101034-0w72fjd2sxgy963q
2014-03-18 11:10:34 +01:00
Gery Debongnie 649198db8a [IMP] compute the 'invoice_count' and 'journal_item_count' field in one pass instead of two separate calls (addon account)
bzr revid: ged@openerp.com-20140317155926-2l5542cqcaw997hl
2014-03-17 16:59:26 +01:00
Gery Debongnie aac67e8bc5 [IMP] removes the testing field testpercent in res.partner and improves the way the buttons are displayed in form view (addon account)
bzr revid: ged@openerp.com-20140317152828-v2den23s32kzaqxh
2014-03-17 16:28:28 +01:00
Gery Debongnie 6fee78b475 [IMP] improves the way the res_partner fields are displayed in the buttons in form view. Specifically, uses the widget 'statinfo' and some related cleanup (addons account, crm)
bzr revid: ged@openerp.com-20140314140114-9t2piu3cpqkldnbo
2014-03-14 15:01:14 +01:00
Gery Debongnie 0cba3bef47 [IMP] removes some useless fields (*stat_button) from res_partner in addon crm and uses the new x2many widget in the form view
bzr revid: ged@openerp.com-20140313131858-mp1lfww3osmny27g
2014-03-13 14:18:58 +01:00
Gery Debongnie 3c835279e8 [IMP] removes the field journal_items_stat_button field from the res.partner model (the x2many widget replaces its functionality) and improves the view. Also, adds a new field 'testpercent' to res.partner, only for testing purposes (addon account)
bzr revid: ged@openerp.com-20140313125244-k4zgsil19gk5sjcz
2014-03-13 13:52:44 +01:00
Gery Debongnie b7bc8b3aa4 [IMP] change the partner form view to display new stat button information in addon account/crm
bzr revid: ged@openerp.com-20140312132347-dyu1i3szlh9r7jq9
2014-03-12 14:23:47 +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
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
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
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 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
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
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
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
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
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
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
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
Jérôme f664ff2ace [FIX] : tde's last remark correction
bzr revid: jem@openerp.com-20140226164521-gccablfi8b6e36qr
2014-02-26 17:45:21 +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
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 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