Commit Graph

76256 Commits

Author SHA1 Message Date
Frédéric van der Essen 7274f52a82 [MERGE] webclient: FullscreenWidget & IndexedDB allow fullscreen UI for mobile devices and simple storage of large data on the client-side
bzr revid: fva@openerp.com-20131122140248-vmrbc8z7i6foqwsv
2013-11-22 15:02:48 +01:00
Frédéric van der Essen 0a76694628 [IMP] webclient: Introducing SimpleIndexedDB, a key value wrapper around IndexedDB
bzr revid: fva@openerp.com-20131122140048-goaplzrx26jvcmmu
2013-11-22 15:00:48 +01:00
Frédéric van der Essen 5c080a1634 [IMP] webclient: Introducing the FullscreenWidget, enabling fullscreen behavior and fixed zoomlevels on mobile devices
bzr revid: fva@openerp.com-20131122135959-ezv9cmgwp2zfkt00
2013-11-22 14:59:59 +01:00
Christophe Simonis e555872646 [FIX] web: view list: ensure that the mutex of synchronized method `reload_content` is always released.
bzr revid: chs@openerp.com-20131122131037-sqxs1fdh4al32eh2
2013-11-22 14:10:37 +01:00
Martin Trigaux 56d579b1e0 [FIX] email.template: add missing parenthesis to filter all data on email and not the last one
bzr revid: mat@openerp.com-20131122104509-g2pii4m5rj8qpk7w
2013-11-22 11:45:09 +01:00
Christophe Simonis c6d0006d26 [FIX] email.template: add safe filter over email address to allow emails to be sent in the format 'Name <name@company.com>' and avoid escaping.
followup of commit mat@openerp.com-20131121151305-t5je12s4w5uctu0k

