Commit Graph
81571 Commits
Author SHA1 Message Date
Denis Ledoux 6deae9e9ea [FIX] *: replace various widgets selection by option no_create, as the purpose of these widgets selection were to actually hide the create and edit and quick create
bzr revid: dle@openerp.com-20140306113021-r280g41vkdyf5ew8
2014-03-06 12:30:21 +01:00
Denis Ledoux 78c3646747 [FIX] payment,portal_sale: display payment acquirers of the company of the sale order/invoice
bzr revid: dle@openerp.com-20140306105514-lp0lu6jq955aofv4
2014-03-06 11:55:14 +01:00
Denis Ledoux 6a1e65b561 [FIX] crm: crm_to_lead tests, force assignation, to check round robin
bzr revid: dle@openerp.com-20140306092330-wuhfw36f3xpwdy4d
2014-03-06 10:23:30 +01:00
Denis Ledoux 83a4374363 [FIX] crm: lead_to_opp, do not force assignation in mass convert with deduplication (to prevent change the salesman of an existing opp), + fix get duplicated lead, now based on probability of stage instead of probability of the opp itself
bzr revid: dle@openerp.com-20140305164016-432vz5axo5l4wqko
2014-03-05 17:40:16 +01:00
Kersten Jeremy f7058f9b64 [TYPO] Typo on tooltip of payment columns
bzr revid: jke@openerp.com-20140305163737-dd26k3t4hi0ng93g
2014-03-05 17:37:37 +01:00
Kersten Jeremy b651a86340 [FIX] Fix action url from res_config to configure action_payment_acquirer
bzr revid: jke@openerp.com-20140305161925-z3uy18jllfmcod8p
2014-03-05 17:19:25 +01:00
Kersten Jeremy 322b924a13 [IMP] Custom the payment_acquirer html field in css of its own module and not in web/base.saas
bzr revid: jke@openerp.com-20140305161647-s27kplpnjg1usikg
2014-03-05 17:16:47 +01:00
Kersten Jeremy bd90911698 [FIX] Replace overflow scroll into overflow auto by default
bzr revid: jke@openerp.com-20140305142849-5ustm55y0qp4k5hm
2014-03-05 15:28:49 +01:00
chm@openerp.com 8df09c6c6a [FIX] website: snippet: display image editor button in snippet. Don't remove overlay (editor is used to clean snippets for save view)
bzr revid: chm@openerp.com-20140305132422-sfmlq8giol53rqjm
2014-03-05 14:24:22 +01:00
Thibault Delavallée 3a576a47b9 [MERGE] [UPD] [FIX] Update the cleditor library from 1.3.0 to 1.4.4. This version notably fixes some bugs when using IE 9.
(Monkey) Patches done on the version 1.3 have been applied on this version as well to avoid having regression. The saas-3 commits linked to those (monkey) patches are :
- 3328: original commit by chm: [FIX] cleditor: When the DOM is modify, the event resize try to call refresh and refresh has not DOM available. Correction : If the DOM as no prent, don't call refresh.
- 3664 (7.0 forward port): commit 1 by fme: [FIX] html widget: fix cleditor width when the field was invisible before becoming editable + commit 2 by tde: [IMP] cleditor: stop using custom font-size, font-family.
- 3755 (saas-1 forward port): commit by msh: [FIX]Fixed the issue of cleditor, on window resize blur event not triggered except firefox so due to which value disappears from the container.

bzr revid: tde@openerp.com-20140305121828-0zwx3qfecx7hmnj2
2014-03-05 13:18:28 +01:00
Denis Ledoux 80ba313bbe [FIX] base: qweb display correct traceback on exception
bzr revid: dle@openerp.com-20140305110435-ekhperp8jwusrzu0
2014-03-05 12:04:35 +01:00
Denis Ledoux b38245d6cb [FIX] product: price_get_multi raise if there is no active pricelist version (same behavior than before the pricelist computation factoring)
bzr revid: dle@openerp.com-20140305110314-pgiotwksjmdt63zm
2014-03-05 12:03:14 +01:00
Thibault Delavallée 5c45aac7ef [IMP] [MONKEY] Re-apply changes introduced at version 3755.
This commit was a forward-pord of saas-1 commits.
Commit by msh
[FIX]Fixed the issue of cleditor, on window resize blur event not triggered except firefox so due to which value disappears from the container.

