Commit Graph

74659 Commits

Author SHA1 Message Date
Christophe Simonis 12e262e5c9 [FIX] web: correct "date(time) on 31" tests
bzr revid: chs@openerp.com-20131031111945-u3wi11e4rykpslme
2013-10-31 12:19:45 +01:00
Martin Trigaux 397cebdf4b [IMP] l10n_multilang: remove force_write from function call, mark parameter as deprecated
bzr revid: mat@openerp.com-20131031105318-zkzwdrtbvvmxkzv1
2013-10-31 11:53:18 +01:00
Martin Trigaux 3a103f8dec [IMP] l10n_multilang: revert previous change and move it to l10n_multilang, the accounts are now translatable and with the correct source value
bzr revid: mat@openerp.com-20131031104401-9tgjzs3hohebtit0
2013-10-31 11:44:01 +01:00
Christophe Simonis d9ca536396 [FIX] web: correct date and datetime parsing at end of month.
As `new Date()` return the current date, when we are the 31,
setting the month to a month with less than 31 days will change
the date to next day (1st of next month). This result to a date(time)
object one month ahead of the wanted date(time).

bzr revid: chs@openerp.com-20131031103333-vt68132ptj9sbr04
2013-10-31 11:33:33 +01:00
Martin Trigaux ea212a166b [FIX] account: generate the accounts based on templates with untranslated terms (so benefit from translation)
bzr revid: mat@openerp.com-20131031100809-p0irwjbq3chxjsd9
2013-10-31 11:08:09 +01:00
Chandni Machchhar (OpenERP) a5a4a81391 [FIX] [sale_stock]: When we create group invoice from delivery order, it is taking customer reference only one which is defined while creating sale order.
bzr revid: cac@openerp.com-20131031054756-qgx2wmyf5o0cs2fp
2013-10-31 11:17:56 +05:30
Launchpad Translations on behalf of openerp 30e141708b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131031054753-45rivp2vcydq7cv3
2013-10-31 05:47:53 +00:00
Christophe Simonis f58e4f3f07 [FIX] board: filter available dashboards
lp bug: https://launchpad.net/bugs/1157896 fixed

bzr revid: chs@openerp.com-20131030195508-gw4prkz230m8toma
2013-10-30 20:55:08 +01:00
Christophe Simonis 062d075f36 [MERGE] forward port of branch saas-1 up to revid 3749 chs@openerp.com-20131030180528-hqsztaujjjqev8ky
bzr revid: chs@openerp.com-20131030180941-7409ksn29hrtavzm
2013-10-30 19:09:41 +01:00
Christophe Simonis a237b0525d [FIX] web: allow grouping on fields not present in list view
[FIX] web,web_kanban: read_group: ensure read grouping fields

bzr revid: chs@openerp.com-20131030180242-rxxlawffv13ll5s1
2013-10-30 19:02:42 +01:00
Denis Ledoux 95631cdf9f [FIX]crm_partner_assign: set probabilities of stages 'Assigned' and 'To recycle' to 10% and 5% (respectively), to avoid to match the subtype message 'Opportunity Lost' when changing to this specific stages, in the chatter (tracking).
bzr revid: dle@openerp.com-20131030171846-bz141fhan7bqir44
2013-10-30 18:18:46 +01:00
Denis Ledoux 53c1526197 [FIX]crm: crm_lead_to_opportunity wizard, the wizard was not choosing duplicated leads/opps which was having probability null in database
bzr revid: dle@openerp.com-20131030152628-tn12sxhbqbdqh3m4
2013-10-30 16:26:28 +01:00
Martin Trigaux 621b9f54c8 [FIX] stock: use eventual serial number attribute into account while doing product reservation
bzr revid: mat@openerp.com-20131030145432-2sij3p1dae8ghzuz
2013-10-30 15:54:32 +01:00
Martin Trigaux 30b6eea12d [FIX] l10n_multilang: remove force_write attribute in process_translations
When processing a translation, the module used to replace the original term by the translated value for accounts (only object with force_write=True).
This lead to only having the translated version for every user, independent of user's language.
On new chart of accounts, will have different account names according to the user preference.
Keep argument force_write in API for stability reason (will be removed in trunk)