bzr revid: chs@openerp.com-20131121170949-5rzr7qovzzkzyvvw
2013-11-21 18:09:49 +01:00
Denis Ledoux 6fd552c3ce [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5139 rev-id: dle@openerp.com-20131121132305-qjlclgz5v9tze1fr
bzr revid: odo@openerp.com-20131120102545-2tlp031yib6viz35
bzr revid: chs@openerp.com-20131120161708-c8sbom592moukwxw
bzr revid: dle@openerp.com-20131121155457-lh7fzouk2upeiu16
2013-11-21 16:54:57 +01:00
Martin Trigaux d2b6174268 [FIX] project_issue: remove test checking the convert_issue_task feature
bzr revid: mat@openerp.com-20131121155324-yg25mzo2css17f13
2013-11-21 16:53:24 +01:00
Olivier Dony 2cba6a5355 [MERGE] Forward-port of latest 7.0 fixes up to rev 9629 rev-id odo@openerp.com-20131121153230-keie85rmes2zh2o8
bzr revid: chs@openerp.com-20131121112139-aw2ara1i1xymue62
bzr revid: odo@openerp.com-20131121154205-ul9hf9tz3h0x2n7m
2013-11-21 16:42:05 +01:00
Olivier Dony 17144e9914 [FIX] stock.picking.in: typo in default_get implementation
bzr revid: odo@openerp.com-20131121153230-keie85rmes2zh2o8
2013-11-21 16:32:30 +01:00
Martin Trigaux 00f7b3b1f1 [REF] procurement: remove legacy code in scheduler from 6.1
bzr revid: mat@openerp.com-20131121153048-n1hxpuu8jg3ayyhw
2013-11-21 16:30:48 +01:00
Martin Trigaux 8b35f23701 [ADD] procurement: add skip_exception parameter on scheduler allowing to have more frequent scheduler only testing confirmed picking
bzr revid: mat@openerp.com-20131121152823-vphwy0jv9b02ajk2
2013-11-21 16:28:23 +01:00
Martin Trigaux 57ea381cac [REF] project_issue: remove unused method convert issue to task (button was removed from view at rev 6898)
bzr revid: mat@openerp.com-20131121152502-kpsax7jze1cc7lbl
2013-11-21 16:25:02 +01:00
Martin Trigaux c3063778ce [FIX] email.template: add safe filter over email address to allow emails to be sent in the format 'Name <name@company.com>' and avoid escaping
bzr revid: mat@openerp.com-20131121151305-t5je12s4w5uctu0k
2013-11-21 16:13:05 +01:00
Denis Ledoux 58080c6569 [FIX] ir, ir_translation: it was not possible to empty the source of a translation, or this is sometime something that we want
bzr revid: dle@openerp.com-20131121132305-qjlclgz5v9tze1fr
2013-11-21 14:23:05 +01:00
Christophe Simonis fc9c571bcd [FIX] fleet: inherits reference fields must be required.
Note: there is no db schema change as orm was forcing these values.

bzr revid: chs@openerp.com-20131121120637-c5ufw20ck30hefr5
2013-11-21 13:06:37 +01:00
Christophe Simonis 6f67143908 [FIX] *: do not call deprecated method LocalService()
bzr revid: chs@openerp.com-20131121120611-06h1pki3460tzj1s
2013-11-21 13:06:11 +01:00
Martin Trigaux 0a60ad5aee [MERGE] [FIX] sale: sale.order.line, remove duplicated state field that made the statusbar in the header to be incorrectly rendered (opw 598572)
lp bug: https://launchpad.net/bugs/1233567 fixed

bzr revid: mat@openerp.com-20131121113304-kntnvmdmoll2n6hl
2013-11-21 12:33:04 +01:00
Martin Trigaux b6b86f34f4 [MERGE] [FIX] stock: correctly recount quantity when split on multiple locations for product reservations (opw 600277)
bzr revid: mat@openerp.com-20131121112321-fdttljrrogsbihf2
2013-11-21 12:23:21 +01:00
Quentin (OpenERP) 7b472fdc2f [FIX] point_of_sale: fixed forgotten reference to 'code_id' (field previously renamed into 'code' to reflect its selection nature)
bzr revid: qdp-launchpad@openerp.com-20131121081749-hgk8qvgt5q1tvjw0
2013-11-21 09:17:49 +01:00
Quentin (OpenERP) ffff06c24c [FIX] purchase: fixed forgotten reference to 'code_id' (field previously renamed into 'code' to reflect its selection nature)
bzr revid: qdp-launchpad@openerp.com-20131121071552-lk2xxv8mxdzcy79b
2013-11-21 08:15:52 +01:00
Launchpad Translations on behalf of openerp bdc5ae3291 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131121052817-v5bocf8e1j6pbuby
2013-11-21 05:28:17 +00:00
Christophe Simonis 8721307dae [IMP] web: avoid double reload() when clicking on a button on a editable form view.
bzr revid: chs@openerp.com-20131120185337-w8857fmwosa36r4d
2013-11-20 19:53:37 +01:00
Launchpad Translations on behalf of openerp b1f8f3dfd2 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131122060235-8k2oxuc94x45jjoc
bzr revid: launchpad_translations_on_behalf_of_openerp-20131122060308-lb2sgcxbv804pafr
bzr revid: launchpad_translations_on_behalf_of_openerp-20131116062541-ouuae0dl331ekjcb
bzr revid: launchpad_translations_on_behalf_of_openerp-20131117054520-eypowk6g8qatvq7n
bzr revid: launchpad_translations_on_behalf_of_openerp-20131120054421-95x86930ezm0p33h
bzr revid: launchpad_translations_on_behalf_of_openerp-20131121063904-5igv5f7tgwlaipvv
bzr revid: launchpad_translations_on_behalf_of_openerp-20131122060313-x4c5bx498gyrkhqr
2013-11-22 06:03:13 +00:00
Martin Trigaux 79d977d491 [MERGE] [FIX] mail: exclude document name from the string to translate (avoid having one translation per file name...)
bzr revid: mat@openerp.com-20131121170505-4i957pyyuz486iy6
2013-11-21 18:05:05 +01:00
Martin Trigaux 161f102486 [MERGE] [IMP] survey: hide readonly field if empty on request form
bzr revid: mat@openerp.com-20131121165012-lqgg06i6tqzvis4i
2013-11-21 17:50:12 +01:00
Martin Trigaux 50121cc659 [MERGE] [FIX] warning: modify onchange behaviour for purchase.order.line to match the one of original purchase.order.line: when removing product, keeps other information instead of setting it to blank. Had the side effet to make impossible to select a unit of measure (required field) without a product (not mandatory)
bzr revid: mat@openerp.com-20131121164723-02617zye2qnekahz
2013-11-21 17:47:23 +01:00
Martin Trigaux 0fae7f6bc9 [FIX] stock: don't display the evaluated boolean in delivery slip report
bzr revid: mat@openerp.com-20131121161445-escpjd0264rh9q28
2013-11-21 17:14:45 +01:00
Denis Ledoux d602f9de03 [ADD]crm_partner_assign: add filter to leads and opp searchviews - My Assigned Partners
bzr revid: dle@openerp.com-20131120171259-z2dnj53e55hl449p
2013-11-20 18:12:59 +01:00
Denis Ledoux 93973114dd [FIX]crm: change typo of opportunities searchview to be consistent to leads searchview
bzr revid: dle@openerp.com-20131120170719-oenzvh67a2t5281n
2013-11-20 18:07:19 +01:00
Denis Ledoux 39e07e7e83 [FIX]crm_partner_assign: use the probability of the stage of the lead instead of the probability ofthe lead directly to choose the lead to reassign, in case of the data is not correct in database (lead probability null, for instance)
bzr revid: dle@openerp.com-20131120170002-54qjaz7wr87u65k9
2013-11-20 18:00:02 +01:00
Denis Ledoux b5f2233381 [FIX]crm: change typo to be more consistent. Assigned to me > My leads, Assigned to My Team(s) > My Team(s)
bzr revid: dle@openerp.com-20131120165825-e2xvhl3ualpezwuy
2013-11-20 17:58:25 +01:00
Thibault Delavallée 1761086ad7 [FIX] mail: auto_subscribe: fix subscription, could have subtypes linked to another model than the current model
bzr revid: tde@openerp.com-20131120154320-gf67wbv3en2f7ral
2013-11-20 16:43:20 +01:00
Launchpad Translations on behalf of openerp 271ed43e7b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131121054848-007arsnnoa8fs65e
bzr revid: launchpad_translations_on_behalf_of_openerp-20131121063838-blqn6j0yfmrlw5vp
2013-11-21 06:38:38 +00:00
Antony Lesuisse a85442d6db [FIX] fleet,project allow demo user to create cars and projects
bzr revid: al@openerp.com-20131120165314-btwzd5b0yvqcg2gc
2013-11-20 17:53:14 +01:00
Christophe Simonis 82da5541e2 [MERGE] remove warnings
bzr revid: chs@openerp.com-20131120161051-pk7n0itjcxx06uwm
2013-11-20 17:10:51 +01:00
Martin Trigaux 2941a64cee [MERGE] [FIX] l10n_fr: Restore the appropriate accounts on tax ACH-19.6, courtesy of Alexis de Lattre (akretion)
bzr revid: mat@openerp.com-20131120155959-kgu0h34wa5k131v0
2013-11-20 16:59:59 +01:00
Martin Trigaux bbe50b786a [MERGE] [FIX] project: add noupdate on data to avoid erasing changes on stages, exclude mail.message.subtypes (want overwrite), courtesy of Alex Comba (Agile BG)
lp bug: https://launchpad.net/bugs/1172149 fixed

bzr revid: mat@openerp.com-20131120151439-96l2z98tebj46fzs
2013-11-20 16:14:39 +01:00
Quentin (OpenERP) d9c8d06454 [FIX] stock: delivery slip fixed
bzr revid: qdp-launchpad@openerp.com-20131120151427-2w47uv3zkamc3u4b
2013-11-20 16:14:27 +01:00
Christophe Simonis c26c178f98 [MERGE] remove warnings
bzr revid: chs@openerp.com-20131120151237-ij9llw0fnhya10f7
2013-11-20 16:12:37 +01:00
Olivier Dony 44664076da [MERGE] Forward-port of latest 7.0 fixes up to rev 9618 rev-id: dle@openerp.com-20131120142131-s333lyva85cyn41o
bzr revid: odo@openerp.com-20131120144059-yyh7emvgdarff09b
bzr revid: odo@openerp.com-20131120144318-11nmn1zj00zmi10z
2013-11-20 15:43:18 +01:00
Martin Trigaux 84deced55e [MERGE] [FIX] hr_expense: add expenses in state 'Waiting payment' in the search filter 'To Pay' (opw 597054)
bzr revid: mat@openerp.com-20131120144002-7wzh6zxily5j7mr5
2013-11-20 15:40:02 +01:00
Quentin (OpenERP) 6ab10e0da5 [REF] stock: renamed picking_barcode.rml into package_barcode.rml
bzr revid: qdp-launchpad@openerp.com-20131120142329-wsvsz4l5f70vs0it
2013-11-20 15:23:29 +01:00
Denis Ledoux 5a0e603589 [FIX]account: fix _balance func field on account.move.line to always return a result for the request ids
bzr revid: dle@openerp.com-20131120142131-s333lyva85cyn41o
2013-11-20 15:21:31 +01:00
Quentin (OpenERP) 8e12147131 [REF] stock: renamed 'code_id' field of stock.picking.type into 'code' because it's a fields.selection now
bzr revid: qdp-launchpad@openerp.com-20131120141912-tc66altz9r59ihrw
2013-11-20 15:19:12 +01:00
Quentin (OpenERP) d9ebd0600a [FIX] stock: barcode scanner UI fixed
bzr revid: qdp-launchpad@openerp.com-20131120104233-5bis81r0ii1kumpw
2013-11-20 11:42:33 +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
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