odoo/odoo.git
11 years ago[FIX] account: corercted Quantity and Amount Currency of a move while related journal...
Alexis de Lattre [Tue, 3 Jul 2012 05:47:40 +0000 (11:17 +0530)]
[FIX] account: corercted Quantity and Amount Currency of a move while related journal is enable Group Invoice Lines

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

bzr revid: rha@tinyerp.com-20120703054740-d3ana850vomt083a

11 years ago[FIX] mail: preserve timezone offset when extracting the Date of received mails
Olivier Dony [Mon, 2 Jul 2012 09:35:23 +0000 (11:35 +0200)]
[FIX] mail: preserve timezone offset when extracting the Date of received mails

Previously the date was treated as UTC, ignoring
the specified timezone offset. As a result the
displayed date was off by the actual UTC offset
of the sender's timezone

bzr revid: odo@openerp.com-20120702093523-fttsemnl1irc7917

11 years ago[FIX] portal: prevent deleting a partner that has shared users
Olivier Dony [Mon, 2 Jul 2012 08:48:44 +0000 (10:48 +0200)]
[FIX] portal: prevent deleting a partner that has shared users

bzr revid: odo@openerp.com-20120702084844-5o07ji7658fqvkw3

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 2 Jul 2012 05:02:10 +0000 (05:02 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120623052438-zdt5lzhx41r4j8v4
bzr revid: launchpad_translations_on_behalf_of_openerp-20120624055437-qg2pl455g47gso3v
bzr revid: launchpad_translations_on_behalf_of_openerp-20120625053410-ie6te1077q8uzpko
bzr revid: launchpad_translations_on_behalf_of_openerp-20120626054722-g0arah67qg0v8amr
bzr revid: launchpad_translations_on_behalf_of_openerp-20120627061422-ldhv9tfc5u2z6441
bzr revid: launchpad_translations_on_behalf_of_openerp-20120628051236-9x5od26mgguatain
bzr revid: launchpad_translations_on_behalf_of_openerp-20120629050943-vtlgifme5lkz3sbs
bzr revid: launchpad_translations_on_behalf_of_openerp-20120630053833-7l5m61z2v7zdfck1
bzr revid: launchpad_translations_on_behalf_of_openerp-20120701045758-kns6qj2y772015vt
bzr revid: launchpad_translations_on_behalf_of_openerp-20120702050202-w4jckxy9pl7nv2lz
bzr revid: launchpad_translations_on_behalf_of_openerp-20120630054013-e34e1rm8p6gb0qgq
bzr revid: launchpad_translations_on_behalf_of_openerp-20120702050210-43c28ektiwcmzzn8

11 years ago[IMP] export translatable strings
Xavier Morel [Fri, 29 Jun 2012 15:54:36 +0000 (17:54 +0200)]
[IMP] export translatable strings

bzr revid: xmo@openerp.com-20120629155436-358c4mvcgj5kflf2

11 years ago[FIX] make datepicker and timepicker translatable
Xavier Morel [Fri, 29 Jun 2012 15:28:11 +0000 (17:28 +0200)]
[FIX] make datepicker and timepicker translatable

bzr revid: xmo@openerp.com-20120629152811-9015tj66xzfw94o2

11 years ago[FIX] remove custom error handling on saving kanban records
Xavier Morel [Fri, 29 Jun 2012 13:16:11 +0000 (15:16 +0200)]
[FIX] remove custom error handling on saving kanban records

hides actual error (which may be e.g. validation error) and adds no value

bzr revid: xmo@openerp.com-20120629131611-r1ydn6b0f8agi85n

11 years ago[FIX] correctly pass along options in ProxyDataSet#write calls
Xavier Morel [Fri, 29 Jun 2012 13:07:03 +0000 (15:07 +0200)]
[FIX] correctly pass along options in ProxyDataSet#write calls

bzr revid: xmo@openerp.com-20120629130703-7hgylg6uulp9pkka

11 years ago[FIX] missing comma in CSS leading to incorrect selectors
Xavier Morel [Fri, 29 Jun 2012 13:03:19 +0000 (15:03 +0200)]
[FIX] missing comma in CSS leading to incorrect selectors

bzr revid: xmo@openerp.com-20120629130319-zn9sc9xkaz01n0yv

11 years ago[MERGE] OPW 572856: translate: attempt to auto-detect user's language preferences...
Olivier Dony [Fri, 29 Jun 2012 12:39:12 +0000 (14:39 +0200)]
[MERGE] OPW 572856: translate: attempt to auto-detect user's language preferences when no context is available

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

bzr revid: odo@openerp.com-20120629123912-uum4n4rqz0pddmca

11 years ago[FIX] Add new operator case to advanced search: field is set or is not set
Xavier Morel [Fri, 29 Jun 2012 12:18:05 +0000 (14:18 +0200)]
[FIX] Add new operator case to advanced search: field is set or is not set

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

bzr revid: xmo@openerp.com-20120629121805-mosmy1t366sozv1e

11 years ago[FIX] OPW 572856: translate: attempt to auto-detect user's language preferences when...
Olivier Dony [Fri, 29 Jun 2012 12:04:18 +0000 (14:04 +0200)]
[FIX] OPW 572856: translate: attempt to auto-detect user's language preferences when no context is available

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

bzr revid: odo@openerp.com-20120629120418-q61hd8cbxy2nftva

11 years ago[FIX] Implement is set and is not set for char,inetger,float,date,datetime widget.
Bhumi Thakkar (Open ERP) [Fri, 29 Jun 2012 11:12:36 +0000 (16:42 +0530)]
[FIX] Implement is set and is not set for char,inetger,float,date,datetime widget.

bzr revid: bth@tinyerp.com-20120629111236-27j1mj5krha0rkkm

11 years ago[FIX] action-type button from a list row being edited in an o2m
Xavier Morel [Fri, 29 Jun 2012 10:53:25 +0000 (12:53 +0200)]
[FIX] action-type button from a list row being edited in an o2m

Issue 575065

Flow for a button[@type=action] requires going through multiple RPC
calls to execute action. Due to reloading behavior of o2m-list on
actions (saves containing form then executes action then reloads row),
internal form view gets removed while e.g. server action is being
fetched (in Views#do_execute_action).

Problem: there is guard on ``rpc`` call which drops response to
stopped widget (Widget#rpc) => action/load call never returns
successfully because linked form is dead.

Solution: instead of calling View#do_execute_action via the formview,
call it via the listview (do_execute_action was already partially
overridden to change the ``on_close`` callback, override it further).

=> widget still lives, and rpc requests execute correctly leading to
all actions being correctly called (mostly).

bzr revid: xmo@openerp.com-20120629105325-vmwpyi7w3pc33sg9

11 years ago[FIX] server action not returning anything should be treated as an empty action descr...
Xavier Morel [Fri, 29 Jun 2012 09:57:53 +0000 (11:57 +0200)]
[FIX] server action not returning anything should be treated as an empty action descriptor

bzr revid: xmo@openerp.com-20120629095753-n7o6armcs68y8dsr

11 years ago[MERGE] OPW 573621: web_calendar: fix localisation of calendar view
Xavier ALT [Fri, 29 Jun 2012 10:35:12 +0000 (12:35 +0200)]
[MERGE] OPW 573621: web_calendar: fix localisation of calendar view

   backport of trunk fme@openerp.com-20120625115839-vgdsq9g5p4d4x51b

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

bzr revid: xal@openerp.com-20120629103512-cg9sbfsesxi2jef1

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 29 Jun 2012 05:09:23 +0000 (05:09 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120626054629-tn9lvdwswmjd4k09
bzr revid: launchpad_translations_on_behalf_of_openerp-20120627061344-yrppqj2hh5w0b03e
bzr revid: launchpad_translations_on_behalf_of_openerp-20120628051201-11jou6kk8vd97bld
bzr revid: launchpad_translations_on_behalf_of_openerp-20120629050923-5omtp9heor1e7clm

11 years ago[FIX]Fixed the issue of on_rpc_error in kanban view, if we have raised the exception...
msh-openerp [Thu, 28 Jun 2012 09:49:13 +0000 (15:19 +0530)]
[FIX]Fixed the issue of on_rpc_error in kanban view, if we have raised the exception from addons on state change still we will not be able to see the CrashManager and instead of it we will have an static message that error while changing the state...

bzr revid: msh@tinyerp.com-20120628094913-es9hgfl51e6x21f9

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 28 Jun 2012 05:12:41 +0000 (05:12 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120626054725-sfkh458dji20957x
bzr revid: launchpad_translations_on_behalf_of_openerp-20120628051241-wa9tpq3yf1fzqm3y

11 years ago[MERGE] OPW 574360: yaml_import: properly handle x2m default values
Olivier Dony [Mon, 25 Jun 2012 16:19:54 +0000 (18:19 +0200)]
[MERGE] OPW 574360: yaml_import: properly handle x2m default values

bzr revid: odo@openerp.com-20120625161954-pl0ma1kilq599yxe

11 years ago[FIX] yaml_import: support False as a o2m default value
Olivier Dony [Mon, 25 Jun 2012 14:40:13 +0000 (16:40 +0200)]
[FIX] yaml_import: support False as a o2m default value

bzr revid: odo@openerp.com-20120625144013-r6j6zabaap6739gf

11 years ago[FIX] action buttons activated in editable o2m lists during or after row edition
Xavier Morel [Mon, 25 Jun 2012 07:20:46 +0000 (09:20 +0200)]
[FIX] action buttons activated in editable o2m lists during or after row edition

bzr revid: xmo@openerp.com-20120625072046-29tg3vnnpkhj8fe9

11 years ago[MERGE] behavioral fixes and changes to editable list o2ms
Xavier Morel [Mon, 25 Jun 2012 07:09:01 +0000 (09:09 +0200)]
[MERGE] behavioral fixes and changes to editable list o2ms

* Correctly propagate current validation status of row being edited
* Automatically save row being edited upon leaving it
* Replace "Save" button (floppy) by "Cancel" (cross)
* Allow easier overriding of Groups and List sub-widgets

bzr revid: xmo@openerp.com-20120625070901-4cs6v24exjk5z2fa

11 years ago[CHG] reintroduce a button at the end of the line, but use the cross as a cancel
Xavier Morel [Mon, 25 Jun 2012 06:58:12 +0000 (08:58 +0200)]
[CHG] reintroduce a button at the end of the line, but use the cross as a cancel

bzr revid: xmo@openerp.com-20120625065812-6n8lxb0zimzvq1ee

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 25 Jun 2012 05:33:27 +0000 (05:33 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120622051328-pcxd9js5f92wdgmr
bzr revid: launchpad_translations_on_behalf_of_openerp-20120623052419-1961hw7lylxyxmis
bzr revid: launchpad_translations_on_behalf_of_openerp-20120624055418-uwu6rzb83nei1970
bzr revid: launchpad_translations_on_behalf_of_openerp-20120625053327-yvs063aomd7l98tu

11 years ago[FIX]Fixed the issue of coma missing in base.css, which do not loads required class...
msh-openerp [Mon, 25 Jun 2012 04:31:26 +0000 (10:01 +0530)]
[FIX]Fixed the issue of coma missing in base.css, which do not loads required class for the textarea.

bzr revid: msh@tinyerp.com-20120625043126-gfvq0so0v2257wbw

11 years ago[MERGE] mail: avoid obscure failure when processing batches of emails with attachments
Olivier Dony [Fri, 22 Jun 2012 15:25:36 +0000 (17:25 +0200)]
[MERGE] mail: avoid obscure failure when processing batches of emails with attachments

  This issue was caused by the way browse_records are cached,
  in combination with the deletion of messages just after sending
  them. When processing a second message, the attachment.datas
  function fields gets computed for all messages that are being
  browsed, including the first message that was already deleted,
  causing an exception. The value of the function field had
  already been computed for the first message, but had been
  discarded by the message.refresh() call.
  Hopefully this kind of issue will disappear once we implement
  the new ORM API.

bzr revid: odo@openerp.com-20120622152536-42b2s28lvdv3odyr

11 years ago[FIX] correctly reload an o2m list *after* triggering an action from a row being...
Xavier Morel [Fri, 22 Jun 2012 15:01:17 +0000 (17:01 +0200)]
[FIX] correctly reload an o2m list *after* triggering an action from a row being edited

bzr revid: xmo@openerp.com-20120622150117-w04eibub93ve81mo

11 years ago[IMP] move ListView.List#reload_record to ListView
Xavier Morel [Fri, 22 Jun 2012 13:50:15 +0000 (15:50 +0200)]
[IMP] move ListView.List#reload_record to ListView

bzr revid: xmo@openerp.com-20120622135015-dsvjblv1rd4oezcp

11 years ago[FIX] Fixed options not reach at write method of DataSet.
cpa-openerp [Fri, 22 Jun 2012 11:31:53 +0000 (17:01 +0530)]
[FIX] Fixed options not reach at write method of DataSet.

bzr revid: cpa@tinyerp.com-20120622113153-xdwtfb3lzya65u4v

11 years ago[FIX] mail: avoid obscure failure when processing batches of emails with attachments
Olivier Dony [Fri, 22 Jun 2012 09:31:23 +0000 (11:31 +0200)]
[FIX] mail: avoid obscure failure when processing batches of emails with attachments

This issue was caused by the way browse_records are cached,
in combination with the deletion of messages just after sending
them. When processing a second message, the attachment.datas
function fields gets computed for all messages that are being
browsed, including the first message that was already deleted,
causing an exception. The value of the function field had
already been computed for the first message, but had been
discarded by the message.refresh() call.
Hopefully this kind of issue will disappear once we implement
the new ORM API.

bzr revid: odo@openerp.com-20120622093123-wpk8ht454w7p2c1w

11 years ago[FIX] ensure containing form is saved when triggering an action from an editable...
Xavier Morel [Fri, 22 Jun 2012 08:54:32 +0000 (10:54 +0200)]
[FIX] ensure containing form is saved when triggering an action from an editable o2m list

After opening a record with a list o2m, editing said list o2m and
saving a row, clicking the action button would lose all data
explicitly changed: the o2m would just call the action without saving
the form's current state, so the corresponding server method would
only be able to use data previously saved.

Fixed by overriding do_button_action, and only calling the _super()
method after the parent form has announced it is saved (either because
nothing was changed or because it did indeed save itself).

bzr revid: xmo@openerp.com-20120622085432-mh3977uygua5bypn

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 22 Jun 2012 05:14:02 +0000 (05:14 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120622051402-aeivuh5dgoe8idc5

11 years ago[FIX] base_vat: correct Switzerland VAT check
Christophe Simonis [Thu, 21 Jun 2012 14:31:52 +0000 (16:31 +0200)]
[FIX] base_vat: correct Switzerland VAT check

bzr revid: chs@openerp.com-20120621143152-1h8xvyoj5rw899ww

11 years ago[MERGE] orm: make sure all *Model classes define _auto,_register,_transient
Olivier Dony [Thu, 21 Jun 2012 11:08:25 +0000 (13:08 +0200)]
[MERGE] orm: make sure all *Model classes define _auto,_register,_transient

This is required to avoid strange mro() pitfalls
where an AbstractModel is inherited by a Model,
and the _auto=False of AbstractModel ends up
first in the mro() because Model does not explicitly
define it, and the BaseModel default _auto is farther
in the mro().

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

bzr revid: odo@openerp.com-20120621110825-ry8e5tktvwv3h4tm

11 years ago[FIX] yaml_import: fix incorrect m2m default handling from previous commit
Olivier Dony [Thu, 21 Jun 2012 11:05:32 +0000 (13:05 +0200)]
[FIX] yaml_import: fix incorrect m2m default handling from previous commit

bzr revid: odo@openerp.com-20120621110532-fsi7hz8fllnlab07

11 years ago[MERGE] visual effects fix on diagram nodes in firefox
Xavier Morel [Thu, 21 Jun 2012 10:56:58 +0000 (12:56 +0200)]
[MERGE] visual effects fix on diagram nodes in firefox

bzr revid: xmo@openerp.com-20120621105658-2bgozggy6ouz9fca

11 years ago[IMP] simplify localconnector's exception converter: use Python's facilities correctly
Xavier Morel [Thu, 21 Jun 2012 10:33:42 +0000 (12:33 +0200)]
[IMP] simplify localconnector's exception converter: use Python's facilities correctly

bzr revid: xmo@openerp.com-20120621103342-nea9yw135dl5lsta

11 years ago[MERGE] ensure exception information is correctly converted to string before being...
Xavier Morel [Thu, 21 Jun 2012 10:29:40 +0000 (12:29 +0200)]
[MERGE] ensure exception information is correctly converted to string before being concatenated with the faultCode string (sic) of emulated XMLRPC faults

bzr revid: xmo@openerp.com-20120621102940-2lh6ho6v6d64h8hr

11 years ago[MERGE] move filtering of non-searchable fields to prune the fields list itself
Xavier Morel [Thu, 21 Jun 2012 10:11:03 +0000 (12:11 +0200)]
[MERGE] move filtering of non-searchable fields to prune the fields list itself

if only the *display* list is filtered, the advanced search engine may
still attempt to *select* a non-searchable field (if it's the first
one) leading to broken/nonsensical behavior.

Non-searchable fields should be removed from the advanced search's
ability to find them altogether.

bzr revid: xmo@openerp.com-20120621101103-k842i8h1rxlr4n9k

11 years ago[FIX] incorrect clearing of default values on selection fields in search view
Xavier Morel [Thu, 21 Jun 2012 10:10:09 +0000 (12:10 +0200)]
[FIX] incorrect clearing of default values on selection fields in search view

and simplification of the same on basic fields

bzr revid: xmo@openerp.com-20120621101009-vg0rnwnitxfhaill

11 years ago[FIX] orm: make sure all *Model classes define _auto,_register,_transient
Olivier Dony [Thu, 21 Jun 2012 10:09:00 +0000 (12:09 +0200)]
[FIX] orm: make sure all *Model classes define _auto,_register,_transient

This is required to avoid strange mro() pitfalls
where an AbstractModel is inherited by a Model,
and the _auto=False of AbstractModel ends up
first in the mro() because Model does not explicitly
define it, and the BaseModel default _auto is farther
in the mro().

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

bzr revid: odo@openerp.com-20120621100900-xejo9yhgx36kyh03

11 years ago[MERGE] vertically flipped x axis labels in MSIE
Xavier Morel [Thu, 21 Jun 2012 10:02:42 +0000 (12:02 +0200)]
[MERGE] vertically flipped x axis labels in MSIE

bzr revid: xmo@openerp.com-20120621100242-r6jpdtetmxmmaybn

11 years ago[FIX] actually clear basic textual fields in search view when [Clear] button used...
Xavier Morel [Thu, 21 Jun 2012 09:52:03 +0000 (11:52 +0200)]
[FIX] actually clear basic textual fields in search view when [Clear] button used, don't just reset to default value

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

bzr revid: xmo@openerp.com-20120621095203-oruw1ghlxu2gc7qh

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 21 Jun 2012 05:48:48 +0000 (05:48 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120621054841-fihpiv7cez9k1q2e
bzr revid: launchpad_translations_on_behalf_of_openerp-20120616051737-i1bgarydwo8sskwi
bzr revid: launchpad_translations_on_behalf_of_openerp-20120617045509-64kdpflg3qmi3ez5
bzr revid: launchpad_translations_on_behalf_of_openerp-20120619051316-yxaq2zd3lm3porh1
bzr revid: launchpad_translations_on_behalf_of_openerp-20120620051154-51v02ueneup3v9et
bzr revid: launchpad_translations_on_behalf_of_openerp-20120621054848-82s941upwtfrpo96

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 21 Jun 2012 05:47:52 +0000 (05:47 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120621054752-zau83g809c5n2h6f

11 years ago[MERGE] l10n_ch: bugfixes from Camptocamp, courtesy of Yannick Vaucher
Olivier Dony [Wed, 20 Jun 2012 17:32:00 +0000 (19:32 +0200)]
[MERGE] l10n_ch: bugfixes from Camptocamp, courtesy of Yannick Vaucher

bzr revid: odo@openerp.com-20120620173200-3hxn1syumst7jdkz

11 years ago[MERGE] OPW 575500: correct importing invoices in bank statements in multi-currency...
Olivier Dony [Wed, 20 Jun 2012 17:03:54 +0000 (19:03 +0200)]
[MERGE] OPW 575500: correct importing invoices in bank statements in multi-currency context

bzr revid: odo@openerp.com-20120620170354-qszeal54k6zn7vjk

11 years ago[MERGE] l10n_ch: bugfixes from Camptocamp, courtesy of Yannick Vaucher
Olivier Dony [Wed, 20 Jun 2012 16:49:27 +0000 (18:49 +0200)]
[MERGE] l10n_ch: bugfixes from Camptocamp, courtesy of Yannick Vaucher

bzr revid: odo@openerp.com-20120620164927-vxc3pz3o97oqfdc9

11 years ago[FIX] OPW 575500: voucher: invoice_id must be passed when computing voucher lines...
Olivier Dony [Wed, 20 Jun 2012 16:27:35 +0000 (18:27 +0200)]
[FIX] OPW 575500: voucher: invoice_id must be passed when computing voucher lines, to properly reconcile

bzr revid: odo@openerp.com-20120620162735-7bkh0hsf60nn9hud

11 years ago[FIX] OPW 575500: voucher: multi-currency rate not properly set when importing invoic...
Olivier Dony [Wed, 20 Jun 2012 16:26:47 +0000 (18:26 +0200)]
[FIX] OPW 575500: voucher: multi-currency rate not properly set when importing invoice into bank statement

bzr revid: odo@openerp.com-20120620162647-exh5s98f5a9qrng3

11 years ago[MERGE] fields.many2many: always respect destination table order
Olivier Dony [Wed, 20 Jun 2012 13:02:32 +0000 (15:02 +0200)]
[MERGE] fields.many2many: always respect destination table order

bzr revid: odo@openerp.com-20120620130232-3aeyct2giarto019

11 years ago[IMP] focus management in date field
Xavier Morel [Wed, 20 Jun 2012 11:34:02 +0000 (13:34 +0200)]
[IMP] focus management in date field

bzr revid: xmo@openerp.com-20120620113402-lacdu8fvq9bwrcl6

11 years ago[FIX] blur/focus handling in most (if not all) form widgets
Xavier Morel [Wed, 20 Jun 2012 11:15:27 +0000 (13:15 +0200)]
[FIX] blur/focus handling in most (if not all) form widgets

bzr revid: xmo@openerp.com-20120620111527-2j23k13zc6td2deo

11 years ago[FIX]Refixed the issue of datetime picker translation, used Date.CultureInfo terms...
msh-openerp [Wed, 20 Jun 2012 05:37:01 +0000 (11:07 +0530)]
[FIX]Refixed the issue of datetime picker translation, used Date.CultureInfo terms of translation also used firstDayOfWeek etc from the CultureInfo.

bzr revid: msh@tinyerp.com-20120620053701-295eqx0ztqv2re01

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 20 Jun 2012 05:11:48 +0000 (05:11 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120620051148-acbu5ob17n43l32y

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 20 Jun 2012 05:10:34 +0000 (05:10 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120616051712-m0hwni003z1a0elq
bzr revid: launchpad_translations_on_behalf_of_openerp-20120617045440-6jvciulawlz0qsm6
bzr revid: launchpad_translations_on_behalf_of_openerp-20120619051218-t37h61frxqcwj657
bzr revid: launchpad_translations_on_behalf_of_openerp-20120620051034-yy6jkmyx7wpsbv9u

11 years ago[FIX] fields.many2many : Always respect destination table order
tfr@openerp.com [Tue, 19 Jun 2012 15:16:51 +0000 (17:16 +0200)]
[FIX] fields.many2many : Always respect destination table order

bzr revid: tfr@openerp.com-20120619151651-fokfu5gkfk3qfhxs

11 years ago[FIX] stupid groupby bug
Xavier Morel [Tue, 19 Jun 2012 13:36:18 +0000 (15:36 +0200)]
[FIX] stupid groupby bug

bzr revid: xmo@openerp.com-20120619133618-sxgs18sn48x902hv

11 years ago[IMP] Code Optimization.
Bhumi Thakkar (Open ERP) [Tue, 19 Jun 2012 13:20:24 +0000 (18:50 +0530)]
[IMP] Code Optimization.

bzr revid: bth@tinyerp.com-20120619132024-aactz01q29vtcscv

11 years ago[FIX] if value is blank then return false.
Bhumi Thakkar (Open ERP) [Tue, 19 Jun 2012 13:11:55 +0000 (18:41 +0530)]
[FIX] if value is blank then return false.

bzr revid: bth@tinyerp.com-20120619131155-839l1zzyrfnfettn

11 years ago[yaml_import] : For many2many field default value not stored (case : 574360)
DHS (OpenERP) [Tue, 19 Jun 2012 12:48:49 +0000 (18:18 +0530)]
[yaml_import] : For many2many field default value not stored (case : 574360)

bzr revid: dhs@tinyerp.com-20120619124849-ilnzi9r994hob5go

11 years ago[FIX] error caused by autosave-on-blur when vaidating a row with [Return]
Xavier Morel [Tue, 19 Jun 2012 11:03:50 +0000 (13:03 +0200)]
[FIX] error caused by autosave-on-blur when vaidating a row with [Return]

bzr revid: xmo@openerp.com-20120619110350-64sb4uy2t1eydiou

11 years ago[FIX] focus issues with m2o contextual menu (and popup operations)
Xavier Morel [Tue, 19 Jun 2012 09:36:51 +0000 (11:36 +0200)]
[FIX] focus issues with m2o contextual menu (and popup operations)

bzr revid: xmo@openerp.com-20120619093651-7rfe1pp7ucuj0ajh

11 years ago[FIX] stock: correct order of query parameters, broken in commit 6848
Olivier Dony [Tue, 19 Jun 2012 07:40:07 +0000 (09:40 +0200)]
[FIX] stock: correct order of query parameters, broken in commit 6848

bzr revid: odo@openerp.com-20120619074007-bp2snzj1uoybayxp

11 years ago[FIX] handling of focus on m2o fields (in editable list row)
Xavier Morel [Tue, 19 Jun 2012 07:25:18 +0000 (09:25 +0200)]
[FIX] handling of focus on m2o fields (in editable list row)

* Throw out focusin/focusout: the m2o widget's completion list is
  created at the page top (body) so the editable listview can't
  generically handle arbitrary widgets via mere focusin/focusout.

* Move responsibility of focus/blur events to the form view and its
  widgets.

* Events could not just be named ``focus`` and ``blur`` due to usage
  of jquery's event system: jquery will automatically call a method of
  the event's name if it exists on the object, which conflicts with
  .web.form.Field#focus and leads to an infinite loop (as Field#focus
  focuses the field's root element, which triggers the focus event,
  which calls the focus method,...) => form-* and widget-*, can be
  switched back in trunk

* m2o mess kind-of complex, basically:

  - the core input and the menu button behave as blur/focus triggers

  - when the autocompletion list is clicked, it will temporarily
    remove the focus from the input (blurring it), and put it back
    later... on a timer. Issue is the timer, we don't want to rely on
    having a bigger timer (as later revisions of the library may
    change our timings and it's iffy to rely on timers conserving
    order perfectly); on the other hand we know the focus *will* come
    back to the input eventually. So we can just avoid propagating
    blur iif the blur is the consequence of having clicked on the
    completion list.

  - roughly the same thing happens when clicking on $drop_down (after
    fixing the handling of its final focus to be consistent, as
    $drop_down would not re-focus the input if it was *closing* the
    completion list)

  - pretty sure the menu thing does *not work at all*, but I don't
    have the courage of fixing it before committing this part.

Date/datetime widget remains to be handled, basically the core focus
handling is the same as in e.g. a charfield *but* needs to handle (and
ignore) loss of focus from clicking inside the picker
widget. Expecting the level of suck to reach unknown heights.

bzr revid: xmo@openerp.com-20120619072518-lsrhzij5asxt2aea

11 years ago[FIX] click and hover events add for close circle and label.
Bhumi Thakkar (Open ERP) [Tue, 19 Jun 2012 06:41:09 +0000 (12:11 +0530)]
[FIX] click and hover events add for close circle and label.

bzr revid: bth@tinyerp.com-20120619064109-jxnabvv90oszu4w7

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

bzr revid: launchpad_translations_on_behalf_of_openerp-20120619051311-g1b4ydbdjch4bqyd

11 years ago[FIX] stock: properly pass production lot number as SQL query parameter
Olivier Dony [Mon, 18 Jun 2012 17:41:53 +0000 (19:41 +0200)]
[FIX] stock: properly pass production lot number as SQL query parameter

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

bzr revid: odo@openerp.com-20120618174153-kx2hcqv2wq7bhf3c

11 years ago[FIX]Fixed the issue of datetime picker which does not translated even though if...
Mohammed Shekha [Mon, 18 Jun 2012 15:04:21 +0000 (20:34 +0530)]
[FIX]Fixed the issue of datetime picker which does not translated even though if someone is in another language.

bzr revid: msh@openerp.com-20120618150421-f9eoyw55hlswfw72

11 years ago[MERGE] OPW 575624: product,account_payment: respect current symbol position in reports
Olivier Dony [Mon, 18 Jun 2012 09:24:42 +0000 (11:24 +0200)]
[MERGE] OPW 575624: product,account_payment: respect current symbol position in reports

bzr revid: odo@openerp.com-20120618092442-ae3s7n1yeckmgk1f

11 years ago[IMP] jQuery exposes focusin and focusout, use that instead of its manual implementation
Xavier Morel [Mon, 18 Jun 2012 07:34:31 +0000 (09:34 +0200)]
[IMP] jQuery exposes focusin and focusout, use that instead of its manual implementation

bzr revid: xmo@openerp.com-20120618073431-gmeo349oskbld53t

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 18 Jun 2012 05:44:58 +0000 (05:44 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120615050005-4bu4j7c0hinfo4ld
bzr revid: launchpad_translations_on_behalf_of_openerp-20120616051732-t2b544n8z5tt037b
bzr revid: launchpad_translations_on_behalf_of_openerp-20120617045504-q2g3o97z58x6nfwf
bzr revid: launchpad_translations_on_behalf_of_openerp-20120618054458-4uj002kplk070bgx

12 years ago[FIX] read_group: empty `groupby` case broken by last read_group patch
Olivier Dony [Fri, 15 Jun 2012 13:14:27 +0000 (15:14 +0200)]
[FIX] read_group: empty `groupby` case broken by last read_group patch

Revision 4201 broke the case where groupby == []
by mistake.
r.4201 = rev-id odo@openerp.com-20120609010549-xdktw6xte7fmxjbq

bzr revid: odo@openerp.com-20120615131427-daf5kd5s17my8gnb

12 years ago[FIX] handling of [Return] key to save records being edited in MSIE
Xavier Morel [Fri, 15 Jun 2012 05:54:40 +0000 (07:54 +0200)]
[FIX] handling of [Return] key to save records being edited in MSIE

* DOM events sequence screwed up, requiring an explicit blur on the
  current target to try and ensure the corresponding form widget would
  register its own change event
* Requirement to stop the default behavior of keypress and keydown on
  [Return] as they would somehow trigger the contextual menu of m2o
  fields on the row, at the wrong place, when in a char field (I don't
  even...)
* Delaying of the actual saving of the form (via `setTimeout`) to try
  and ensure the blur/change event has had the time to propagate
  correctly (and be handled) before we actually save

bzr revid: xmo@openerp.com-20120615055440-yn00uv4q8y29nboq

12 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 15 Jun 2012 04:59:53 +0000 (04:59 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120609061953-8ot3eu1w9m7eli02
bzr revid: launchpad_translations_on_behalf_of_openerp-20120610045545-ecvoyfkhtwobthc4
bzr revid: launchpad_translations_on_behalf_of_openerp-20120611051238-i3da13m7dyxm9p02
bzr revid: launchpad_translations_on_behalf_of_openerp-20120612053734-e4s4rk8hoaqk1s1s
bzr revid: launchpad_translations_on_behalf_of_openerp-20120613053214-pviycublvk35k8h7
bzr revid: launchpad_translations_on_behalf_of_openerp-20120614045648-5nb5wijedbwxsno9
bzr revid: launchpad_translations_on_behalf_of_openerp-20120615045953-oble1p2x8m6ep0pb

12 years ago[ADD] automatic save of o2m rows being created/edited when clicking/focusing outside
Xavier Morel [Thu, 14 Jun 2012 12:37:31 +0000 (14:37 +0200)]
[ADD] automatic save of o2m rows being created/edited when clicking/focusing outside

bzr revid: xmo@openerp.com-20120614123731-x2owyp4nc1yi1ocj

12 years ago[IMP] return deferred from ListView#render_row_as_form indicating *when* the row...
Xavier Morel [Thu, 14 Jun 2012 12:31:30 +0000 (14:31 +0200)]
[IMP] return deferred from ListView#render_row_as_form indicating *when* the row has been rendered as a form

bzr revid: xmo@openerp.com-20120614123130-1z1vvt62rnr21bpz

12 years ago[IMP] allow overloading a listview's List and Groups types
Xavier Morel [Thu, 14 Jun 2012 12:30:56 +0000 (14:30 +0200)]
[IMP] allow overloading a listview's List and Groups types

bzr revid: xmo@openerp.com-20120614123056-cu3q34m4ysjxzqtt

12 years ago[FIX] don't require an extended class to have a method yet to allow it to be overloaded
Xavier Morel [Thu, 14 Jun 2012 12:30:24 +0000 (14:30 +0200)]
[FIX] don't require an extended class to have a method yet to allow it to be overloaded

bzr revid: xmo@openerp.com-20120614123024-ngby1srdwojv5rmb

12 years ago[REM] Removed <image> tags from wizards
Fabien Meghazi [Thu, 14 Jun 2012 09:02:17 +0000 (11:02 +0200)]
[REM] Removed <image> tags from wizards

bzr revid: fme@openerp.com-20120614090217-wrcgj200pcqzfpor

12 years ago[FIX] don't break the handling of record index 0 in editable list views: index 0...
Xavier Morel [Thu, 14 Jun 2012 08:50:09 +0000 (10:50 +0200)]
[FIX] don't break the handling of record index 0 in editable list views: index 0 means something different than index = null

bzr revid: xmo@openerp.com-20120614085009-xuo1ifu2vnlcic72

12 years ago[IMP] hide [disk drive] button in o2m editable lists
Xavier Morel [Thu, 14 Jun 2012 08:44:20 +0000 (10:44 +0200)]
[IMP] hide [disk drive] button in o2m editable lists

bzr revid: xmo@openerp.com-20120614084420-0ky3d41kk2r8zlp8

12 years ago[REV] Revert revid:fme@openerp.com-20120611151704-u2krxz14wvmvqura which broke field...
Fabien Meghazi [Thu, 14 Jun 2012 08:40:09 +0000 (10:40 +0200)]
[REV] Revert revid:fme@openerp.com-20120611151704-u2krxz14wvmvqura which broke field@widget=image

bzr revid: fme@openerp.com-20120614084009-3ovgmo8azp7vg9n2

12 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 14 Jun 2012 04:58:07 +0000 (04:58 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120613053246-5q24ofrak7je9oc3
bzr revid: launchpad_translations_on_behalf_of_openerp-20120614045756-qm25ey22e5tqfgbk
bzr revid: launchpad_translations_on_behalf_of_openerp-20120614045807-k158nma001m2gzz3

12 years ago[FIX] do not break dataset index (at the wrong moment) when clicking on [Create] row
Xavier Morel [Wed, 13 Jun 2012 15:38:42 +0000 (17:38 +0200)]
[FIX] do not break dataset index (at the wrong moment) when clicking on [Create] row

dataset.index was previously set to ``null`` in handler of [Create]
button (to fullfill contract with form view that dataset.index should
be ``null`` to indicate the creation of a new record with no id).

Issue: after setting the index to ``null``, the list view calls
``render_row_as_form`` which starts out trying to save a row being
edited (case: clicking of the [Create] button after having selected a
row for edition or after having written in a new record e.g. [Create]
-> type -> [Create] type -> ...). This tentative to save the existing
form would be performed in the context of a ``null`` dataset.index,
which the form view doesn't (and shouldn't, index should be that of
record *being edited*) expect.

-> first save in whatever dataset state is the current one, and *right
before* creating the new form (after having saved and/or discarded the
previous one) we have the id of the new record to edit (or ``null``),
find the index for *that* and set ``dataset.index`` to that (or
``null``) so the new form view can be created and opened in the right
context.

bzr revid: xmo@openerp.com-20120613153842-pd6xitjs8n003ogs

12 years ago[FIX] in ensure_saved, discard non-dirty editable rows
Xavier Morel [Wed, 13 Jun 2012 15:36:33 +0000 (17:36 +0200)]
[FIX] in ensure_saved, discard non-dirty editable rows

if the editable row's form isn't dirty, either nothing has been
entered in a new row or an existing row (being edited) has not been
altered, so can just discard the row (and reload it from cache if it's
an edition).

bzr revid: xmo@openerp.com-20120613153633-ms7i8t9lvdarxqi3

12 years ago[FIX] if a form is not dirty, always consider the corresponding o2m[list] to be valid
Xavier Morel [Wed, 13 Jun 2012 15:35:55 +0000 (17:35 +0200)]
[FIX] if a form is not dirty, always consider the corresponding o2m[list] to be valid

the user has not modified the editable line after opening it (whether to create a new record or to edit an existing one), so shouldn't be invalid

bzr revid: xmo@openerp.com-20120613153555-fq0moy1q464l92yj

12 years ago[IMP] don;t needlessly wrap values into deferreds in pipes
Xavier Morel [Wed, 13 Jun 2012 15:34:12 +0000 (17:34 +0200)]
[IMP] don;t needlessly wrap values into deferreds in pipes

bzr revid: xmo@openerp.com-20120613153412-c2byqrc66jcn0e97

12 years ago[FIX] O2M validation: correctly proxy validation from/to edited row of the list view...
Xavier Morel [Wed, 13 Jun 2012 10:08:19 +0000 (12:08 +0200)]
[FIX] O2M validation: correctly proxy validation from/to edited row of the list view, if any

bzr revid: xmo@openerp.com-20120613100819-sw93kst4dpwhnu1p

12 years ago[FIX] correctly forward arguments in _super() call of editable listview's form widget...
Xavier Morel [Wed, 13 Jun 2012 09:40:37 +0000 (11:40 +0200)]
[FIX] correctly forward arguments in _super() call of editable listview's form widgets override

bzr revid: xmo@openerp.com-20120613094037-3iny9dsdhmp7qspi

12 years ago[FIX]Refix the issue, used filter in current chain process instead of each.
msh-openerp [Wed, 13 Jun 2012 07:13:06 +0000 (12:43 +0530)]
[FIX]Refix the issue, used filter in current chain process instead of each.

bzr revid: msh@tinyerp.com-20120613071306-9o50h0xxcg6dheda

12 years ago[FIX] Currency symbol position is not changed as per currency(after/before) configuration
Amit Dodiya [Wed, 13 Jun 2012 05:19:06 +0000 (10:49 +0530)]
[FIX] Currency symbol position is not changed as per currency(after/before) configuration

bzr revid: ado@openerp.com-20120613051906-jkwtdhkcxfi0vwz5

12 years ago[MERGE] OPW 575526: fix returning product with upstream stock moves + multiple returns
Olivier Dony [Tue, 12 Jun 2012 16:15:51 +0000 (18:15 +0200)]
[MERGE] OPW 575526: fix returning product with upstream stock moves + multiple returns

lp bug: https://launchpad.net/bugs/944025 fixed
lp bug: https://launchpad.net/bugs/1003986 fixed

bzr revid: odo@openerp.com-20120612161551-ev5vw9zql6olswie

12 years ago[CHG] try saving any row under edition when starting an (other) row edition
Xavier Morel [Tue, 12 Jun 2012 15:08:20 +0000 (17:08 +0200)]
[CHG] try saving any row under edition when starting an (other) row edition

editable lists should not lose data unless explicitly asked to forget about it by user action

bzr revid: xmo@openerp.com-20120612150820-z97jxme1vcu3x3jd

12 years ago[IMP] Deferred usage in editable listview
Xavier Morel [Tue, 12 Jun 2012 15:07:08 +0000 (17:07 +0200)]
[IMP] Deferred usage in editable listview

bzr revid: xmo@openerp.com-20120612150708-0z5dsclcrtj29st3

12 years ago[MERGE] Missing tab title made multi-tab use of OpenERP quite difficult - now fixed.
Olivier Dony [Tue, 12 Jun 2012 14:19:43 +0000 (16:19 +0200)]
[MERGE] Missing tab title made multi-tab use of OpenERP quite difficult - now fixed.

bzr revid: odo@openerp.com-20120612141943-ukcwg62lsm3auy0d

12 years ago[FIX] base.xml: missing base URL for <img src> and <form action>, for embeddded mode
Olivier Dony [Tue, 12 Jun 2012 07:52:57 +0000 (09:52 +0200)]
[FIX] base.xml: missing base URL for <img src> and <form action>, for embeddded mode

bzr revid: odo@openerp.com-20120612075257-jrsq6iyoko9d9zx4

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

bzr revid: launchpad_translations_on_behalf_of_openerp-20120606053108-x08p469b10zhf4px
bzr revid: launchpad_translations_on_behalf_of_openerp-20120607051230-69g4lipyo5n9ywez
bzr revid: launchpad_translations_on_behalf_of_openerp-20120608051607-jkzh683v40hae4vf
bzr revid: launchpad_translations_on_behalf_of_openerp-20120609062027-r2caobbpxwjpm6q2
bzr revid: launchpad_translations_on_behalf_of_openerp-20120610045624-mdizos4m57iuvdhf
bzr revid: launchpad_translations_on_behalf_of_openerp-20120611051303-zae4l2i7icagbwu6
bzr revid: launchpad_translations_on_behalf_of_openerp-20120612053814-p5i3x7if446sjimc
bzr revid: launchpad_translations_on_behalf_of_openerp-20120612053818-169dpckzekdxr1o7

12 years ago[FIX] In form view, <image> tag is not a binary image but an <img>
Fabien Meghazi [Mon, 11 Jun 2012 15:17:04 +0000 (17:17 +0200)]
[FIX] In form view, <image> tag is not a binary image but an <img>

bzr revid: fme@openerp.com-20120611151704-u2krxz14wvmvqura