bzr revid: tde@openerp.com-20140305105922-cqw9vrvk306jynco
2014-03-05 11:59:22 +01:00
Thibault Delavallée cc23ddd0ce [IMP] [MONKEY] Re-apply changes introduced at version 3664 that was
a forward port of 7.0 commits.
Commit 1 by fme.
[FIX] html widget: fix cleditor width when the field was invisible before becoming editable
Commit 2 by tde.
[IMP] cleditor: stop using custom font-size, font-family.

bzr revid: tde@openerp.com-20140305105751-w1i47ytx73ac5gkr
2014-03-05 11:57:51 +01:00
Thibault Delavallée 17a23c60b8 [IMP] [MONKEY] Re-apply changes introduced at version 3328.
Original commit by chm.

[FIX] cleditor: When the DOM is modify, the event resize try to call refresh and refresh has not DOM available. Correction : If the DOM as no prent, don't call refresh.

bzr revid: tde@openerp.com-20140305105455-1ewix4pm9m5ob1bm
2014-03-05 11:54:55 +01:00
Thibault Delavallée bff34f4014 [DUMMY] Void commit with a space change, because this cause a crash in bazaar.
bzr revid: tde@openerp.com-20140305104931-xnftljkziznsi9qq
2014-03-05 11:49:31 +01:00
Denis Ledoux 6d97f74963 [FIX]event: speaker_id field removed from report, thus the group by speaker_id should be removed too from the search view
bzr revid: dle@openerp.com-20140305101737-uh22w2jo6engblvb
2014-03-05 11:17:37 +01:00
Paramjit Singh Sahota a64ed6673c [MERGE] Merged lp:~openerp/openerp-web/saas-3
bzr revid: psa@tinyerp.com-20140305050903-8n1prme78ou7n2h2
2014-03-05 10:39:03 +05:30
Paramjit Singh Sahota 97cff89b3d [REM] REmoved the jquery.cleditor.min.js for the lib.
bzr revid: psa@tinyerp.com-20140305050612-8z0jpohvg026l2xi
2014-03-05 10:36:12 +05:30
Denis Ledoux a76cedfee3 [FIX] base: widget selection changed its behavior in saas-3
_search overwritten in res_company to allow user to change of company among its allowed companies is not usefull anymore, name_search is now the method to overwrite.
moreover, widget selection replaced by options no_create in user preferenes view, to allow typing in the many2one(for searching purpose) without having the option to create a new company or edit.

bzr revid: dle@openerp.com-20140304175231-ojhzqecrdkjg2w52
2014-03-04 18:52:31 +01:00
Denis Ledoux 1761704af2 [FIX] web: view form fieldselection, use name_search instead of cascading search and name_get
One rpc call won
Moreover, res_company in server overwrite name_search for company field in res users preferences, to display all allowed companies of the user, and not just the one allowed by record rules, so the user can change to the companies he is allowed to.

bzr revid: dle@openerp.com-20140304173838-c7uimmey8gvi3b64
2014-03-04 18:38:38 +01:00
Thibault Delavallée de37ea15ac [MERGE] [FIX] website_sale: effectively send the email of a draft or confirmed quotation on the ecommerce after payment. Having the action is not sufficient, we have to trigger it manually. We do this by creating and sending a mail.compose.message, like what is done manually on a quotation when using the 'Send by email' button.
bzr revid: tde@openerp.com-20140304161659-9ueka2y4ctfk4okv
2014-03-04 17:16:59 +01:00
Denis Ledoux 40b1ab36bb [FIX] crm: convert lead to opp wizard, on change salesman choose default salesteam if any
bzr revid: dle@openerp.com-20140304154442-o2zvun8ehv2ro6dl
2014-03-04 16:44:42 +01:00
Thibault Delavallée 6924171964 [FIX] website_sale: effectively send the email of a draft
or confirmed quotation on the ecommerce. Having the action is not sufficient
we have to trigger it manually.