bzr revid: mat@openerp.com-20131030111303-ziusplk330oj9wf4
2013-10-30 12:13:03 +01:00
Martin Trigaux e2d6786bc1 [FIX] ir_attachment: fix security issues on ir_attachment
check: verify the permissions even when no ids are passed (skipped permission checking for create)
create: verify has the write access on the related model (instead of create, was not checked anyway)
function field: execute the write in fnct_inv as superuser (was impossible to have creation without write access)

bzr revid: mat@openerp.com-20131030084408-t857gl7d4lkbrj5p
2013-10-30 09:44:08 +01:00
Launchpad Translations on behalf of openerp 40c309024c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131026062529-74ir3upguunr9mw3
bzr revid: launchpad_translations_on_behalf_of_openerp-20131027061317-d9s440jzv1juvswi
bzr revid: launchpad_translations_on_behalf_of_openerp-20131028054233-15znliqv2eh2jq0i
bzr revid: launchpad_translations_on_behalf_of_openerp-20131029051429-rcytejyrg2s4t9db
bzr revid: launchpad_translations_on_behalf_of_openerp-20131030055438-gp0hyend0jooi941
2013-10-30 05:54:38 +00:00
Launchpad Translations on behalf of openerp 23e6b81833 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131026062452-54qhvc3cru0x8e6h
bzr revid: launchpad_translations_on_behalf_of_openerp-20131029051406-apyhsdmupva2pdpz
bzr revid: launchpad_translations_on_behalf_of_openerp-20131030055412-kuwph2dx2jfeepwc
2013-10-30 05:54:12 +00:00
Christophe Simonis be9bb538bc [FIX] crm.phonecall: correct view to call correct on_change method
bzr revid: chs@openerp.com-20131029192838-6c6z22enbcgotqma
2013-10-29 20:28:38 +01:00
Martin Trigaux 15905e78c5 [FIX] ir_attachment: fix security issues on ir_attachment
check: verify the permissions even when no ids are passed (skipped permission checking for create)
create: verify has the write access on the related model (instead of create, was not checked anyway)
function field: execute the write in fnct_inv as superuser (was impossible to have creation without write access)

