Commit Graph
81203 Commits
Author SHA1 Message Date
Gery Debongnie 01a4fc3624 [IMP] col expansion support in pivottable widget, improve the column headers rendering (addon web_graph)
bzr revid: ged@openerp.com-20131120110821-8r4q3dybhndm3gjz
2013-11-20 12:08:21 +01:00
ddm c706db9b79 [IMP] Tour code cleanup
bzr revid: ddm@openerp.com-20131120110757-lq4gnmxj9nf1e7p0
2013-11-20 12:07:57 +01:00
ddm e8858b02a6 [IMP] Simplify tour declaration II
bzr revid: ddm@openerp.com-20131120110233-1hoc40q2wrs0739d
2013-11-20 12:02:33 +01:00
ddm 10e7a76ae4 [IMP] Simplify tour declaration
bzr revid: ddm@openerp.com-20131120105205-u5w4167rposrfazd
2013-11-20 11:52:05 +01:00
ddm be6c14c5b6 [IMP] Shop tour code cleanup
bzr revid: ddm@openerp.com-20131120104107-hoiu7n6cq68qf69u
2013-11-20 11:41:07 +01:00
ddm 6e043bca3b [IMP] Blog tour code cleanup
bzr revid: ddm@openerp.com-20131120103907-06dfmxjhq7ad18wz
2013-11-20 11:39:07 +01:00
ddm e7872e0f93 [IMP] Blog tutorial first steps
bzr revid: ddm@openerp.com-20131120102420-idavehs3hgb8y7v6
2013-11-20 11:24:20 +01:00
Olivier Dony b7865502e4 [FIX] orm.browse_record: access error due to prefetch of indirectly referenced records (OPW #596679)
The browse_record prefetching algorithm attempts to
load data for all known records from the requested
model (i.e. all IDs present in the browse cache),
regardless of how indirectly/remotely they were
referenced. An indirect parent record may therefore
be prefetched along with its directly browsed children,
possibly crossing company boundaries involuntarily.

This patch implements a fallback mechanism when
the prefetching failed due to what looks like an
ACL restriction. This being a fuzzy concept at the
moment, it does its best to only catch a restricted
set of exceptions, and retry loading the data for
the directly requested ID only.

This may cause a small performance penalty in case
of real errors (with some spurious logging too),
but should only be triggered in very few cases.

The downside when this happens is that the prefetching for that
model gets effectively disabled, requiring multiple
SQL queries for further access to the data of
the other directly browsed records.

This EAFP approach seems safer and faster than
a LBYL technique where we would have to filter
all indirect m2o references according to ACLs
before allowing them to enter the cache.

lp bug: https://launchpad.net/bugs/1238042 fixed
lp bug: https://launchpad.net/bugs/1212429 fixed

bzr revid: odo@openerp.com-20131120100627-031fljyf4ckprc9b
2013-11-20 11:06:27 +01:00
Christophe Simonis da00eab39a [FIX] l10n_in_hr_payroll: use xmlid instead of name searching salary rule categories (they may have been renamed, forbidding upgrade)
bzr revid: chs@openerp.com-20131120100623-ip33s4upffu1a52h
2013-11-20 11:06:23 +01:00
ddm bb15c21dc9 [IMP] Blog tour scaffolding
bzr revid: ddm@openerp.com-20131120094423-ra4e6xmmty6pmpk2
2013-11-20 10:44:23 +01:00
Thibault Delavallée d1bc4d3766 [MERGE] Sync with website-al
bzr revid: tde@openerp.com-20131120091851-mtln13mmv8amuau7
2013-11-20 10:18:51 +01:00
Xavier Morel fd02a389e9 [REM] apparently unnecessary icons
bzr revid: xmo@openerp.com-20131120091147-4vshzojq6mwhvice
2013-11-20 10:11:47 +01:00
Xavier Morel 36b21e3eca [REM] CKEDITOR development source, 4.3 final added to web client
bzr revid: xmo@openerp.com-20131120080142-x5vewroum39jwn3g
2013-11-20 09:01:42 +01:00
Xavier Morel f39d4398b8 [ADD] custom build of CKEditor 4.3 final
bzr revid: xmo@openerp.com-20131120080111-vvtfcpjlxhz66wn2
2013-11-20 09:01:11 +01:00
Launchpad Translations on behalf of openerp 17fe569269 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131119052725-2fcjekn5ouumctna
bzr revid: launchpad_translations_on_behalf_of_openerp-20131120052525-2pwf2q3wdcrbqics
2013-11-20 05:25:25 +00:00
Christophe Simonis cd810ea7bd merge upstream
bzr revid: chs@openerp.com-20131119185353-qfhaice61xg7qfhn
2013-11-19 19:53:53 +01:00
Olivier Dony c79b600b1d [FIX] delivery: the stock.picking.{in,out} workaround was only partial
Due to a framework limitation the virtual stock.picking.in
and stock.picking.out models need to duplicate the extra
columns added to the stock.picking master model.
This was only partially done, leading to errors in
some cases when stock.picking.{in,out} were directly
used by business methods.

bzr revid: odo@openerp.com-20131119181855-cciozs8fv3ll9bd8
2013-11-19 19:18:55 +01:00
Thibault Delavallée e4443ee3ce [IMP] payment_acquirer_transfer: WIP about makign this module actually work.
- improved form: using acquirer.message to display custom message, like the account number
- added controllers; form will directly send to a controller that will validate the
sale order, then back to the payment checkout process.

bzr revid: tde@openerp.com-20131119180400-m6okb7empnpnre2p
2013-11-19 19:04:00 +01:00
Thibault Delavallée d598c988ff [CLEAN] payment_acquirer_transfer: module cleaning, removed dummy tests, simplified form button to only display the acquirer message
bzr revid: tde@openerp.com-20131119173302-6plxxftcivjapnd4
2013-11-19 18:33:02 +01:00
Thibault Delavallée 5fddd6b6f2 [CLEAN] payment_acquirer_ogone: misc cleaning + code cleaning in controller
bzr revid: tde@openerp.com-20131119172645-h4d2iiesp8wi1z7f
2013-11-19 18:26:45 +01:00
Thibault Delavallée ff8498fff0 [ADD] payment_acquirer: added message field, displaying information about the process specific to the acquirer
bzr revid: tde@openerp.com-20131119172516-peyefk8ciz2hip57
2013-11-19 18:25:16 +01:00
Thibault Delavallée 18e45e9c1e [CLEAN] payment_acquirer: mise cleaning
bzr revid: tde@openerp.com-20131119164428-sq30m2jg1lcps00t
2013-11-19 17:44:28 +01:00
Thibault Delavallée fe1841e23a [DOC] payment_acquirer: added comments in payment_acquirer and payment_transaction models, removed unnecessary licence
bzr revid: tde@openerp.com-20131119164102-dzhiynea3dgtad53
2013-11-19 17:41:02 +01:00
Christophe Matthieu e41e8f3957 [IMP] website_hr_recruitment: clear url path
bzr revid: chm@openerp.com-20131119161403-wsqwgfi9w3ythjeg
2013-11-19 17:14:03 +01:00
ddm 7a91653e50 [IMP] Changed tour message based on apr's request
bzr revid: ddm@openerp.com-20131119161311-33to93uqz7mr2t5m
2013-11-19 17:13:11 +01:00
ddm 25af9b4f89 [FIX] Mobile preview backdrop issue
bzr revid: ddm@openerp.com-20131119160215-3ti0sc1au0083mve
2013-11-19 17:02:15 +01:00
Thibault Delavallée 38a9a3f480 [MERGE] Sync with website-al
bzr revid: tde@openerp.com-20131119160204-1yvqbg4vgpc0bkqs
2013-11-19 17:02:04 +01:00
Thibault Delavallée 4f6e792733 [IMP] website_sale: improved checkout process
- now going to shop/confirmation when coming back from the acquirer
- added poll on the confirmation page to wait for data from acquirer
- misc cleaning of checkout process, order and transaction management
- added cancel state on payment.transaction, when canceled by the
customer

bzr revid: tde@openerp.com-20131119160129-fkwkhjvk1bh0uarf
2013-11-19 17:01:29 +01:00
Xavier Morel a1463c60b3 [CHG] **kw don't prevent url searching/listing anymore
After discussion and addition of support for the methods parameter (on
@route), it's been determined that:

* POST endpoint must set up method correctly

* **kw on GET endpoints must be completely optional, mandatory query
    arguments should be added as formal parameters without a default
    values

* URLs can thus be generated for methods with **kw, simply by ignoring
  it entirely

bzr revid: xmo@openerp.com-20131119154254-vp0zfnzjvi451vv0
2013-11-19 16:42:54 +01:00
ddm e17d99988b [FIX] Shop tutorial false start
bzr revid: ddm@openerp.com-20131119153908-8n1kse1y2js7v8oj
2013-11-19 16:39:08 +01:00
Christophe Matthieu 20add62aef [IMP] website_sale: Remove new button
bzr revid: chm@openerp.com-20131119152903-r1h3slpy5vigfor4
2013-11-19 16:29:03 +01:00
Christophe Matthieu cae5522196 [IMP] website_sale: breadcrum layout in my cart
bzr revid: chm@openerp.com-20131119152344-w2f56nmd2ce0spon
2013-11-19 16:23:44 +01:00
ddm 47295c4e0e [FIX] Fixes to shop tour
bzr revid: ddm@openerp.com-20131119151059-8xl169vodupwy8xw
2013-11-19 16:10:59 +01:00
Christophe Matthieu 64c70ddf33 [IMP] website: group website_publisher and website_designer grouped in the user form
bzr revid: chm@openerp.com-20131119145714-ot106cxrv0w1qfi8
2013-11-19 15:57:14 +01:00
Gery Debongnie ad8bddd00e [IMP] col expansion support in pivottable widget, still many bugs left (addon web_graph)
bzr revid: ged@openerp.com-20131119145233-n8gjast7q48foku9
2013-11-19 15:52:33 +01:00
Christophe Matthieu 5e7a8a957c [IMP] website editor: better rendering of the popover when failure write raise by except_osv.
bzr revid: chm@openerp.com-20131119143259-vm7o3vq79358h56w
2013-11-19 15:32:59 +01:00
Fabien Meghazi 814ee75c4f [ADD] website.parseHash() & parseSearch() helpers
bzr revid: fme@openerp.com-20131119142007-sf2u3s6x46okkotm
2013-11-19 15:20:07 +01:00
Denis Ledoux b7988bcc5a [FIX] ir, ir_attachement: traceback if try to create attachement without res_id, caused by check access rights trying to check if the user had the right to read the object with a res_id 0
bzr revid: dle@openerp.com-20131119140246-r8dd7h0di4aigjss
2013-11-19 15:02:46 +01:00
Christophe Matthieu 176a78e161 [IMP] website: add website_designer group and access rules to edit qweb view
bzr revid: chm@openerp.com-20131119135717-6sv54lpm5smybsib
2013-11-19 14:57:17 +01:00
Christophe Matthieu 8054696a43 [FIX] website editor for IE
bzr revid: chm@openerp.com-20131119135704-rnva3skoh55h3eti
2013-11-19 14:57:04 +01:00
Fabien Meghazi 8e68c33a4b [MOV] Moved methods filtering support from @website.route to @http.route
bzr revid: fme@openerp.com-20131119135428-fm3bfbp83anoxgo6
2013-11-19 14:54:28 +01:00
Fabien Meghazi 9b9b5d09ca [ADD] methods attribute to @http.route decorator
bzr revid: fme@openerp.com-20131119135200-jesz3kijqa0ape40
2013-11-19 14:52:00 +01:00
Denis Ledoux 2c48cd977b [FIX] [IMP] mail: refactored code of message_auto_subscribe.
This new code allows faster computation, because it avoids
- searching in a many2many relationship that is very costly in production
databases, because it is replaced by an 'id in [ids]' equivalent leaf
that can be huge.
- browsing in a create/write (should also lessen the number of issues
about read access rights in create)

A new optionnal parameter is given to the method, that are the
modified values. If this is not given (compatibility-mode) the
records are browsed to fetch the value.

bzr revid: dle@openerp.com-20131119135143-w4tcsnf8hdiyql0j
2013-11-19 14:51:43 +01:00
Christophe Simonis f534c7e3f2 [FIX] web: when in monodb mode, allow admin routes to be called without being logged in.
This restore old behavior lost by commit 3882 chs@openerp.com-20131118172304-a54lgu6dm865k8xf

bzr revid: chs@openerp.com-20131119134815-hui4ph7a8ksgfxdt
2013-11-19 14:48:15 +01:00
Gery Debongnie 3ce4ec44d9 [IMP] preliminary work on supporting col expansion in pivottable widget (addon web_graph)
bzr revid: ged@openerp.com-20131119132024-k67wlje2h14p5ptu
2013-11-19 14:20:24 +01:00
Xavier Morel b6be7b87c6 [IMP] add img-responsive to images generated via dialog
avoids having the image end up larger than its container

bzr revid: xmo@openerp.com-20131119131113-9010p4tubk1yz10s
2013-11-19 14:11:13 +01:00
Xavier Morel ba2ee4e287 [FIX] cleanup image edition button on editor save
bzr revid: xmo@openerp.com-20131119125520-qpts34qbx1oofdc1
2013-11-19 13:55:20 +01:00
Xavier Morel 86a0f67a69 [ADD] note about leftover task
bzr revid: xmo@openerp.com-20131119122906-9meh7ubye952o67j
2013-11-19 13:29:06 +01:00
ddm a89c3dff4c [FIX] Missing double quotes
bzr revid: ddm@openerp.com-20131119122605-o6tjpfq7be5tn6zk
2013-11-19 13:26:05 +01:00
ddm 1ec2cb9331 [IMP] Shop tutorial continued
bzr revid: ddm@openerp.com-20131119122319-45fu90nooiwb7so7
2013-11-19 13:23:19 +01:00