bzr revid: tde@openerp.com-20140304154433-t9mo6bzsesx7z613
2014-03-04 16:44:33 +01:00
Thibault Delavallée 1802496c9f [FIX] website_sale: fixed wrong method name, sale_reset_order is not defined anymore
bzr revid: tde@openerp.com-20140304143426-0eaec0sr6y4ogta9
2014-03-04 15:34:26 +01:00
Paramjit Singh Sahota 2331b14f57 [UPDATE] Updated the cleditor lib from v1.3.0 to v1.4.4 to fix the INTERNET EXPLORER issues.
bzr revid: psa@tinyerp.com-20140304132534-8dyuusqda5vsdcit
2014-03-04 18:55:34 +05:30
Xavier Morel a0feb7c3c9 [REV] backout xmo@openerp.com-20140303153855-5f2l8v0jq2mgb26f, schemas should not be altered in saas-3
bzr revid: xmo@openerp.com-20140304132101-qysq310wp1oo859n
2014-03-04 14:21:01 +01:00
Thibault Delavallée db2bdee343 MERGE] [FIX] email_template: fix relative -> absolute url conversion
Local URLs are converted into absolute URLs, notably because when using the
email designer, images are added using local URLs. Previously to this fix
the template was analyzed to find local URLs and make them absolute.
However this causes 2 issues :
- mako-based URLs are broken because a scheme is added before the mako that
generated the image src
- when changing the base url, the templates are not updated
The URLs are now converted dynamically when generating the content of the
html. This is done by passing a new parameter that enable the post processing
of the generated content.
Also fixed double body generation when using templates; fields parameter
was not propagated correctly.

bzr revid: tde@openerp.com-20140304112957-l9b10gyjqphs5fgc
2014-03-04 12:29:57 +01:00
Xavier Morel e78a3b18cc [ADD] tentative removal of attachments
Attachments ought be removed only if they are not used in an existing page/web
view.

Theoretically this could be set directly in unlink(), but:
* that would make a nice error message significantly harder
* the expenses of performing a text search in all view archs would be a bit expensive

Notes:
* the views set could be reduced to only "web" views
* the search is likely sensible to false negatives e.g. different order of
  query parameters. It *will* remove images still being used.