bzr revid: mat@openerp.com-20131029171420-x87wu7ph8ej7mtro
2013-10-29 18:14:20 +01:00
Martin Trigaux 9134b1b6d7 [FIX] purchase: post message on purchase order as admin if have no read access (would block validating invoice, opw #596294)
bzr revid: mat@openerp.com-20131029095012-4v4qyooblzgpkcz5
2013-10-29 10:50:12 +01:00
Martin Trigaux 7f9b84150f [FIX] purchase: apply same fix to invoice paid
bzr revid: mat@openerp.com-20131029093404-hw95lpcjsnok2wxa
2013-10-29 10:34:04 +01:00
Martin Trigaux 44d117398a [FIX] purchase: post message on purchase order as admin if have no read access (would block validating invoice, opw #596294)
bzr revid: mat@openerp.com-20131029092353-yg0wxl42352yu2rb
2013-10-29 10:23:53 +01:00
niv-openerp 866148efa4 [FIX] Corrected the redirect_with_hash() method that produced an incorrect url in IE and safari
bzr revid: nicolas.vanhoren@openerp.com-20131029090150-u397wkzdo9an9n0w
2013-10-29 10:01:50 +01:00
niv-openerp abe6df638d [FIX] Reverted modification of behavior in 3858 and replaced it with a fix that solves the core problem
(the fact that the function redirect_with_hash() didn't produced the expected effect in safari). To solve
that problem, the method was simply modified to use the same trick already used in IE that has the same
problem than safari.

bzr revid: nicolas.vanhoren@openerp.com-20131029085356-hb2sk4g7j3xh4zar
2013-10-29 09:53:56 +01:00
Denis Ledoux 108eea6524 [MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 8797 rev-id: dle@openerp.com-20131028202715-uinjafcgpnw1nucx
bzr revid: mat@openerp.com-20131028163349-hr0ul2uf18fcvg4b
bzr revid: dle@openerp.com-20131028202944-eddqtgtikjq93nil
2013-10-28 21:29:44 +01:00
Denis Ledoux 71c11fdbdb [FIX]account_followup: revert commit 8795 (dle@openerp.com-20131028131851-q6x6rljvjs25vlng), because it requires some more access rights, a proper fix is needed for the group by
bzr revid: dle@openerp.com-20131028202715-uinjafcgpnw1nucx
2013-10-28 21:27:15 +01:00
Martin Trigaux d5211929b8 [MERGE] forward port of 7.0 until revision 9546 (launchpad_translations_on_behalf_of_openerp-20131028054233-15znliqv2eh2jq0i)
bzr revid: mat@openerp.com-20131028161227-rpv6d0unjmg12jgk
2013-10-28 17:12:27 +01:00
Olivier Dony d1d35b3f57 [FIX] mail.thread: message_redirect_action should not crash when the message has been deleted
bzr revid: odo@openerp.com-20131028160100-yhebao3adbzz00cn
2013-10-28 17:01:00 +01:00
Olivier Dony 5db5d655d6 [IMP] res.users: default search field should match emails too
bzr revid: odo@openerp.com-20131028155639-it1q12xt5iul1oac
2013-10-28 16:56:39 +01:00
Olivier Dony 06a3255576 [IMP] res_partner: default search field can be based on display_name + have email matching by default
This more closely matches the behavior of name_search,
until name_search is actually available in search views.

bzr revid: odo@openerp.com-20131028155600-1dwd35sjht2of63m
2013-10-28 16:56:00 +01:00
Christophe Simonis 12690a7cfe [FIX] project_issue: correct issue escalation
bzr revid: chs@openerp.com-20131028145712-a6egn04g1g2va5cs
2013-10-28 15:57:12 +01:00
Martin Trigaux dcf15108f0 [FIX] list: force to recompute the selection as closing group reset items and would lead to an incorrect count of ids (eg: not hidding sidebar when no item is selected) (opw #599969)
bzr revid: mat@openerp.com-20131028144738-qpanf41yu1i92klh
2013-10-28 15:47:38 +01:00
Martin Trigaux 9edf16f669 [FIX] list: force recompute the selection as closing group reset properties (opw #599969)
bzr revid: mat@openerp.com-20131028141647-j6wkvl6plwblh077
2013-10-28 15:16:47 +01:00
Christophe Simonis 6b7ccc16b7 [FIX] mail: mail_message: avoid crash when checking access rules against invalid ids
bzr revid: chs@openerp.com-20131028135050-4hqx129ouy7z5b03
2013-10-28 14:50:50 +01:00
Denis Ledoux bf29caa576 [FIX]account_followup: latest_followup_level_id was missing from tree view, in order to make work the group by Follow Up Level from searchview
bzr revid: dle@openerp.com-20131028131851-q6x6rljvjs25vlng
2013-10-28 14:18:51 +01:00
Launchpad Translations on behalf of openerp daea2f2e08 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131026062534-cy8egi58c7w3cwns
bzr revid: launchpad_translations_on_behalf_of_openerp-20131027061322-op6b5ohzf6eiyiu2
2013-10-27 06:13:22 +00:00
Martin Trigaux 57a78f3f97 [FIX] res_config: don't jump to first root menu after applying changes, instead reload and stay on same configuration page
bzr revid: mat@openerp.com-20131025154657-fk7t72hl9cns2279
2013-10-25 17:46:57 +02:00
xmo d524b95172 [FIX] list view: serialize concurrent calls when loading files and ensure consistency of variables (prevent selection of items in list view lost, opw #599969)
bzr revid: mat@openerp.com-20131025145519-jio03azp64ppi5ro
2013-10-25 16:55:19 +02:00
Christophe Simonis 2029aa28eb [MERGE] forward port of branch saas-1 up to revid 4914 chs@openerp.com-20131025103657-pbnqhw11mygyi5jn
bzr revid: chs@openerp.com-20131025103939-5gta1eifjhx1tsmi
2013-10-25 12:39:39 +02:00
Olivier Dony 1632666101 [FIX] stock: move analysis report incorrectly merges multiple lines with same picking, product and qty
This error probably stems from the useless complexity of
the SQL view declaration and the double GROUP BY levels.

The patch rewrites the view query with a single GROUP BY
level and proper aggregation levels, but the core part
of the patch is to replace the outer `group by product_qty`
with a `sum(product_qty)`.

Some columns were also mentioned twice in the same GROUP
BY clause, for some reason.

bzr revid: odo@openerp.com-20131025103626-7l78kdjjr7c2wesb
2013-10-25 12:36:26 +02:00
Launchpad Translations on behalf of openerp 8bc457816f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131024052057-4ai7sltsmuoke8l5
bzr revid: launchpad_translations_on_behalf_of_openerp-20131025060100-ua2rf6g9urivk8bm
2013-10-25 06:01:00 +00:00
Christophe Simonis 2859897815 [FIX] allow falsy extra attributes on fields.
bzr revid: chs@openerp.com-20131024135448-e2bpgaqu7mvg1icn
2013-10-24 15:54:48 +02:00
Launchpad Translations on behalf of openerp 7345cfb697 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131019052730-g67chkz69pmoi5q4
bzr revid: launchpad_translations_on_behalf_of_openerp-20131020050443-pce4qrtn25h1qir6
bzr revid: launchpad_translations_on_behalf_of_openerp-20131023052203-fvk0akb3avqxkqje
bzr revid: launchpad_translations_on_behalf_of_openerp-20131024052015-8kg0owfhye4ws3xw
bzr revid: launchpad_translations_on_behalf_of_openerp-20131025060039-0t8928ck7dgi8yv6
2013-10-25 06:00:39 +00:00
Thibault Delavallée 357676b6de [MERGE] [FIX] tools: mail: fixed shortening of html content.
Fixed length computation of text in html nodes: multiples successive whitespaces are considered as one whitespaces; better truncate position when adding a read more link; now always protect words (placed after the first word that exceeds the shorten position); pre nodes are preserved about whitespaces; when the read more link should go into a quote, it instead goes at the end of the first parent node not being quoted instead of at a wrong position.

Misc :
- removed an unnecessary loop by merging two root.iter() that do not interfere
- changed occurrences of getiterator to iter, because getiterator is deprecated
- nodes are cleaned after processing, removing all attributes used to tag nodes
- fixed a bug about cleaning span containing only whitespaces not always cleaned

Added tests for shorten position.

bzr revid: tde@openerp.com-20131024084411-pytwt9g1gdmoebzc
2013-10-24 10:44:11 +02:00
Thibault Delavallée dbe253b0e4 [FIX] Fixed bug due to copy-and-paste: outertext is now valid
bzr revid: tde@openerp.com-20131024083955-ipbsf8rxbzm0mag3
2013-10-24 10:39:55 +02:00
Launchpad Translations on behalf of openerp 95bca0c031 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131024052102-y6y20mjt0raox65i
2013-10-24 05:21:02 +00:00
Olivier Dony 9b7398820e [DOC] stock: for the record, rationale for stock.location.complete_name being stored
bzr revid: odo@openerp.com-20131023163247-bir34amewsxiby2t
2013-10-23 18:32:47 +02:00
Olivier Dony 9dce48185f [IMP] portal_hr: avoid shadowing parent _description for no reason
bzr revid: odo@openerp.com-20131023163108-ic3xp7yt3lx4bmkx
2013-10-23 18:31:08 +02:00
Olivier Dony 0354391b10 [IMP] crm: defaults can be literals
bzr revid: odo@openerp.com-20131023163029-z3q0ve4jykanibkv
2013-10-23 18:30:29 +02:00
Olivier Dony a0fab67694 [FIX] hr_holidays: leave holiday overlap should ignore cancelled/refused ones
Obviously a cancelled leave does not really
overlap with a new one.

bzr revid: odo@openerp.com-20131023162928-56vdsjxr8sa4n3jv
2013-10-23 18:29:28 +02:00