Commit Graph

75076 Commits

Author SHA1 Message Date
Frédéric van der Essen 28c074dcb2 [MERGE] from trunk
bzr revid: fva@openerp.com-20131126142328-26gdibac45v17djm
2013-11-26 15:23:28 +01:00
Frédéric van der Essen 1a96fe1402 [WIP] point_of_sale: mobile ui optimisations
bzr revid: fva@openerp.com-20131125172726-xp81rn938rtfwlbs
2013-11-25 18:27:26 +01:00
Christophe Simonis bb1e256f5b [MERGE] forward port of branch saas-2 up to revid 9010 dle@openerp.com-20131125143003-vjtzj1c5051pdnk3
bzr revid: chs@openerp.com-20131125150054-b135qshkx6icakgk
2013-11-25 16:00:54 +01:00
Denis Ledoux 7baee28221 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9642 rev-id: dle@openerp.com-20131125160315-tj8n5bv6e5yv8jku
bzr revid: dle@openerp.com-20131125143003-vjtzj1c5051pdnk3
bzr revid: dle@openerp.com-20131125160523-hecq5u2uo0mfyoq0
2013-11-25 17:05:23 +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
Christophe Simonis 3211a29d9b [MERGE] forward port of branch 7.0 up to revid 5148 mat@openerp.com-20131125125008-wmpssjk5vygdcc0w
bzr revid: chs@openerp.com-20131125151017-lmj53bxg1pfrr4a7
2013-11-25 16:10:17 +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
Thibault Delavallée f148061b94 [MERGE] [IMP] chatter: improved 'Log a note'
- the button is now only displayed for employee users. This is done
by overriding the fields_view_get in mail.thread and adding options
to the widget according to the groups the user belongs to. Indeed
it is currently not possible to set widget options specific to
some groups. Therefore an override of fields view get was
necessary.
- small layout improvements: Log a note -> Log an internal note, 
background color of notes updated.

bzr revid: tde@openerp.com-20131125130455-u8517iyr4jgdgoqn
2013-11-25 14:04:55 +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
Thibault Delavallée 38f3c1c1f2 [MERGE] [IMP] mail: invite wizard: the option of sending an email when inviting someone
is now checked by default.

bzr revid: tde@openerp.com-20131125111253-926t4d8brmd90el9
2013-11-25 12:12:53 +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
Frédéric van der Essen 3fe26a6bb7 [MERGE] from trunk
bzr revid: fva@openerp.com-20131125103655-2w83i8oy6ebtruin
2013-11-25 11:36:55 +01:00
Thibault Delavallée 000c38816d [MERGE] [IMP] Addons: updated some field labels to avoid duplicates to ease
the import / export process

Aso includes
- project: deprecated priority field: use sequence instead
- base_calendar: calendar.event: deprecated organizer field: use organize_id instead

bzr revid: tde@openerp.com-20131125093741-hx9hpj85xqfalvqw
2013-11-25 10:37:41 +01:00
ajay javiya (OpenERP) 748253929f [IMP]: set default 'sendmail' check box true
bzr revid: aja@tinyerp.com-20131125092349-jpgsilprpag4a2bq
2013-11-25 14:53:49 +05:30
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
Launchpad Translations on behalf of openerp bba9e86c41 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131123060118-7bayd565wi4mh8nk
bzr revid: launchpad_translations_on_behalf_of_openerp-20131125053223-t2rb928yzma23a29
bzr revid: launchpad_translations_on_behalf_of_openerp-20131125053248-reb9oruqgxx0v61c
2013-11-25 05:32:48 +00:00
Christophe Simonis 043fe6c2d5 [FIX] base: on_change_login only set email for valid emails
bzr revid: chs@openerp.com-20131124164435-977xi3eg7svn5mgz
2013-11-24 17:44:35 +01:00
Christophe Simonis 84fd6ea4f1 [FIX] yaml import: for record tags, do not shadow values explicitly set in yaml.
bzr revid: chs@openerp.com-20131124115235-13sc11q51v95hxfr
2013-11-24 12:52:35 +01:00
Christophe Simonis fb44c859e2 [FIX] {crm,crm_partner_assign}: email.template: filter the whole expression instead of only the last part
bzr revid: chs@openerp.com-20131122194415-9ho9vf6f1b0qkmhd
2013-11-22 20:44:15 +01:00
Christophe Simonis 0244543c71 [MERGE] forward port of branch 7.0 up to revid 9636 mat@openerp.com-20131122165504-tmbg0ixhqed4kdkz
bzr revid: chs@openerp.com-20131122193122-wpdfsfn24ezj1qrp
2013-11-22 20:31:22 +01: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 162dd9ad17 [MERGE] forward port of branch 7.0 up to revid 4075 chs@openerp.com-20131122170316-lbuxddprrgz1are3
bzr revid: chs@openerp.com-20131122131553-i22dj95bvofb7aeu
bzr revid: chs@openerp.com-20131122172422-tsd8wzqkbqknrw1w
2013-11-22 18:24:22 +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
Denis Ledoux c782692d56 [FIX]sale: quotation/sale order sent by email were not anymore set to state quotation sent, because the workflow was triggered according to a specific value in the context, which was not there anymore(default_model changed to active_mode, default_res_id changed to active_ids
bzr revid: dle@openerp.com-20131122150606-ruqe2l0e7gn84upf
2013-11-22 16:06:06 +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
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
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
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