bzr revid: xmo@openerp.com-20140304110716-u14w6uo8fbkfa42i
2014-03-04 12:07:16 +01:00
Denis Ledoux f363856773 [FIX] website_hr_recruitment: missing required 'name', which leaded to crash, and the phone field is partner_phone, not just phone. Do you even test what you do ?
bzr revid: dle@openerp.com-20140303174445-j733tpmccc9x855u
2014-03-03 18:44:45 +01:00
Xavier Morel a99a15c960 [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.

bzr revid: xmo@openerp.com-20140303153855-5f2l8v0jq2mgb26f
2014-03-03 16:38:55 +01:00
Xavier Morel ec68d3d8bd [IMP] don't duplicate website_url function field of attachments
bzr revid: xmo@openerp.com-20140303142401-2jaxc3m31tmqw9qa
2014-03-03 15:24:01 +01:00
Xavier Morel 9d00835b2c [FIX] order of attachments in 'existing images' sub-dialog: put last uploaded first
bzr revid: xmo@openerp.com-20140303135426-evouhwgjtwku3v2b
2014-03-03 14:54:26 +01:00
Thibault Delavallée d417da6c1a [MERGE] Sync with saas-3
bzr revid: tde@openerp.com-20140303110400-arkw9yciv4eopb5a
2014-03-03 12:04:00 +01:00
Thibault Delavallée 05fdc2290a [IMP] email_template: relocate url rewritign stuff directly into the rendering method.
bzr revid: tde@openerp.com-20140303104044-hgmii31ga6msf72z
2014-03-03 11:40:44 +01:00
Kersten Jeremy 9d63ad7871 [FIX] Remove default tz from context, to allow website (Public user) to use correct timeZone. Now, module from website using date as event will be displayed with the TimeZone of "Public User" by default
bzr revid: jke@openerp.com-20140303103141-h76t3o075x2xgb25
2014-03-03 11:31:41 +01:00
Kersten Jeremy a94df36bdb [FIX] Remove default tz from context, to allow website (Public user) to usecorrect timeZone. Now event (eg) will be displayed with the TimeZone of "Public User" by default
bzr revid: jke@openerp.com-20140303094159-sh4ixlr6f7uojlft
2014-03-03 10:41:59 +01:00
Denis Ledoux 70d3570846 [FIX]website: do not send False value to google map api to retrieve the image. Otherwise, you are in the middle of the ocean.
bzr revid: dle@openerp.com-20140228170900-lagmopkmkb58exqr
2014-02-28 18:09:00 +01:00
Olivier Dony 55270edc3c [FIX] ir.http.authenticate: avoid discarding sessions when authentication status is unknown
In some cases the authentication check can fail
for an unknown reason (e.g. connection pool is
temporarily full). This should not be treated
as an authentication failure, as the status is
really unknown. Let those exceptions bubble up
instead.

bzr revid: odo@openerp.com-20140228170712-l8smq6u3cmvjtd5e
2014-02-28 18:07:12 +01:00
Denis Ledoux 2d903bcbb8 [FIX]website: stop animation on focus (clean fix)
bzr revid: dle@openerp.com-20140228163112-hru06zno1sl919uq
2014-02-28 17:31:12 +01:00
Kersten Jeremy c55af162d5 [TYPO] Typo for demo calendar
bzr revid: jke@openerp.com-20140228160611-uxq6y89bus33vehy
2014-02-28 17:06:11 +01:00
Christophe Simonis 57c4691236 [TYPO] website_hr_recruitment: s/Kraigslist/Craigslist/g
bzr revid: chs@openerp.com-20140228151648-2f33zqeffg8ipcyg
2014-02-28 16:16:48 +01:00
Christophe Simonis a5fc14193d [FIX] website_mail: forbid access to email_designer routes to public user
bzr revid: chs@openerp.com-20140228151544-ipoih9c924rsbqi1
2014-02-28 16:15:44 +01:00
Christophe Simonis 47c4728f43 [FIX] mail,website_sale: rename file_type to file_type_icon to avoid name conflict with file_type field added by document module
bzr revid: chs@openerp.com-20140228142233-i0mm9lav0czbydkk
2014-02-28 15:22:33 +01:00
Kersten Jeremy 4954c0fa39 [FIX] Allow other users to read field recurrent_id_date from private event, else we cannot see that this event is excluded from a recurrence
bzr revid: jke@openerp.com-20140228143930-3eeam1a3676kgv4i
2014-02-28 15:39:30 +01:00
Kersten Jeremy 015083df09 [FIX] Calendar - Tempalte Mail - Move the if condition who vas between table and tr into td, else wysiwig and some other sanitizers will move the if condition outside the table
bzr revid: jke@openerp.com-20140228140053-02952ews6aadfcjf
2014-02-28 15:00:53 +01:00
Kersten Jeremy b2045b91ac [IMP] Improve dipslay of form_embedded_html for mail Template. Removed the big margin, and add scroll on overflow
bzr revid: jke@openerp.com-20140228135224-my13sabs7f7h3c60
2014-02-28 14:52:24 +01:00
Christophe Matthieu abcd7e4926 [FIX] website snippet: When duplicating a column, the column becomes a col-md-1 instead of keeping existing width
bzr revid: chm@openerp.com-20140228132507-0s6y5k3vkbmusvf1
2014-02-28 14:25:07 +01:00
Christophe Matthieu ce1ff0a854 [FIX] website snippet: Fix parallax with retro-compatibility; Crappy fix for carousel because bootstrap active cycling when user click on a bullet and don't stop when user edit a snippet inside a slider.
bzr revid: chm@openerp.com-20140228131738-il41640r8x9zesll
2014-02-28 14:17:38 +01:00
Christophe Simonis c8971214f9 [FIX] website_sale: allow validation of free orders (amount = 0) without payment transaction
bzr revid: chs@openerp.com-20140228123414-4chmuemyi72rpwgf
2014-02-28 13:34:14 +01:00