odoo/odoo.git
11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 13 Jul 2012 05:15:02 +0000 (05:15 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120705052152-4e2ybcdgf2xwp1jq
bzr revid: launchpad_translations_on_behalf_of_openerp-20120706053405-xlc0tvsdbekkt3z4
bzr revid: launchpad_translations_on_behalf_of_openerp-20120707055820-sgt2l83ehsmgbv3d
bzr revid: launchpad_translations_on_behalf_of_openerp-20120708050023-gv09bs0bgioj82c1
bzr revid: launchpad_translations_on_behalf_of_openerp-20120709050840-fbrxgz7a3i5ap61e
bzr revid: launchpad_translations_on_behalf_of_openerp-20120710055406-dijxw1z9pavgp58m
bzr revid: launchpad_translations_on_behalf_of_openerp-20120711053556-amqsa4zj89gqhfi0
bzr revid: launchpad_translations_on_behalf_of_openerp-20120712050837-drxffc3dhxw8q3hu
bzr revid: launchpad_translations_on_behalf_of_openerp-20120713051502-3vxyhdl0ziqmyspm

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

bzr revid: launchpad_translations_on_behalf_of_openerp-20120630053820-m6h6kpttc1yjq6h8
bzr revid: launchpad_translations_on_behalf_of_openerp-20120703062835-saor1xkc3suxyvnc
bzr revid: launchpad_translations_on_behalf_of_openerp-20120704052343-sge2k6vv2tfv60ef
bzr revid: launchpad_translations_on_behalf_of_openerp-20120706053336-6jy4cew1qle4bw11
bzr revid: launchpad_translations_on_behalf_of_openerp-20120707055808-jslbv7u3wnaw3s4u
bzr revid: launchpad_translations_on_behalf_of_openerp-20120708045944-0ygupanw162zuh75
bzr revid: launchpad_translations_on_behalf_of_openerp-20120710055238-8td4i1tvvceicic9
bzr revid: launchpad_translations_on_behalf_of_openerp-20120711053345-cat0tl29xu7zlh7d
bzr revid: launchpad_translations_on_behalf_of_openerp-20120713051440-bqa6rz4r8z8epn2u

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

bzr revid: launchpad_translations_on_behalf_of_openerp-20120706053409-xztdqxaa3tjztewn
bzr revid: launchpad_translations_on_behalf_of_openerp-20120707055828-9fpvyvrqfufnr60v
bzr revid: launchpad_translations_on_behalf_of_openerp-20120708050029-scgf5fhxpaqyh172
bzr revid: launchpad_translations_on_behalf_of_openerp-20120710055415-vm3m9jsiyxkewgyf
bzr revid: launchpad_translations_on_behalf_of_openerp-20120711053602-0lrqzoau6g10oobe
bzr revid: launchpad_translations_on_behalf_of_openerp-20120712050846-2olpwdvi3sv81hlk

12 years ago[IMP] make embedded client crash manager configurable
Xavier Morel [Thu, 5 Jul 2012 10:27:24 +0000 (12:27 +0200)]
[IMP] make embedded client crash manager configurable

bzr revid: xmo@openerp.com-20120705102724-orwhrpyzrmxisbud

12 years ago[ADD] crash manager to embedded client, otherwise RPC errors get silently supressed
Xavier Morel [Thu, 5 Jul 2012 10:00:01 +0000 (12:00 +0200)]
[ADD] crash manager to embedded client, otherwise RPC errors get silently supressed

bzr revid: xmo@openerp.com-20120705100001-48ufwqtt1t1gnol2

12 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 5 Jul 2012 05:21:59 +0000 (05:21 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120703062906-9ph8askq6c42tk3b
bzr revid: launchpad_translations_on_behalf_of_openerp-20120704052422-01mws08eqk4bt5o6
bzr revid: launchpad_translations_on_behalf_of_openerp-20120705052159-rds4ox2z3745et4c

12 years ago[FIX] account.bank.statement: minor typo in test comments
Olivier Dony [Wed, 4 Jul 2012 17:18:22 +0000 (19:18 +0200)]
[FIX] account.bank.statement: minor typo in test comments

bzr revid: odo@openerp.com-20120704171822-3q2xwsvqmlvc75sa

12 years ago[MERGE] OPW 576006: account.period.find() should not select opening/special periods...
Olivier Dony [Wed, 4 Jul 2012 17:17:26 +0000 (19:17 +0200)]
[MERGE] OPW 576006: account.period.find() should not select opening/special periods in some cases

The cases where we filter out special periods
should in fact be the default, but this is a risky
change, so we turn this filtering on via an extra
context flag instead, which can be added by callers
as needed.

bzr revid: odo@openerp.com-20120704171726-vmkvb8dwbc9mdvs8

12 years ago[MERGE] OPW 576406: bank.statement: allow cancelling statements with manual entries
Olivier Dony [Wed, 4 Jul 2012 16:42:08 +0000 (18:42 +0200)]
[MERGE] OPW 576406: bank.statement: allow cancelling statements with manual entries

bzr revid: odo@openerp.com-20120704164208-7fahmtx9uibwxxgd

12 years ago[FIX] OPW 576006: account.period.find() should not select opening/special periods...
Olivier Dony [Wed, 4 Jul 2012 16:33:07 +0000 (18:33 +0200)]
[FIX] OPW 576006: account.period.find() should not select opening/special periods in some cases

The cases where we filter out special periods
should in fact be the default, but this is a risky
change, so we turn this filtering on via an extra
context flag instead, which can be added by callers
as needed.

bzr revid: odo@openerp.com-20120704163307-bvu454y7if8vck8j

12 years ago[FIX] OPW 576406: bank.statement: fix incorrect test + cleanup bad variable names
Olivier Dony [Wed, 4 Jul 2012 14:47:21 +0000 (16:47 +0200)]
[FIX] OPW 576406: bank.statement: fix incorrect test + cleanup bad variable names

bzr revid: odo@openerp.com-20120704144721-9moczgo1k3shuh7j

12 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 4 Jul 2012 05:24:15 +0000 (05:24 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20120703062901-49zsn4i96tmozpj5
bzr revid: launchpad_translations_on_behalf_of_openerp-20120704052415-q0iltvrpzyalwfqk

12 years ago[FIX] mail: more reliable parsing of Date header to avoid rejecting emails
Olivier Dony [Mon, 2 Jul 2012 15:41:06 +0000 (17:41 +0200)]
[FIX] mail: more reliable parsing of Date header to avoid rejecting emails

dateutil.parser.parse() was failing to parse the date on
some seemingly non-standard Date headers including trailing
extra TZ info, such as:
 "Thu, 28 Jun 2012 18:09:47 +0200 (GMT+02:00)"
RFC2822 seems to only mention the +XXXX offset format, but
apparently other formats are employed in the wild, such
as this one coming from the Zimbra webclient.
The fuzzy matching copes with that, and an extra try/except
block was added for good measure, with a fallback on the
current datetime, should the parsing still fail.

bzr revid: odo@openerp.com-20120702154106-mwdrd9bv9xvbde0s

12 years ago[FIX] OPW 575804: web_gantt: hide internal dhtmlx duration for tasks/phases, as it...
Olivier Dony [Mon, 2 Jul 2012 13:30:16 +0000 (15:30 +0200)]
[FIX] OPW 575804: web_gantt: hide internal dhtmlx duration for tasks/phases, as it is misleading

The `duration` used by the dhtmlx gantt component
corresponds to the calendar duration of the event
divided by 3. This makes sense only for events
spanning full days, and for working times
with 8 hours per day. Unfortunately these
hypotheses do not hold for most cases inside
OpenERP, so we should hide this information.
The actual duration of the items can always
been viewed by clicking on the corresponding
label.

bzr revid: odo@openerp.com-20120702133016-gzscrpbbh1a9mgez

12 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

12 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

12 years ago[FIX] account: put amove into draft state by button_cancel() before unlink() because...
Rifakat [Mon, 2 Jul 2012 05:58:45 +0000 (11:28 +0530)]
[FIX] account: put amove into draft state by button_cancel() before unlink() because we can not delete any posted move

bzr revid: rha@tinyerp.com-20120702055845-60nprzm2lq7rv2hc

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 years ago[FIX] account: one day period should not be used while generating invoice, one day...
Rifakat [Wed, 20 Jun 2012 09:54:35 +0000 (15:24 +0530)]
[FIX] account: one day period should not be used while generating invoice, one day period which is exclusively used for initial opening entries while closing any fiscal year

bzr revid: rha@tinyerp.com-20120620095435-ws0dr4g3cz5l4r23

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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