Launchpad Translations on behalf of openerp
6fd5575930
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131127053957-ekc1bfm5ohug21aa
2013-11-27 05:39:57 +00:00
Denis Ledoux
d003d8f49a
[FIX]hr_timesheet_sheet: add right-padding to timesheet weekly input in order to avoid the value to be partially cut (in ie 9/10, for instance)
...
bzr revid: dle@openerp.com-20131126170019-bydxxyk7uqzpsb41
2013-11-26 18:00:19 +01:00
Launchpad Translations on behalf of openerp
d95ef220d5
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131126060746-ta374lckemq8t257
2013-11-26 06:07:46 +00:00
Thibault Delavallée
4be6ac800b
[FIX] mail: in some cases tracking is called
...
without the context (some workflows for example). In that case use the
current user lang when generating the automatic message. This is done
by adding it in the context if not present.
lp bug: https://launchpad.net/bugs/1219163 fixed
bzr revid: tde@openerp.com-20131125163808-bbbqwvx22my38zdj
2013-11-25 17:38:08 +01:00
Martin Trigaux
d547acbc4b
[MERGE] [BACKPORT] backport from saas-2 (r4976): ir.model: during garbage collection of obsolete records in _process_end, do it in anti-chronological order
...
bzr revid: mat@openerp.com-20131125162013-z6dhe8eigq7pig0x
2013-11-25 17:20:13 +01:00
Thibault Delavallée
1284c5c0d4
[FIX] mail: fixed reply button in mail_mail form view, should reply
...
to a mail.message, not a mail.mail.
lp bug: https://launchpad.net/bugs/1212190 fixed
bzr revid: tde@openerp.com-20131125155857-m04233fbyan7mglt
2013-11-25 16:58:57 +01:00
Thibault Delavallée
6bfcee2cb7
[FIX] mail: fixed replying to the first message in Inbox that was crashing
...
lp bug: https://launchpad.net/bugs/1212109 fixed
bzr revid: tde@openerp.com-20131125155349-4wfvjxuffnxyumkd
2013-11-25 16:53:49 +01:00
Denis Ledoux
fd080fb745
[FIX]hr_timesheet_sheet: remove useless css rule, which had the effect of erasing the half timesheet weekly input on ie.
...
bzr revid: dle@openerp.com-20131125160315-tj8n5bv6e5yv8jku
2013-11-25 17:03:15 +01:00
Olivier
426a643c4f
[BACKPORT] backport from saas-2 (r4976): ir.model: during garbage collection of obsolete records in _process_end, do it in anti-chronological order
...
bzr revid: olt@openerp.com-20131125144649-mib0vqic0nppziew
2013-11-25 15:46:49 +01:00
Denis Ledoux
40a7a5dc64
[FIX]hr_timesheet_sheet: report, the join clause of the view was wrong, account_analytic_line is join with hr_timesheet_sheet_sheet thanks to the sheet_id (hat.sheet_id=htss.id), not with the line_id (hat.line_id=htss.id)
...
bzr revid: dle@openerp.com-20131125142624-wilbjmlgy9yubcgk
2013-11-25 15:26:24 +01:00
Martin Trigaux
9635119fc1
[FIX] fields: execute name_get for function field of type many2one as SUPERUSER_ID (same behaviour as classical many2one)
...
bzr revid: mat@openerp.com-20131125125008-wmpssjk5vygdcc0w
2013-11-25 13:50:08 +01:00
Martin Trigaux
e2102ca9ce
[IMP] orm: add missing space in error message during validation
...
bzr revid: mat@openerp.com-20131125124717-4jsqv0lfu7hpxusi
2013-11-25 13:47:17 +01:00
Martin Trigaux
04908a9911
[FIX] orm: when duplicating translated object, get more coherent source and destination values if default value is specified
...
user's language: old (untranslated) -> new (translated)
other language: old (untranslated) -> old (translated)
This allows to have coherent behaviour if copy() method is overwritten to change the text (usually applying _('%s (copy)')). The current user will see the translated terms with modification while the translations are kept for others (and need to be updated).
We prefer keeping slightly irrelevant translations (without translated version of '%s (copy)') for other languages than losing it.
The copy_data method does not modify context to get untranslatated values, done fully in copy_translation
bzr revid: mat@openerp.com-20131125122347-5p5oyxab5rf1kk7u
2013-11-25 13:23:47 +01:00
Martin Trigaux
3b5cf5d56c
[FIX] translations: fix tests to adapt to new duplication behaviour and remove context hack in copy_data (translations are now fully handled in copy_translation)
...
bzr revid: mat@openerp.com-20131125115727-o9oejao1ziagqti1
2013-11-25 12:57:27 +01:00
Martin Trigaux
6a5cb66f35
[FIX] sale_crm: return id only for default method of type many2one field in make sale order wizard
...
bzr revid: mat@openerp.com-20131125112629-s3jtair156aqwvpj
2013-11-25 12:26:29 +01:00
Martin Trigaux
fbbc6ea840
[FIX] orm: when duplicating translated object, modify the values to get more coherent values
...
user's language: old (untranslated) -> new (translated)
other language: old (untranslated) -> old (translated)
This allows to have coherent behaviour if copy() method is overwritten to change the text (usually applying _('%s (copy)')). The current user will see the translated terms with modification while the translations are kept for others (and need to be updated).
We prefer keeping slightly irrelevant translations (without translated version of '%s (copy)') for other languages than losing it.
bzr revid: mat@openerp.com-20131125110736-d6iygeq8om5y4fkz
2013-11-25 12:07:36 +01:00
Olivier Dony
4e4b5af3d9
[ADD] i18n: enable Lao language (Laos) as an installation option
...
bzr revid: odo@openerp.com-20131125084215-nddml5h65i2xkuf9
2013-11-25 09:42:15 +01:00
Launchpad Translations on behalf of openerp
5f21b4bff9
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131123062620-6obt60lwob64hi98
bzr revid: launchpad_translations_on_behalf_of_openerp-20131124054757-4w9nik6wieeqf0yg
bzr revid: launchpad_translations_on_behalf_of_openerp-20131125060111-rf445xxiinvazinv
2013-11-25 06:01:11 +00:00
Launchpad Translations on behalf of openerp
3d512cf865
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131123062544-0n565bu6p07jgu7c
bzr revid: launchpad_translations_on_behalf_of_openerp-20131124054736-ndfylcrz06mb9z0i
bzr revid: launchpad_translations_on_behalf_of_openerp-20131125060000-s033pap6hv11grl3
2013-11-25 06:00:00 +00:00
Martin Trigaux
10608a5d18
[FIX] ir_translation: correctly match old and new ids on inherit fields
...
new_id was correctly handled at rev 5118 but the old_id wasn't which could produce inconsistency if there was a gap in ids
bzr revid: mat@openerp.com-20131122175939-lvlf4ih4pyidqxjp
2013-11-22 18:59:39 +01:00
Christophe Simonis
1be71fdae6
[REVERT] revert previous commit which:
...
1. is wrong
2. break runbot
bzr revid: chs@openerp.com-20131122170316-lbuxddprrgz1are3
2013-11-22 18:03:16 +01:00
Martin Trigaux
3a7c74ca31
[FIX] project: convert int to list for iteration write of account.analytic.account
...
bzr revid: mat@openerp.com-20131122165504-tmbg0ixhqed4kdkz
2013-11-22 17:55:04 +01:00
Martin Trigaux
d96d2d8725
[FIX] sale_crm: correctly return id only (would break if readonly field)
...
bzr revid: mat@openerp.com-20131122142211-pvbw55ikk74132zm
2013-11-22 15:22:11 +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
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
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
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
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
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
Christophe Simonis
c26c178f98
[MERGE] remove warnings
...
bzr revid: chs@openerp.com-20131120151237-ij9llw0fnhya10f7
2013-11-20 16:12:37 +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
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
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
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
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