Commit Graph
81203 Commits
Author SHA1 Message Date
Thibault Delavallée 362953b4a2 [FIX] payment_acquirer: manage amount and fees as float fields with 2 digits, update management in rendering process accordingly.
bzr revid: tde@openerp.com-20131204160451-dwd66tav4poaag2m
2013-12-04 17:04:51 +01:00
Martin Trigaux 0216a53a0f [FIX] convert: better error message when failed to load csv file (module name already in path, no need to append)
bzr revid: mat@openerp.com-20131204155244-sy223fbt0tmpeqw1
2013-12-04 16:52:44 +01:00
Denis Ledoux 0721a21966 [FIX] base: allow all users (including portals) to change their avatar
Force readonly="0" on field image in preferences view, otherwise the readonly can be set by access rights.
Preferences are written with the UID 1, if the fields are in the WRITEABLE FIELDS list of the object res_users.
This is why any users can edit their preferences even if they do not have the rights to write on res.users.
Forcing readonly="0" to make fields editable in the form.

bzr revid: dle@openerp.com-20131204145923-f7jwoah722q188d7
2013-12-04 15:59:23 +01:00
Fabien Meghazi ea037cc7d5 [ADD] status_code to website#render()
bzr revid: fme@openerp.com-20131204145728-ztv6ur760b3nru58
2013-12-04 15:57:28 +01:00
Fabien Meghazi cc49b88487 [ADD] status_code to LazyResponse constructor
bzr revid: fme@openerp.com-20131204145613-721x3ij2ylpykzgw
2013-12-04 15:56:13 +01:00
Thibault Delavallée dbcdddd3d4 [MERGE] Sync with website-al, because sale was broken
bzr revid: tde@openerp.com-20131204130704-fa3pu4gnpku0frsj
bzr revid: tde@openerp.com-20131204144838-vu66z2lsybqtp4hm
2013-12-04 15:48:38 +01:00
ddm 5179f6ecc8 [FIX] Remove broken button
bzr revid: ddm@openerp.com-20131204143538-3gs3m2owznge36b4
2013-12-04 15:35:38 +01:00
Christophe Matthieu edee3e5da3 [FIX] website_sale: shop/confirm_order: from_partner
bzr revid: chm@openerp.com-20131204141056-f4u5rqbbqfka95ka
2013-12-04 15:10:56 +01:00
ddm 67599578b6 [FIX] Removed param default value (fix sitemap)
bzr revid: ddm@openerp.com-20131204135549-qc5xtpx826bqb2ud
2013-12-04 14:55:49 +01:00
Denis Ledoux 41fe705943 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9674 rev-id: dle@openerp.com-20131204133633-t7wfbnipv3jtss82
bzr revid: chs@openerp.com-20131204125051-dexejzwigpu0z1yy
bzr revid: dle@openerp.com-20131204134400-50y7ojeb8pw7k56s
2013-12-04 14:44:00 +01:00
Christophe Matthieu d19c722da3 [FIX] website: language link use keep query
bzr revid: chm@openerp.com-20131204133804-7rzeofuwsa8uuk19
2013-12-04 14:38:04 +01:00
Denis Ledoux c0c971b87a [FIX] sale_crm: wizard crm_make_sale crash if partner_id not sent on the opp.
Because defaults get function of partner_id of wizard read the partner_id of the opp and return the first item of the tuple, but if there isnt a partner on the opp, the read return a false for this field, not a tuple. 
No return the first item of the tuple if the partner_id is set, else False

bzr revid: dle@openerp.com-20131204133633-t7wfbnipv3jtss82
2013-12-04 14:36:33 +01:00
Christophe Matthieu 03a373f8ef [FIX] website_event_track: access right
bzr revid: chm@openerp.com-20131204133038-lhgp3fkbqbzl3irk
2013-12-04 14:30:38 +01:00
ddm 8c03d4cd0d [FIX] Another blog URL bug
bzr revid: ddm@openerp.com-20131204132828-lnk5oe09t98wlh4r
2013-12-04 14:28:28 +01:00
Christophe Matthieu 58eb518155 [FIX] website snippet: slider
bzr revid: chm@openerp.com-20131204130740-mk8jtp8p6ip16q1a
2013-12-04 14:07:40 +01:00
Thibault Delavallée 9f0b5a7c53 [IMP] website_sale: improved the choice of acquirer.
Now all acquirer are displayed using a small icon; a Pay Now button is located on the right that
is the next step for the payment.
All acquirers are rendered with a Pay Now button, but only the currently chosen one is
displayed. This allows to display several acquirers without having to do javascript-based
hacks to tune the form, its action or content.

