odoo/odoo.git
11 years ago[FIX] OPW 50562: stock: fix picking type for chained picking
Xavier ALT [Mon, 1 Oct 2012 09:00:29 +0000 (11:00 +0200)]
[FIX] OPW 50562: stock: fix picking type for chained picking

  forward port of v6.0 revid: nel@tinyerp.com-20111117130826-1hejw9bonokwalkl

lp bug: https://launchpad.net/bugs/890476 fixed

bzr revid: xal@openerp.com-20121001090029-jitezscbug6x2w0f

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 1 Oct 2012 05:08:42 +0000 (05:08 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120927050206-9oww0b6t82teaqyd
bzr revid: launchpad_translations_on_behalf_of_openerp-20120928045515-sj3zvlzhdv5m02r6
bzr revid: launchpad_translations_on_behalf_of_openerp-20120929052151-rxxx2tu3i522bqqf
bzr revid: launchpad_translations_on_behalf_of_openerp-20121001050842-q9tfkpw6ofpgaqlr

11 years ago[FIX] OPW 574637: account_analytic_plans: remove the strange behavior of instance...
Olivier Dony [Wed, 26 Sep 2012 13:33:09 +0000 (15:33 +0200)]
[FIX] OPW 574637: account_analytic_plans: remove the strange behavior of instance editing - a thing of the past

bzr revid: odo@openerp.com-20120926133309-bw6u0hfpnot8aqvb

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 26 Sep 2012 05:09:33 +0000 (05:09 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120919050615-u96qubymbj1hxbzt
bzr revid: launchpad_translations_on_behalf_of_openerp-20120920045948-atmw77hlrnrhq7n9
bzr revid: launchpad_translations_on_behalf_of_openerp-20120921045843-vqv5qc8tsa7pt0yu
bzr revid: launchpad_translations_on_behalf_of_openerp-20120922052454-ibh1iw0lu49mzj95
bzr revid: launchpad_translations_on_behalf_of_openerp-20120923045808-y1a81h37luk5zktc
bzr revid: launchpad_translations_on_behalf_of_openerp-20120924045737-nxiifq86gvzvmlwq
bzr revid: launchpad_translations_on_behalf_of_openerp-20120925051718-bt6zd1pdc8cffsfw
bzr revid: launchpad_translations_on_behalf_of_openerp-20120926050933-wlhf90jv9fan2m6f

11 years ago[FIX] OPW 577261, 573269: properly refresh one2many records after clicking on a form...
Olivier Dony [Mon, 24 Sep 2012 15:26:28 +0000 (17:26 +0200)]
[FIX] OPW 577261, 573269: properly refresh one2many records after clicking on a form button

This patch reverts the previous patch for OPW 573269
that did not properly fix all cases (workflow buttons
for instance). This is a backport of the trunk fix.

previous fix: rev-id: xal@openerp.com-20120417145330-ln0mpp06s886z1us
trunk fix: r.3104 rev-id: nicolas.vanhoren@openerp.com-20120924125355-m1b53sjb6hle789z

bzr revid: odo@openerp.com-20120924152628-fj2tp1yezjx5htx0

11 years ago[FIX] OPW 575909: orm: fix order_by for special 'id' field not respecting order direction
Xavier ALT [Mon, 24 Sep 2012 14:00:07 +0000 (16:00 +0200)]
[FIX] OPW 575909: orm: fix order_by for special 'id' field not respecting order direction

bzr revid: xal@openerp.com-20120924140007-rnsw4nw8owzqx4ia

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 24 Sep 2012 04:57:21 +0000 (04:57 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120907051415-ojikx8y8oe1h2slr
bzr revid: launchpad_translations_on_behalf_of_openerp-20120909050828-tdjj3c5n6xkr92t1
bzr revid: launchpad_translations_on_behalf_of_openerp-20120910050004-z5e1m0czm40phhmx
bzr revid: launchpad_translations_on_behalf_of_openerp-20120911051841-l9ude87pfqxo04i9
bzr revid: launchpad_translations_on_behalf_of_openerp-20120912045542-0f56mkx0qmm8nnb7
bzr revid: launchpad_translations_on_behalf_of_openerp-20120917045952-gchize2ygixdtwrk
bzr revid: launchpad_translations_on_behalf_of_openerp-20120918053119-jkaxfc2smq63g0bq
bzr revid: launchpad_translations_on_behalf_of_openerp-20120920045954-kl14763xzvl77sul
bzr revid: launchpad_translations_on_behalf_of_openerp-20120828091916-80igytbp3t51a1bc
bzr revid: launchpad_translations_on_behalf_of_openerp-20120829053109-iuf2120pvaf4amqi
bzr revid: launchpad_translations_on_behalf_of_openerp-20120907051352-64wb7x22pu6dbdtn
bzr revid: launchpad_translations_on_behalf_of_openerp-20120908052918-zf1rf1birmx62y5l
bzr revid: launchpad_translations_on_behalf_of_openerp-20120910045947-2dd18ugkkuwbw6m3
bzr revid: launchpad_translations_on_behalf_of_openerp-20120911051807-f79ngl4vnhx3bj24
bzr revid: launchpad_translations_on_behalf_of_openerp-20120912045514-6mlkvkr7d78dy9u2
bzr revid: launchpad_translations_on_behalf_of_openerp-20120913050048-n31hu4jufrngvzxb
bzr revid: launchpad_translations_on_behalf_of_openerp-20120914051225-ga010nt3r8b6tjze
bzr revid: launchpad_translations_on_behalf_of_openerp-20120915051849-mzjvfdtildgz2dbc
bzr revid: launchpad_translations_on_behalf_of_openerp-20120917045911-w2bkx5x548mp3i3i
bzr revid: launchpad_translations_on_behalf_of_openerp-20120918053047-rbuouh3q0cr8f1xk
bzr revid: launchpad_translations_on_behalf_of_openerp-20120921045822-tlp48xawayasfmgy
bzr revid: launchpad_translations_on_behalf_of_openerp-20120923045759-7xswsoxf92ce4mch
bzr revid: launchpad_translations_on_behalf_of_openerp-20120924045721-xm11vtm3wjby7rh7

11 years ago[FIX] OPW 576692: Exported timezones were not specified, and CalDAV clients like...
Olivier Dony [Tue, 18 Sep 2012 11:27:13 +0000 (13:27 +0200)]
[FIX] OPW 576692: Exported timezones were not specified, and CalDAV clients like mozilla lightning recognize timezone as local instead of UTC

bzr revid: odo@openerp.com-20120918112713-budw9u93vmtxlswt

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 18 Sep 2012 05:31:15 +0000 (05:31 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120918053115-3si6ldg20ytl8ky8

11 years ago[MERGE] OPW 578842: sale_margin: fix call of store parent's '_get_order' function
Xavier ALT [Mon, 17 Sep 2012 07:12:24 +0000 (09:12 +0200)]
[MERGE] OPW 578842: sale_margin: fix call of store parent's '_get_order' function

bzr revid: xal@openerp.com-20120917071224-1cjnqfjlhtnchgx2

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 17 Sep 2012 04:59:48 +0000 (04:59 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120914051248-pvgxrrbj0r627z38
bzr revid: launchpad_translations_on_behalf_of_openerp-20120915051920-prx3o05s08ktn3w5
bzr revid: launchpad_translations_on_behalf_of_openerp-20120916045555-3i27stbdbzu5t9ph
bzr revid: launchpad_translations_on_behalf_of_openerp-20120917045948-2umjdw2lwae4jrq0

11 years ago[FIX] OPW 578842: sale_margin: fix call of store parent's '_get_order' function
Xavier ALT [Fri, 14 Sep 2012 16:14:29 +0000 (18:14 +0200)]
[FIX] OPW 578842: sale_margin: fix call of store parent's '_get_order' function

bzr revid: xal@openerp.com-20120914161429-avy785mav5zzyspo

11 years ago[FIX] account_analytic_analysis: reminder should report consumed hours using the...
Olivier Dony [Thu, 13 Sep 2012 11:54:46 +0000 (13:54 +0200)]
[FIX] account_analytic_analysis: reminder should report consumed hours using the correct field

As the hours_quantity field is used to flag an account
as `to renew`, it should be used as well when reporting
the consumed quantity.

bzr revid: odo@openerp.com-20120913115446-ed9jrq2bode3kboq

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 13 Sep 2012 05:01:14 +0000 (05:01 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120912045539-xqqozf3deiuwgeop
bzr revid: launchpad_translations_on_behalf_of_openerp-20120913050114-p8pwgyeuu95m0sz7

11 years ago[FIX] sale_margin: mixed up arguments passed to 'super'
olt@tinyerp.com [Tue, 11 Sep 2012 07:47:29 +0000 (09:47 +0200)]
[FIX] sale_margin: mixed up arguments passed to 'super'

bzr revid: olt@tinyerp.com-20120911074729-0c9522uj9a2emxx4

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 11 Sep 2012 05:18:33 +0000 (05:18 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120907051413-f03lj0le2zunqhrj
bzr revid: launchpad_translations_on_behalf_of_openerp-20120908052953-xwz2wuxbi6yzopwp
bzr revid: launchpad_translations_on_behalf_of_openerp-20120909050821-mowtl1wmht45nz0k
bzr revid: launchpad_translations_on_behalf_of_openerp-20120910050000-ww5qpa76dquslt5m
bzr revid: launchpad_translations_on_behalf_of_openerp-20120911051833-uopbgqwa5rshxfsc

11 years ago[MERGE] OPW 573257: account.move.line: proper handling of unicode values in period...
Olivier Dony [Thu, 6 Sep 2012 14:35:17 +0000 (16:35 +0200)]
[MERGE] OPW 573257: account.move.line: proper handling of unicode values in period name resolution

bzr revid: odo@openerp.com-20120906143517-zkgs7gbhqom3su33

11 years ago[FIX] OPW 576692 : Exported timezones were not specified, and CalDAV clients like...
Anael Closson [Thu, 6 Sep 2012 13:55:04 +0000 (15:55 +0200)]
[FIX] OPW 576692 : Exported timezones were not specified, and CalDAV clients like mozilla lightning recognize timezone as local instead of UTC.
The timezone modificator is now included in the serialized caldav event without timezone change (instead of not being added to the time part of date fields), and should be recognized by caldav clients as UTC.

Step to reproduce :
* install caldav module
* configure software (for example mozilla lightning) to synchronize via caldav
* add events
* synchronize the external calendar software

buggy results : time values are UTC equivalent of local time instead of being local time
patch results : time values are the same as shown on OpenERP calendar

bzr revid: acl@openerp.com-20120906135504-ya8jgub4sfu30lyb

11 years ago[FIX] o2m breakage introduced in xmo@openerp.com-20120903131744-xfnxpqgn4ixbi7e9
Xavier Morel [Thu, 6 Sep 2012 12:48:16 +0000 (14:48 +0200)]
[FIX] o2m breakage introduced in xmo@openerp.com-20120903131744-xfnxpqgn4ixbi7e9

BufferedDataSet#read_ids expect coherent between #cache and
#to_create, patch removed a record from #cache which was in #to_create
leading to not being able to create new records in editable o2ms:

* The record would be inserted in #cache and #to_create
* The listview would reload the record
  - Evicting the record from #cache
  - And re-reading the record
  - Leading to breakage

Don't evict records locally edited from the cache, the server probably
doesn't know about it (at all) or we can assume the server's outdated,
so the local version remains the "correct" one and there's nothing
more recent to fetch.

bzr revid: xmo@openerp.com-20120906124816-8ivtbppm9pixf8w6

11 years ago[FIX] warning: rename the product_id_change method to onchange_product_id
Stephane Wirtel [Thu, 6 Sep 2012 10:32:09 +0000 (12:32 +0200)]
[FIX] warning: rename the product_id_change method to onchange_product_id

bzr revid: stw@openerp.com-20120906103209-670oz6nyato2pcua

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 6 Sep 2012 04:55:50 +0000 (04:55 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120906045550-drk9hvil6flk42gk

11 years ago[MERGE] OPW 578410: hr_timesheet_invoice: avoid overriding default data with demo...
Olivier Dony [Wed, 5 Sep 2012 12:58:15 +0000 (14:58 +0200)]
[MERGE] OPW 578410: hr_timesheet_invoice: avoid overriding default data with demo data, as it breaks translations for nodemo databases

bzr revid: odo@openerp.com-20120905125815-1hlev4p5yb0l307o

11 years ago[FIX] OPW 578410: hr_timesheet_invoice: avoid overriding default data with demo data...
Olivier Dony [Wed, 5 Sep 2012 10:54:47 +0000 (12:54 +0200)]
[FIX] OPW 578410: hr_timesheet_invoice: avoid overriding default data with demo data, as it breaks translations for nodemo databases

bzr revid: odo@openerp.com-20120905105447-ly01eat4o4407d09

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 5 Sep 2012 05:07:14 +0000 (05:07 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120901053624-g3a3e3tvs9i1oltx
bzr revid: launchpad_translations_on_behalf_of_openerp-20120902045521-3elt6sqbnw9slb14
bzr revid: launchpad_translations_on_behalf_of_openerp-20120903053633-4dloaaelenuiw9xk
bzr revid: launchpad_translations_on_behalf_of_openerp-20120904050822-675wm72wonw8igz9
bzr revid: launchpad_translations_on_behalf_of_openerp-20120905050710-bjhrhpb60fms2hdh
bzr revid: launchpad_translations_on_behalf_of_openerp-20120904050827-dmw7gfwkjyf9c4rh
bzr revid: launchpad_translations_on_behalf_of_openerp-20120905050714-stp2zidgljlcp409

11 years ago[FIX] OPW 578531 Correctly invalidate BufferedDatasetCache when triggering an action...
Xavier Morel [Mon, 3 Sep 2012 13:17:44 +0000 (15:17 +0200)]
[FIX] OPW 578531 Correctly invalidate BufferedDatasetCache when triggering an action @type=action                                                                      ~/projects/tiny/web/current

otherwise when reloaded the record gets re-fetched from the cache, so
any modification from the action remains invisible until the parent
record itself is reloaded

bzr revid: xmo@openerp.com-20120903131744-xfnxpqgn4ixbi7e9

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sat, 1 Sep 2012 05:38:15 +0000 (05:38 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120901053815-53eix4ec0bvh222k

11 years ago[MERGE] OPW 578367: hr_timesheet_sheet: Fixed onchange_employee to also return a...
Chris Biersbach [Fri, 31 Aug 2012 14:44:31 +0000 (16:44 +0200)]
[MERGE] OPW 578367: hr_timesheet_sheet: Fixed onchange_employee to also return a value for user_id

bzr revid: odo@openerp.com-20120831144431-ktp8a8ost8180txe

11 years ago[IMP] re-export translation templates
Xavier Morel [Fri, 31 Aug 2012 13:54:42 +0000 (15:54 +0200)]
[IMP] re-export translation templates

bzr revid: xmo@openerp.com-20120831135442-txspk5qdu2zxcyec

11 years ago[FIX] don't display empty (false) fields literally in calendar event info
Xavier Morel [Fri, 31 Aug 2012 13:22:48 +0000 (15:22 +0200)]
[FIX] don't display empty (false) fields literally in calendar event info

bzr revid: xmo@openerp.com-20120831132248-vat5njs006qac5sb

11 years ago[FIX] have translatable url fields work correctly, courtesy of Guewen Baconnier
Xavier Morel [Fri, 31 Aug 2012 13:12:29 +0000 (15:12 +0200)]
[FIX] have translatable url fields work correctly, courtesy of Guewen Baconnier

bzr revid: xmo@openerp.com-20120831131229-b48hn7fhowlar973

11 years ago[FIX] restrict set_default values to the current user's company, courtesy of Guewen...
Xavier Morel [Fri, 31 Aug 2012 13:07:05 +0000 (15:07 +0200)]
[FIX] restrict set_default values to the current user's company, courtesy of Guewen Baconnier

bzr revid: xmo@openerp.com-20120831130705-gf1jwrospk4u0dsc

11 years ago[FIX] generate noop stubs for all console methods in case of IE8
Xavier Morel [Fri, 31 Aug 2012 12:13:20 +0000 (14:13 +0200)]
[FIX] generate noop stubs for all console methods in case of IE8

bzr revid: xmo@openerp.com-20120831121320-k3xl6ockz61noxtp

11 years ago[FIX] don't lose request_context argument in One2ManyDataSet#get_context
Xavier Morel [Fri, 31 Aug 2012 12:06:13 +0000 (14:06 +0200)]
[FIX] don't lose request_context argument in One2ManyDataSet#get_context

bzr revid: xmo@openerp.com-20120831120613-ahi118ebntnygejy

11 years ago[FIX] red background not appearing on save button of dirty form in MSIE
Xavier Morel [Fri, 31 Aug 2012 12:01:20 +0000 (14:01 +0200)]
[FIX] red background  not appearing on save button of dirty form in MSIE

also, fix nonsensical -box-shadow property

bzr revid: xmo@openerp.com-20120831120120-4xbcjfcroec2cxc0

11 years ago[FIX] MSIE8 errors out when trying to delete a property on the window host object...
Xavier Morel [Fri, 31 Aug 2012 11:57:59 +0000 (13:57 +0200)]
[FIX] MSIE8 errors out when trying to delete a property on the window host object, so set jsonp callback to null instead

bzr revid: xmo@openerp.com-20120831115759-m8hr9o1a7w2h9b4u

11 years ago[FIX] correctly show import errors from detect_data
Xavier Morel [Fri, 31 Aug 2012 11:41:37 +0000 (13:41 +0200)]
[FIX] correctly show import errors from detect_data

wrong class was removed from wrong element

bzr revid: xmo@openerp.com-20120831114137-da4hzgjeooiwbwkq

11 years ago[IMP] reload calendar event after save failure
Xavier Morel [Fri, 31 Aug 2012 11:39:06 +0000 (13:39 +0200)]
[IMP] reload calendar event after save failure

bzr revid: xmo@openerp.com-20120831113906-an2tedhuk4rtojwg

11 years ago[FIX] don't store current context lang in action when creating ir.ui.view.custom...
Xavier Morel [Fri, 31 Aug 2012 11:34:18 +0000 (13:34 +0200)]
[FIX] don't store current context lang in action when creating ir.ui.view.custom for custom dashboards

bzr revid: xmo@openerp.com-20120831113418-7qnduqg89fqs3jds

11 years ago[FIX] list-sorting arrow not displayed and incorrectly positioned in Firefox, Opera
Xavier Morel [Fri, 31 Aug 2012 11:31:28 +0000 (13:31 +0200)]
[FIX] list-sorting arrow not displayed and incorrectly positioned in Firefox, Opera

bzr revid: xmo@openerp.com-20120831113128-0k69ii7fjvkfo537

11 years ago[FIX] OPW 578367: hr_timesheet_sheet: Fixed onchange_employee to also return a value...
Chris Biersbach [Fri, 31 Aug 2012 10:45:03 +0000 (12:45 +0200)]
[FIX] OPW 578367: hr_timesheet_sheet: Fixed onchange_employee to also return a value for user_id

bzr revid: cbi@openerp.com-20120831104503-vu60ueof5sjm0zwz

11 years ago[FIX] call update_dom on all form fields on save, even when they are valid (to clear...
Xavier Morel [Fri, 31 Aug 2012 10:35:04 +0000 (12:35 +0200)]
[FIX] call update_dom on all form fields on save, even when they are valid (to clear out previously set invalid flag)

bzr revid: xmo@openerp.com-20120831103504-nd2jb7y9zzk6lymt

11 years ago[IMP] avoid potential error when specifying duplicated fields in read
Xavier Morel [Fri, 31 Aug 2012 10:32:55 +0000 (12:32 +0200)]
[IMP] avoid potential error when specifying duplicated fields in read

Can't reproduce on my browser/machine, may be config-specific, but doesn't really hurt either way

bzr revid: xmo@openerp.com-20120831103255-2l4f2zhngl0c0k82

11 years ago[FIX] make attachment deletion tooltip translatable
Xavier Morel [Fri, 31 Aug 2012 10:28:26 +0000 (12:28 +0200)]
[FIX] make attachment deletion tooltip translatable

attachment_title can't be a method on SidebarAttachment because it doesn't correctly go through qweb context overloads/copies

bzr revid: xmo@openerp.com-20120831102826-jt5xu37ygx53u3x6

11 years ago[FIX] Correctly add new kanban records (from unfolding column) to dataset so they...
Xavier Morel [Fri, 31 Aug 2012 10:10:20 +0000 (12:10 +0200)]
[FIX] Correctly add new kanban records (from unfolding column) to dataset so they can be edited in form view

bzr revid: xmo@openerp.com-20120831101020-gbopma1a828phvv0

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 31 Aug 2012 05:13:56 +0000 (05:13 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120829053133-ikw7fnl3xfbsftf7
bzr revid: launchpad_translations_on_behalf_of_openerp-20120830052611-tpc1rml32o51u64v
bzr revid: launchpad_translations_on_behalf_of_openerp-20120831051356-1xmz9ykveqdtd91o

11 years ago[FIX]Fixed the issue of save button dirty doesn't change color to red.
msh-openerp [Thu, 30 Aug 2012 10:13:25 +0000 (15:43 +0530)]
[FIX]Fixed the issue of save button dirty doesn't change color to red.

bzr revid: msh@tinyerp.com-20120830101325-br2jvf88enoc6o06

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 30 Aug 2012 05:26:16 +0000 (05:26 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120828100939-57o3hlwidhig7fkm
bzr revid: launchpad_translations_on_behalf_of_openerp-20120830052616-lctzwyi167hu5gs3

11 years ago[FIX] a default value (created using "Set Default" wizard) should never be shared...
<GuewenBaconnier@Camptocamp> [Tue, 28 Aug 2012 14:12:05 +0000 (16:12 +0200)]
[FIX] a default value (created using "Set Default" wizard) should never be shared between companies, but assigned on the user's company

bzr revid: guewen.baconnier@camptocamp.com-20120828141205-56qkdmap8iregjg9

11 years ago[FIX]Fixed the issue of IE8 in which Import functionality is not working.
msh-openerp [Tue, 28 Aug 2012 13:22:44 +0000 (18:52 +0530)]
[FIX]Fixed the issue of IE8 in which Import functionality is not working.

bzr revid: msh@tinyerp.com-20120828132244-shc344j4smo0k4wa

11 years ago[MERGE] OPW 574251: account_voucher: voucher on bank statement, have to use period...
Xavier ALT [Tue, 28 Aug 2012 10:58:11 +0000 (12:58 +0200)]
[MERGE] OPW 574251: account_voucher: voucher on bank statement, have to use period and date from bank statement / bank statement line - not today

bzr revid: xal@openerp.com-20120828105811-2y6dawc747dhhj77

11 years ago[MERGE] staging branch with fixes
Quentin (OpenERP) [Tue, 28 Aug 2012 10:14:27 +0000 (12:14 +0200)]
[MERGE] staging branch with fixes

bzr revid: qdp-launchpad@openerp.com-20120828101427-bmdlu6yckyiu5onw

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 28 Aug 2012 10:07:53 +0000 (10:07 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120828100753-2ni23fsm9ntn1kno

11 years ago[FIX] sale/purchase: uniform the domains on the analytic account field on sale.order...
Quentin (OpenERP) [Tue, 28 Aug 2012 09:29:46 +0000 (11:29 +0200)]
[FIX] sale/purchase: uniform the domains on the analytic account field on sale.order and purchase.order, to match the same domain than in invoices

bzr revid: qdp-launchpad@openerp.com-20120828092946-4h63436hf9vvmnua

11 years ago[MERGE] OPW 267641: crm/crm_action_rule: mail action are not sent to both action...
Xavier ALT [Tue, 28 Aug 2012 08:36:02 +0000 (10:36 +0200)]
[MERGE] OPW 267641: crm/crm_action_rule: mail action are not sent to both action and current watchers

bzr revid: xal@openerp.com-20120828083602-q0hk043oc9ur2i5k

11 years ago[FIX] account, generation of objects from templates: the set of taxes by default...
Quentin (OpenERP) [Tue, 28 Aug 2012 07:48:35 +0000 (09:48 +0200)]
[FIX] account, generation of objects from templates: the set of taxes by default should be done as super user

bzr revid: qdp-launchpad@openerp.com-20120828074835-od3blsdpgmzecbih

11 years ago[FIX] OPW 267641: crm/crm_action_rule: mail action are not sent to both action and...
Xavier ALT [Tue, 28 Aug 2012 07:41:39 +0000 (09:41 +0200)]
[FIX] OPW 267641: crm/crm_action_rule: mail action are not sent to both action and current watchers

  forward port of v6.0 revid: nel@tinyerp.com-20120220115804-e2dw9nq60r0gbchg

bzr revid: xal@openerp.com-20120828074139-mp1xxsbl1ngyoyp8

11 years ago[MERGE] OPW 576610: always reuse printed invoice instead of regenerating
Olivier Dony [Mon, 27 Aug 2012 12:03:05 +0000 (14:03 +0200)]
[MERGE] OPW 576610: always reuse printed invoice instead of regenerating

Backport of trunk fix r.7215
revid:qdp-launchpad@openerp.com-20120808101419-bd1hmpp3nv7byp2o

bzr revid: odo@openerp.com-20120827120305-fln010khfcvjzy29

11 years ago[MERGE] OPW 577292: orm: force computing store values for all columns on unlink()
Xavier ALT [Mon, 27 Aug 2012 08:29:05 +0000 (10:29 +0200)]
[MERGE] OPW 577292: orm: force computing store values for all columns on unlink()

bzr revid: xal@openerp.com-20120827082905-mh12du8t60zzeh0y

11 years ago[MERGE] OPW 577140: stock: use float_compare() to check if initial and provided quant...
Xavier ALT [Mon, 27 Aug 2012 06:48:49 +0000 (08:48 +0200)]
[MERGE] OPW 577140: stock: use float_compare() to check if initial and provided quantity equals - based on UoM rounding

bzr revid: xal@openerp.com-20120827064849-67mo7ln8uyx1z2pl

11 years ago[FIX] OPW 577140: stock: use float_compare() to check if initial and provided quantit...
Xavier ALT [Sun, 26 Aug 2012 20:59:54 +0000 (22:59 +0200)]
[FIX] OPW 577140: stock: use float_compare() to check if initial and provided quantity equals - based on UoM rounding

bzr revid: xal@openerp.com-20120826205954-of9eokcaiok3d7yt

11 years ago[FIX] OPW 577292: orm: force computing store values for all columns on unlink()
Xavier ALT [Sun, 26 Aug 2012 20:26:55 +0000 (22:26 +0200)]
[FIX] OPW 577292: orm: force computing store values for all columns on unlink()

bzr revid: xal@openerp.com-20120826202655-e28mcrpof6iss1bk

11 years ago[FIX] OPW 577292: orm: fix _store_get_values() when requested for empty fields (unlin...
Xavier ALT [Fri, 24 Aug 2012 14:03:36 +0000 (16:03 +0200)]
[FIX] OPW 577292: orm: fix _store_get_values() when requested for empty fields (unlink case)

bzr revid: xal@openerp.com-20120824140336-1kfwa517y8m1qmh8

11 years ago[FIX] display input for url fields in translation dialog
<GuewenBaconnier@Camptocamp> [Fri, 24 Aug 2012 10:18:19 +0000 (12:18 +0200)]
[FIX] display input for url fields in translation dialog

bzr revid: guewen.baconnier@camptocamp.com-20120824101819-d4n83x30mugn54h3

11 years ago[FIX] res_users: improve behavior when user record is locked during login
Olivier Dony [Wed, 22 Aug 2012 16:29:21 +0000 (18:29 +0200)]
[FIX] res_users: improve behavior when user record is locked during login

Avoid logging an ugly and frightening traceback,
plus properly rollback the failed transaction before
continuing.
This is an extra fix for previous commit
rev. 4049 rev-id odo@openerp.com-20120213183207-45ptopqm0szritgx

lp bug: https://launchpad.net/bugs/713216 fixed

bzr revid: odo@openerp.com-20120822162921-i6zrik38w1czkamq

11 years ago[MERGE] BUG 1039664: edi: fix wrong cursor when generating edi_web_url_view
Xavier ALT [Wed, 22 Aug 2012 09:22:21 +0000 (11:22 +0200)]
[MERGE] BUG 1039664: edi: fix wrong cursor when generating edi_web_url_view

  regression from revid: xal@openerp.com-20120820155414-ajy5iyb37uyfsuzo

bzr revid: xal@openerp.com-20120822092221-omje60kw4ieq33y5

11 years ago[FIX] document: complete previous fix, restore sort order after filtering
Olivier Dony [Wed, 22 Aug 2012 09:10:40 +0000 (11:10 +0200)]
[FIX] document: complete previous fix, restore sort order after filtering

bzr revid: odo@openerp.com-20120822091040-96czcj6aunim29jw

11 years ago[FIX] EDI : Correct cursor passed to call,regression fixed caused by http://bazaar...
Serpent Consulting Services [Tue, 21 Aug 2012 21:47:08 +0000 (03:17 +0530)]
[FIX] EDI : Correct cursor passed to call,regression fixed caused by bazaar.launchpad.net/~openerp/openobject-addons/6.1/revision/6956

lp bug: https://launchpad.net/bugs/1039664 fixed

bzr revid: support@serpentcs.com-20120821214708-z08v9l8ind6usgvh

11 years ago[FIX] OPW 577963: ir_attachment: speed up ir.attachment search for large databases
Xavier ALT [Tue, 21 Aug 2012 15:10:52 +0000 (17:10 +0200)]
[FIX] OPW 577963: ir_attachment: speed up ir.attachment search for large databases

bzr revid: xal@openerp.com-20120821151052-jemk0b3d7h0z3t82

11 years ago[FIX] OPW 577963: ir_attachment: speed up ir.attachment search for large databases
Xavier ALT [Tue, 21 Aug 2012 15:08:05 +0000 (17:08 +0200)]
[FIX] OPW 577963: ir_attachment: speed up ir.attachment search for large databases

bzr revid: xal@openerp.com-20120821150805-484i08b6083eigi1

11 years ago[FIX] OPW 577963: ir.attachment: finish previous fix by restoring original sort order
Olivier Dony [Tue, 21 Aug 2012 14:16:05 +0000 (16:16 +0200)]
[FIX] OPW 577963: ir.attachment: finish previous fix by restoring original sort order

bzr revid: odo@openerp.com-20120821141605-ejcfki1rh2z4xhdi

11 years ago[MERGE] fixes in account_voucher
Quentin (OpenERP) [Tue, 21 Aug 2012 14:09:08 +0000 (16:09 +0200)]
[MERGE] fixes in account_voucher

bzr revid: qdp-launchpad@openerp.com-20120821140908-jnl2z30fssqi88z7

11 years ago[FIX] OPW 577963: ir_attachment: speed up ir.attachment search for large databases
Olivier Dony [Tue, 21 Aug 2012 13:19:20 +0000 (15:19 +0200)]
[FIX] OPW 577963: ir_attachment: speed up ir.attachment search for large databases

Frequents calls to list.remove() were being a bottleneck for large
document lists (100k+). Using a set make remove() calls much faster.

This commit has a corresponding server patch in the core ir.attachment
search method.

bzr revid: odo@openerp.com-20120821131920-j653hvmff78fxxtr

11 years ago[FIX] OPW 577963: ir_attachment: speed up ir.attachment search for large databases
Olivier Dony [Tue, 21 Aug 2012 13:02:02 +0000 (15:02 +0200)]
[FIX] OPW 577963: ir_attachment: speed up ir.attachment search for large databases

Frequents calls to list.remove() were being a bottleneck for large
document lists (100k+). Using a set make remove() calls much faster.

Also turned a read() into a pure SQL command, as its high-level
features were unnecessary (security checks performed before and
after it anyways) and it was 50% slower than the direct SQL version.

This commit has a corresponding addons patch in order to use a set
instead of a list in the document module as well.

bzr revid: odo@openerp.com-20120821130202-71z83drt347lf45n

11 years ago[FIX] account_voucher: in case of supplier vouchers, the accounting entries related...
Quentin (OpenERP) [Tue, 21 Aug 2012 12:23:47 +0000 (14:23 +0200)]
[FIX] account_voucher: in case of supplier vouchers, the accounting entries related to an exchange rate difference must be inverted

bzr revid: qdp-launchpad@openerp.com-20120821122347-cj73raq76dj4ktcv

11 years ago[FIX] account_voucher: round the amount_in_company_currency accordingly to the precis...
Quentin (OpenERP) [Tue, 21 Aug 2012 12:20:42 +0000 (14:20 +0200)]
[FIX] account_voucher: round the amount_in_company_currency accordingly to the precision set on the company currency

bzr revid: qdp-launchpad@openerp.com-20120821122042-a78exkcem4p6j2ou

11 years ago[MERGE] OPW 576491: edi + email_template: correctly generate edi_web_view_url when...
Xavier ALT [Mon, 20 Aug 2012 15:56:01 +0000 (17:56 +0200)]
[MERGE] OPW 576491: edi + email_template: correctly generate edi_web_view_url when sending email from mail.compose.message wizard

 * edi: improve generation/usage of edi_web_url_view for template rendering

   - wrap edi_web_url_view generation to _edi_get_object_web_url_view() method.
   - automatically add 'edi_web_url_view' to all email.template rendering context

   - introduce LazyEdiWebUrlViewGetter class, to allow resolving record wihtin
     template rendering context - only when necessary. This to prevent generating
     unrequested edi_web_url_view links

 * mail & email_template: allow to modify render_template context

   - add _prepare_render_template_context() method to allow modifying context
     before rendering template.

bzr revid: xal@openerp.com-20120820155601-appnnpp4p3a803nz

11 years ago[MERGE] OPW 577014: email_template: for not force mass_mail in mail.compose.message...
Xavier ALT [Mon, 20 Aug 2012 15:54:14 +0000 (17:54 +0200)]
[MERGE] OPW 577014: email_template: for not force mass_mail in mail.compose.message wizard, if user is working on a single resource

bzr revid: xal@openerp.com-20120820155414-ajy5iyb37uyfsuzo

11 years ago[MERGE] OPW 576484: account: fix invoice residual, avoid adding multiple times residu...
Xavier ALT [Mon, 20 Aug 2012 15:52:57 +0000 (17:52 +0200)]
[MERGE] OPW 576484: account: fix invoice residual, avoid adding multiple times residual for same partial reconcile

bzr revid: xal@openerp.com-20120820155257-409j3axs2pvslp2t

11 years ago[FIX] account_voucher: supplier payment, accounting entry generation
Quentin (OpenERP) [Mon, 20 Aug 2012 12:30:21 +0000 (14:30 +0200)]
[FIX] account_voucher: supplier payment, accounting entry generation

bzr revid: qdp-launchpad@openerp.com-20120820123021-sombshfgl2bpp2z9

11 years ago[FIX] edi: fix wrong if conditions
Xavier ALT [Mon, 20 Aug 2012 10:11:53 +0000 (12:11 +0200)]
[FIX] edi: fix wrong if conditions

bzr revid: xal@openerp.com-20120820101153-ca5tnbzhume60bzi

11 years ago[FIX] edi: improve generation/usage of edi_web_url_view for template rendering
Xavier ALT [Mon, 20 Aug 2012 08:34:56 +0000 (10:34 +0200)]
[FIX] edi: improve generation/usage of edi_web_url_view for template rendering

  - wrap edi_web_url_view generation to _edi_get_object_web_url_view() method.
  - automatically add 'edi_web_url_view' to all email.template rendering context

  - introduce LazyEdiWebUrlViewGetter class, to allow resolving record wihtin
    template rendering context - only when necessary. This to prevent generating
    unrequested edi_web_url_view links

bzr revid: xal@openerp.com-20120820083456-teqk4kdqe8mv59p8

11 years ago[FIX] email_template: allow to modify render_template context
Xavier ALT [Mon, 20 Aug 2012 08:30:47 +0000 (10:30 +0200)]
[FIX] email_template: allow to modify render_template context

  - add _prepare_render_template_context() method to email.template to allow
    modifying context used for rendering template.

  - override mail.compose.message wizard to use email.template's
    _prepare_render_template_context instead of mail's one.

bzr revid: xal@openerp.com-20120820083047-a52nj5e113c0lniz

11 years ago[FIX] mail: improved render_template context preparation
Xavier ALT [Mon, 20 Aug 2012 08:19:11 +0000 (10:19 +0200)]
[FIX] mail: improved render_template context preparation

  - rename '_pre_render_template' to '_prepare_render_template_context'
  - _preare_render_template_context return a new context, which is distinct
    from original method context - as we want to control more precisely what
    context will be available to render_template().

bzr revid: xal@openerp.com-20120820081911-34h2zlzcrspfpyz6

11 years ago[FIX] email_template: when composing email on unique resource force non mass_mail...
Xavier ALT [Mon, 20 Aug 2012 07:56:41 +0000 (09:56 +0200)]
[FIX] email_template: when composing email on unique resource force non mass_mail mode

bzr revid: xal@openerp.com-20120820075641-0cqi0r5jkgz0dd02

11 years ago[MERGE] OPW 578181: fix missing column in hr.holiday list, making group by date_from...
Olivier Dony [Fri, 17 Aug 2012 13:55:55 +0000 (15:55 +0200)]
[MERGE] OPW 578181: fix missing column in hr.holiday list, making group by date_from fail miserably

bzr revid: odo@openerp.com-20120817135555-clyc6lxnnx7zjbw0

11 years ago[FIX] hr_holiday:Leave Allocation Request Group By Start_Date Give Error'(Case:578181)
Hemendra Paregi (Open ERP) [Fri, 17 Aug 2012 10:30:50 +0000 (16:00 +0530)]
[FIX] hr_holiday:Leave Allocation Request Group By Start_Date Give Error'(Case:578181)

bzr revid: hpa@tinyerp.com-20120817103050-4e3au9wm2m09pare

11 years ago[MERGE] OPW 574507: mrp: 'change qty' wizard on MO have to also update the related...
Xavier ALT [Fri, 17 Aug 2012 08:36:10 +0000 (10:36 +0200)]
[MERGE] OPW 574507: mrp: 'change qty' wizard on MO have to also update the related picking list stock move quantity

bzr revid: xal@openerp.com-20120817083610-pzmdyrczmw4asocb

11 years ago[MERGE] OPW 576461: account: on invoice move creation, correctly compute quantity...
Xavier ALT [Fri, 17 Aug 2012 07:33:09 +0000 (09:33 +0200)]
[MERGE] OPW 576461: account: on invoice move creation, correctly compute quantity and amount currency when journal is configured for grouping

bzr revid: xal@openerp.com-20120817073309-3r3r1eq4o39lwkt1

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 17 Aug 2012 05:12:19 +0000 (05:12 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120814052054-bx2tnsaore0gfpgq
bzr revid: launchpad_translations_on_behalf_of_openerp-20120815051428-du6l7jjry6vs3c3u
bzr revid: launchpad_translations_on_behalf_of_openerp-20120816051052-slbzroi4qb1z52y7
bzr revid: launchpad_translations_on_behalf_of_openerp-20120817051219-1mhj7vyaljydnn8d

11 years ago[MERGE] OPW 576295: ir_attachment: fix regression/typo introduced in r.4069
Olivier Dony [Thu, 16 Aug 2012 15:40:20 +0000 (17:40 +0200)]
[MERGE] OPW 576295: ir_attachment: fix regression/typo introduced in r.4069

count is explicitly set to False in order to
filter the results coming from upstream before
doing the actual count

bzr revid: odo@openerp.com-20120816154020-5s6wbwfb5l2xsnyv

11 years ago[MERGE] OPW 577592: form view - properly flag m2o fields as dirty when removing the...
Olivier Dony [Tue, 14 Aug 2012 14:53:50 +0000 (16:53 +0200)]
[MERGE] OPW 577592: form view - properly flag m2o fields as dirty when removing the value

bzr revid: odo@openerp.com-20120814145350-cyqkzsmy8l0mvwfd

11 years ago[FIX] OPW 576675: base_crypt: avoid causing TransactionRollbackErrors after each...
Olivier Dony [Mon, 13 Aug 2012 15:16:48 +0000 (17:16 +0200)]
[FIX] OPW 576675: base_crypt: avoid causing TransactionRollbackErrors after each registry reload

See individual commit message for more info

bzr revid: odo@openerp.com-20120813151648-gvxggkz0dnj3y6ax

11 years ago[FIX] base_crypt: safer initial crypting of user passwords
Olivier Dony [Mon, 13 Aug 2012 14:52:00 +0000 (16:52 +0200)]
[FIX] base_crypt: safer initial crypting of user passwords

Avoid locking the full users table unless there is
really at least one user record to crypt.
Avoid using a separate cursor that could create a deadlock
or TransactionRollbackError in the main init() transaction.

bzr revid: odo@openerp.com-20120813145200-cc0gfzz04aundxhw

11 years ago[FIX] base_crypt: avoid table lock on res_users during simple auth check
Olivier Dony [Mon, 13 Aug 2012 14:35:52 +0000 (16:35 +0200)]
[FIX] base_crypt: avoid table lock on res_users during simple auth check

Performing a full table lock is potentially very slow
due to the number of tables holding foreign keys towards
res_users, so we should avoid doing that for simple
auth check() calls. The point was only to avoid failing
the update of the last login timestamp, which we don't
actually care much about. So we can replace that with a
simple SELECT FOR UPDATE NOWAIT on that specific user
row and and skip the update in case the LOCK was
not granted

bzr revid: odo@openerp.com-20120813143552-3g3z0q9n1iox8a0b

11 years ago[FIX]Fixed the issue of request_context not set in BufferedDataset get_context method
msh-openerp [Mon, 13 Aug 2012 12:03:51 +0000 (17:33 +0530)]
[FIX]Fixed the issue of request_context not set in BufferedDataset get_context method

bzr revid: msh@tinyerp.com-20120813120351-9ukmf8juikqao0a6

11 years ago[MERGE] l10n_be fixes
Quentin (OpenERP) [Mon, 13 Aug 2012 12:02:28 +0000 (14:02 +0200)]
[MERGE] l10n_be fixes

bzr revid: qdp-launchpad@openerp.com-20120813120228-00j6e539rq0nr7ab

11 years ago[FIX] l10n_be: amounts in xml file MUST have 2 digits after the comma (43.5 isn't...
Quentin (OpenERP) [Mon, 13 Aug 2012 10:26:10 +0000 (12:26 +0200)]
[FIX] l10n_be: amounts in xml file MUST have 2 digits after the comma (43.5 isn't valid)

bzr revid: qdp-launchpad@openerp.com-20120813102610-tdzhimus2c4h6j3a

11 years ago[FIX]Fixed the issue of false shown on event if the field shown on the event does...
msh-openerp [Mon, 13 Aug 2012 09:10:03 +0000 (14:40 +0530)]
[FIX]Fixed the issue of false shown on event if the field shown on the event does not have value, which is usabilit issue.

bzr revid: msh@tinyerp.com-20120813091003-zql3k9d9uwoe2ay9

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 13 Aug 2012 05:53:20 +0000 (05:53 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120811055952-typ7197zyc2v5scp
bzr revid: launchpad_translations_on_behalf_of_openerp-20120812045640-zto7bzgboyhpb7cr
bzr revid: launchpad_translations_on_behalf_of_openerp-20120813055320-1dinuvvl8tfr9b2p

11 years ago[MERGE] mail.thread: fix message_process to avoid duplicate deliveries
Olivier Dony [Fri, 10 Aug 2012 12:37:53 +0000 (14:37 +0200)]
[MERGE] mail.thread: fix message_process to avoid duplicate deliveries

Due to a programming error in the code, any message that had
several values in the References header create as many
duplicate copies of the message as they were previous
messages in the discussion.
Also cleaned up and simplified the code.

bzr revid: odo@openerp.com-20120810123753-c00y4l1276b8guqb