Commit Graph
43971 Commits
Author SHA1 Message Date
Xavier Morel e1df6e9a7d [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
2012-06-29 15:16:11 +02:00
Xavier Morel 548be06651 [FIX] correctly pass along options in ProxyDataSet#write calls
bzr revid: xmo@openerp.com-20120629130703-7hgylg6uulp9pkka
2012-06-29 15:07:03 +02:00
Xavier Morel f1fbb9018b [FIX] missing comma in CSS leading to incorrect selectors
bzr revid: xmo@openerp.com-20120629130319-zn9sc9xkaz01n0yv
2012-06-29 15:03:19 +02:00
Olivier Dony 978bb2f119 [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
2012-06-29 14:39:12 +02:00
Xavier Morel 85884f6485 [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
2012-06-29 14:18:05 +02:00
Olivier Dony e3922a054b [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
2012-06-29 14:04:18 +02:00
Bhumi Thakkar (Open ERP) be07ba003f [FIX] Implement is set and is not set for char,inetger,float,date,datetime widget.
bzr revid: bth@tinyerp.com-20120629111236-27j1mj5krha0rkkm
2012-06-29 16:42:36 +05:30
Xavier Morel e979565c68 [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
2012-06-29 12:53:25 +02:00
Xavier Morel 6f22caee30 [FIX] server action not returning anything should be treated as an empty action descriptor
bzr revid: xmo@openerp.com-20120629095753-n7o6armcs68y8dsr
2012-06-29 11:57:53 +02:00
Xavier ALT c576c4c2e9 [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
2012-06-29 12:35:12 +02:00
Launchpad Translations on behalf of openerp 06509a0043 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
2012-06-29 05:09:23 +00:00
msh-openerp e4a99a044c [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
2012-06-28 15:19:13 +05:30
Launchpad Translations on behalf of openerp 8d311a136a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120626054725-sfkh458dji20957x
bzr revid: launchpad_translations_on_behalf_of_openerp-20120628051241-wa9tpq3yf1fzqm3y
2012-06-28 05:12:41 +00:00
Olivier Dony a0dd1a8acc [MERGE] OPW 574360: yaml_import: properly handle x2m default values
bzr revid: odo@openerp.com-20120625161954-pl0ma1kilq599yxe
2012-06-25 18:19:54 +02:00
Olivier Dony e3f997c44d [FIX] yaml_import: support False as a o2m default value
bzr revid: odo@openerp.com-20120625144013-r6j6zabaap6739gf
2012-06-25 16:40:13 +02:00
Xavier Morel 9029f24d87 [FIX] action buttons activated in editable o2m lists during or after row edition
bzr revid: xmo@openerp.com-20120625072046-29tg3vnnpkhj8fe9
2012-06-25 09:20:46 +02:00
Xavier Morel 942f72b578 [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
2012-06-25 09:09:01 +02:00
Xavier Morel a227e1e43c [CHG] reintroduce a button at the end of the line, but use the cross as a cancel
bzr revid: xmo@openerp.com-20120625065812-6n8lxb0zimzvq1ee
2012-06-25 08:58:12 +02:00
Launchpad Translations on behalf of openerp bd909a7ce6 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
2012-06-25 05:33:27 +00:00
msh-openerp 563bf4d709 [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
2012-06-25 10:01:26 +05:30
Olivier Dony b4be8b80b2 [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
2012-06-22 17:25:36 +02:00
Xavier Morel d64f983fce [FIX] correctly reload an o2m list *after* triggering an action from a row being edited
bzr revid: xmo@openerp.com-20120622150117-w04eibub93ve81mo
2012-06-22 17:01:17 +02:00
Xavier Morel 9e134c9afa [IMP] move ListView.List#reload_record to ListView
bzr revid: xmo@openerp.com-20120622135015-dsvjblv1rd4oezcp
2012-06-22 15:50:15 +02:00
cpa-openerp 45fe4e10b2 [FIX] Fixed options not reach at write method of DataSet.
bzr revid: cpa@tinyerp.com-20120622113153-xdwtfb3lzya65u4v
2012-06-22 17:01:53 +05:30
Olivier Dony 95e00367f5 [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
2012-06-22 11:31:23 +02:00
Xavier Morel 5182068b43 [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
2012-06-22 10:54:32 +02:00
Launchpad Translations on behalf of openerp 838b035f5a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120622051402-aeivuh5dgoe8idc5
2012-06-22 05:14:02 +00:00
Christophe Simonis 136589aafd [FIX] base_vat: correct Switzerland VAT check
bzr revid: chs@openerp.com-20120621143152-1h8xvyoj5rw899ww
2012-06-21 16:31:52 +02:00
Olivier Dony 2a31beee8b [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
2012-06-21 13:08:25 +02:00
Olivier Dony a320a72cf8 [FIX] yaml_import: fix incorrect m2m default handling from previous commit
bzr revid: odo@openerp.com-20120621110532-fsi7hz8fllnlab07
2012-06-21 13:05:32 +02:00
Xavier Morel 1851e1735e [MERGE] visual effects fix on diagram nodes in firefox
bzr revid: xmo@openerp.com-20120621105658-2bgozggy6ouz9fca
2012-06-21 12:56:58 +02:00
Xavier Morel a4004f0bd5 [IMP] simplify localconnector's exception converter: use Python's facilities correctly
bzr revid: xmo@openerp.com-20120621103342-nea9yw135dl5lsta
2012-06-21 12:33:42 +02:00
Xavier Morel 7ee3c3f43d [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
2012-06-21 12:29:40 +02:00
Xavier Morel ace69b6921 [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
2012-06-21 12:11:03 +02:00
Xavier Morel 326d6f419a [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
2012-06-21 12:10:09 +02:00
Olivier Dony 2611c22efe [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
2012-06-21 12:09:00 +02:00
Xavier Morel 70dd03a357 [MERGE] vertically flipped x axis labels in MSIE
bzr revid: xmo@openerp.com-20120621100242-r6jpdtetmxmmaybn
2012-06-21 12:02:42 +02:00
Xavier Morel ff65067f1d [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
2012-06-21 11:52:03 +02:00
Launchpad Translations on behalf of openerp 4d1eb70d75 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
2012-06-21 05:48:48 +00:00
Launchpad Translations on behalf of openerp 8013bd76d0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120621054752-zau83g809c5n2h6f
2012-06-21 05:47:52 +00:00
Olivier Dony 86ec4e2636 [MERGE] l10n_ch: bugfixes from Camptocamp, courtesy of Yannick Vaucher
bzr revid: odo@openerp.com-20120620173200-3hxn1syumst7jdkz
2012-06-20 19:32:00 +02:00
Olivier Dony 3ca63b0b85 [MERGE] OPW 575500: correct importing invoices in bank statements in multi-currency context
bzr revid: odo@openerp.com-20120620170354-qszeal54k6zn7vjk
2012-06-20 19:03:54 +02:00
Olivier Dony 6bfb80c41b [MERGE] l10n_ch: bugfixes from Camptocamp, courtesy of Yannick Vaucher
bzr revid: odo@openerp.com-20120620164927-vxc3pz3o97oqfdc9
2012-06-20 18:49:27 +02:00
Olivier Dony 0c69035459 [FIX] OPW 575500: voucher: invoice_id must be passed when computing voucher lines, to properly reconcile
bzr revid: odo@openerp.com-20120620162735-7bkh0hsf60nn9hud
2012-06-20 18:27:35 +02:00
Olivier Dony 2c89678a0e [FIX] OPW 575500: voucher: multi-currency rate not properly set when importing invoice into bank statement
bzr revid: odo@openerp.com-20120620162647-exh5s98f5a9qrng3
2012-06-20 18:26:47 +02:00
Olivier Dony c3ae5153c9 [MERGE] fields.many2many: always respect destination table order
bzr revid: odo@openerp.com-20120620130232-3aeyct2giarto019
2012-06-20 15:02:32 +02:00
Xavier Morel ed0a94f0d7 [IMP] focus management in date field
bzr revid: xmo@openerp.com-20120620113402-lacdu8fvq9bwrcl6
2012-06-20 13:34:02 +02:00
Xavier Morel 6a4adf2a3b [FIX] blur/focus handling in most (if not all) form widgets
bzr revid: xmo@openerp.com-20120620111527-2j23k13zc6td2deo
2012-06-20 13:15:27 +02:00
Launchpad Translations on behalf of openerp f9f231ea40 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120620051148-acbu5ob17n43l32y
2012-06-20 05:11:48 +00:00
Launchpad Translations on behalf of openerp 5973022a95 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
2012-06-20 05:10:34 +00:00