bzr revid: tde@openerp.com-20131204130628-eeqpfhoqaavhv6nk
2013-12-04 14:06:28 +01:00
Thibault Delavallée 88b7b449cb [IMP] acquirers: added support of context-based submit button customize + transaction url. Also removed all fields holding transaction URLS; calling a method should be sufficient. Also standardized acquirer buttons.
bzr revid: tde@openerp.com-20131204130505-webiutb22kb7t4il
2013-12-04 14:05:05 +01:00
Christophe Simonis 4ab77759cc [MERGE] forward port of branch saas-2 up to revid 9029 chs@openerp.com-20131204125051-dexejzwigpu0z1yy
bzr revid: chs@openerp.com-20131204130023-lgravuoxwlt39pek
2013-12-04 14:00:23 +01:00
Thibault Delavallée 77f6d91236 [IMP] payment_acquirer: improved backend views
bzr revid: tde@openerp.com-20131204125250-7p6gvofiu2sb89az
2013-12-04 13:52:50 +01:00
Thibault Delavallée b7e8b40fb2 [IMP] payment_acquirer: improvements:
- added acquirer_reference standard field on the transaction, valid for most of acquirers
- fixed computation of partner_data before rendering the button, was broken when giving a
partner_id
- added support of tx_url to specify the form URL for the rendered button
- added support of submit_txt and submit_class to customize the submit button of the
rendered form

bzr revid: tde@openerp.com-20131204125227-3g017gue72ujjyqz
2013-12-04 13:52:27 +01:00
Christophe Simonis 8fc992910e [FIX] auth_signup: set an alias for the template user
bzr revid: chs@openerp.com-20131204122609-oi2b8g4p8cy13dux
2013-12-04 13:26:09 +01:00
Christophe Matthieu 16a544fc6f [FIX] website snippet: usabillity
bzr revid: chm@openerp.com-20131204115424-p083i2nt5bbc43s6
2013-12-04 12:54:24 +01:00
Christophe Simonis 08ec6a3805 [FIX] mail: reset alias when copying users
bzr revid: chs@openerp.com-20131204112734-2h569udrxgsgw9kr
2013-12-04 12:27:34 +01:00
Denis Ledoux dea3fdeeed [FIX] im_livechat: many2one channel_id of im_session to the right model.
In im_session model, field channel_id was a many2one to im_user, or, obviously, this should be a many2one to im_livechat.channel
Well, obviously, this is a copy/paste error (or distraction, your choice!). This fix should normally not be pushed on a stable branch (like the current one, saas-2), but considering the severity of the problem, and the few changes in database (alter foreign key only), this is acceptable. Why such a big mistake has not been seen earlier ? Do you even test or read back what you write ?

bzr revid: dle@openerp.com-20131204122727-q0ch5j2v8rrli41e
2013-12-04 13:27:27 +01:00
ddm 3a5112426f [FIX] Test build error (cf. logs/test-js.txt)
bzr revid: ddm@openerp.com-20131204105924-ktiaxmp5j7dvknl9
2013-12-04 11:59:24 +01:00
Xavier Morel b79e56d1af [IMP] clarity of links edition
According to user tests, users have a hard time finding out how to
edit links. Thus, add same system as image edition (a small button
appearing when hovering the element).

Extract and unify these two to avoid redundancies between handlings as
they are broadly similar (only details such as label, positioning and
size of button relative to the element being hovered really change,
the lifecycle itself is the same).

The main setup still isn't very clean, there might be a better way to
do it.

bzr revid: xmo@openerp.com-20131204105212-u0a49nbvwilgtfst
2013-12-04 11:52:12 +01:00
Fabien Meghazi 31381c1469 [FIX] Disable form submition in editable mode
bzr revid: fme@openerp.com-20131204104225-2s3jp325731mqd92
2013-12-04 11:42:25 +01:00
ddm e2f37e7369 [FIX] Blog URL errors (cf. logs/test-js.txt)
bzr revid: ddm@openerp.com-20131204103814-m2r8c5vwuglqjyda
2013-12-04 11:38:14 +01:00
Christophe Simonis 51e05e068b [FIX] ir.http: catch all authentification errors
bzr revid: chs@openerp.com-20131204102430-qxqk8qtze5n5rqe8
2013-12-04 11:24:30 +01:00
Fabien Meghazi 415d24b48f [FIX] blog comment posting results in 404 error
bzr revid: fme@openerp.com-20131204094526-yx4uif5lqp8o8d8p
2013-12-04 10:45:26 +01:00
Launchpad Translations on behalf of openerp 379dc8bf98 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131201054445-5fy8zd7lvnn9mjp2
bzr revid: launchpad_translations_on_behalf_of_openerp-20131202055138-hq05otjnuktjpa48
bzr revid: launchpad_translations_on_behalf_of_openerp-20131204055601-tbzqqhperzffjbjt
bzr revid: launchpad_translations_on_behalf_of_openerp-20131204055642-0rwynvhgvs0r14b3
2013-12-04 05:56:42 +00:00
Fabien Pinckaers 773d7a25d1 [IMP] huge speed improvement on computing prices of several products 916 SQL queries to 216. Still too much.
bzr revid: fp@tinyerp.com-20131203223910-l4hbew0f0iquii9x
2013-12-03 23:39:10 +01:00
Antony Lesuisse 5818b0b2d1 [MERGE] trunk
bzr revid: al@openerp.com-20131203220019-674d9hheqza1v8yb
2013-12-03 23:00:19 +01:00
Antony Lesuisse 447255e021 [FIX] http response handling inside request context
bzr revid: al@openerp.com-20131203215640-ev45het902u6afls
2013-12-03 22:56:40 +01:00
Antony Lesuisse d5aec362a9 [FIX] MockRequestCase
bzr revid: al@openerp.com-20131203214705-6tz63yqo9kk73ztx
2013-12-03 22:47:05 +01:00
Fabien Pinckaers dc35f14d32 [IMP] Removed 1 SQL query for each t-field monetary or float
bzr revid: fp@tinyerp.com-20131203211903-p5uo3shhon8i4umw
2013-12-03 22:19:03 +01:00
Antony Lesuisse 73c943d9b3 [MERGE] trunk
bzr revid: al@openerp.com-20131203192609-dbz5z5dg8x3cuta1
2013-12-03 20:26:09 +01:00
Antony Lesuisse d699b9253a [MERGE] trunk
bzr revid: al@openerp.com-20131203192151-szbvhmanml37a9si
2013-12-03 20:21:51 +01:00
Antony Lesuisse 4c45774b6d [IMP] manual exception handling for non-json controllers
bzr revid: al@openerp.com-20131203191621-xu2350cw0u3izn3s
2013-12-03 20:16:21 +01:00
Antony Lesuisse 43979cfd8f [IMP] http improvement
- context manager request object (removes some ugly hacks)
- improve http error handling
- add lazyresponses

bzr revid: al@openerp.com-20131203190639-e8r1qm9wc82t8g4k
2013-12-03 20:06:39 +01:00
Christophe Matthieu 704607db5a [FIX] website: signin and logout redirect url
bzr revid: chm@openerp.com-20131203173146-7om0xl9b7ubb5cqc
2013-12-03 18:31:46 +01:00
Christophe Matthieu 63a9616138 [FIX] website_hr_recruitment, website_blog
bzr revid: chm@openerp.com-20131203171714-fym4y602l7gfylfw
2013-12-03 18:17:14 +01:00
Fabien Pinckaers 642fce4a5b [IMP] speed improvement + small bug
bzr revid: fp@tinyerp.com-20131203171033-oe6pkzb9jal3ril8
2013-12-03 18:10:33 +01:00
ddm ee2d4327a8 [FIX] access rights
bzr revid: ddm@openerp.com-20131203163131-g7o86fc08gv4if9v
2013-12-03 17:31:31 +01:00
Fabien Meghazi 49f357da54 [FIX] rte crashes when inserting new lines
We deal with text nodes in this case

bzr revid: fme@openerp.com-20131203161630-f34r1nrqcb4m6jge
2013-12-03 17:16:30 +01:00
Martin Trigaux e012bbb2d4 [FIX] rml2pdf: use glob instead of listdir to match on '/usr/share/fonts/TTF/*/*.ttf'
bzr revid: mat@openerp.com-20131203161516-c118p7bmztuyrwlr
2013-12-03 17:15:16 +01:00
Christophe Matthieu abf5c88510 [FIX] website: customize: apply fontawesome to icons
bzr revid: chm@openerp.com-20131203155536-de2htsq0rwv6oepz
2013-12-03 16:55:36 +01:00
Christophe Matthieu d4bfd5b41f [IMP] website_blog: Blog Title renamed into "Blog Post Title"
bzr revid: chm@openerp.com-20131203154839-mxn84lydinun29kc
2013-12-03 16:48:39 +01:00
Christophe Matthieu bc4a7c81bc [FIX] website_sale: fixes for access right with public user, and access to shopping cart, checkout... without passed by shop index, change url add_cart
bzr revid: chm@openerp.com-20131203154422-cwc12og1bgw9j9a8
2013-12-03 16:44:22 +01:00
Martin Trigaux 7c1415e274 [FIX] base_setup: adapt to new api for font
bzr revid: mat@openerp.com-20131203154228-35dw4o874zncbvtv
2013-12-03 16:42:28 +01:00