Commit Graph

66071 Commits

Author SHA1 Message Date
Launchpad Translations on behalf of openerp cc69fe1b25 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121211044948-8q9vf1f9ftrzq4wm
bzr revid: launchpad_translations_on_behalf_of_openerp-20121211050318-3noic2ymt0j497rw
2012-12-11 05:03:18 +00:00
Launchpad Translations on behalf of openerp 6ae5cc7b8d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121211044616-c47ciibjkh660n1z
2012-12-11 04:46:16 +00:00
Antony Lesuisse f83bfeff0b [IMP] cleanup menu method mess
do_* were introduce for testing this is not needed anymore

bzr revid: al@openerp.com-20121211021338-8s3jqpfraku1tmsj
2012-12-11 03:13:38 +01:00
Antony Lesuisse c4fcf264c0 [IMP] workers request count on exit
bzr revid: al@openerp.com-20121211012436-gnr3vxhoye1xf0dh
2012-12-11 02:24:36 +01:00
Fabien Pinckaers 0a29f55843 [IMP] contracts
bzr revid: fp@tinyerp.com-20121210194250-ausp6zfxnu4ruq4q
2012-12-10 20:42:50 +01:00
Fabien Pinckaers ed0355a6b7 [IMP] better contract search view
bzr revid: fp@tinyerp.com-20121210193951-ewpv561fq2tbvxuw
2012-12-10 20:39:51 +01:00
Fabien Pinckaers 2f96683e20 [IMP] contract management
bzr revid: fp@tinyerp.com-20121210192810-eff3qaqn90vgl5q3
2012-12-10 20:28:10 +01:00
Xavier Morel 456ce8cd36 [FIX] intermittent test failure
when test is run right at the boundary between two seconds, after rounding to second generated date and reference date could differ.

check that generated date is within a small range (date created before and date created after) instead of equal to reference

bzr revid: xmo@openerp.com-20121210165006-y720xrwlo37sjwm8
2012-12-10 17:50:06 +01:00
niv-openerp aee4b7fb92 [IMP] modified chrome frame message to display better in IE8
bzr revid: nicolas.vanhoren@openerp.com-20121210155021-5b7j4626p52uz1ei
2012-12-10 16:50:21 +01:00
Thibault Delavallée bd0bae6625 [MERGE] Perform auto-join and mailboxes+needaction speed udpate. Server-side branch, holding a refactoring of expression.parse and the addition of _auto_join feature on relational fields.
expression.parse: refactored the main parsing loop, now using source and result stacks. Leaf elements are encapsulated into a specific object, allowing to delegate the join condition formation, working table management and table aliases generation to them. The parsing is now a simple loop taking a leaf, doing one action on it, and putting the result back to be analyzed or in the results. This allows to avoid having nested loops and uncontrolled results.

Other modifications :
- updated the generation of order_by to take into account the table now referred using aliases
- updated Query object to use the aliases
- fixed an outstanding bug about _order, now handled as order. This means that putting direct SQL into _order of models will not be supported anymore, because of the computing complexity now that we have multiple joins in queries. The branch holds the patch from Paulius Sladkevičius
- updated and added tests
- added a basic documentation for the freature

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

bzr revid: tde@openerp.com-20121210154652-6sab9usb38i7adlh
2012-12-10 16:46:52 +01:00
Thibault Delavallée e14e1122ac [MERGE] Perform auto-join and mailboxes+needaction speed udpate. Addons-side branch, holding an update of functional fields to use _auto_join and refactoring of starred messages implementation.
mail_thread
- updated the message_unread function field, now returning a domain on mail_message notifications. This domain is quite complex and redundant, but mandatory in 7.0 considering the limitations of _auto_join
- message_ids is now using auto_join
- removed message_comment_ids field, not necessary and that lead to confusing data on kanban views
mail_message:
- notifications_ids is now using auto_join
- refactored the todo, now delegated to the notifications
- the favorite_user_ids field is therefore removed, and various methods updated
- updated _search_to_read and _search_starred to return a domain on notifications
- updated the domains of the mailboxes accordingly

bzr revid: tde@openerp.com-20121210154452-ngy6lw1jg97ib5gn
2012-12-10 16:44:52 +01:00
Xavier Morel 45f3ee1909 [FIX] xmo@openerp.com-20121210143808-wt4jmi4x0pg85xb8 issue: don't store value from non-existent input
bzr revid: xmo@openerp.com-20121210154411-vrju22fwq7gsjblm
2012-12-10 16:44:11 +01:00
Raphael Collet 43ca577f99 [FIX] js tests: add an abstraction over instance to create properly an assertion function
bzr revid: rco@openerp.com-20121210154309-mubr65ildpiw2wpx
2012-12-10 16:43:09 +01:00
niv-openerp 526c856f7e [FIX] problem in View class, the is_action_enabled() method assumed the existence of the fields_view attribute despite the fact that class never setted that attribute
bzr revid: nicolas.vanhoren@openerp.com-20121210153646-ulbsja1mt9re25wz
2012-12-10 16:36:46 +01:00
Raphael Collet 38994104f0 [IMP] js tests: when testing pyeval on datetimes, avoid comparison with an indepent call to new Date()
bzr revid: rco@openerp.com-20121210151828-lfzyfy75oldkjxk5
2012-12-10 16:18:28 +01:00
Antony Lesuisse a03988e353 [FIX] document_webdav graceful import
bzr revid: al@openerp.com-20121210151725-t4bc08hyitf54y3u
2012-12-10 16:17:25 +01:00
Fabien Meghazi 7852c12d8a [FIX] Better fix for unclickable z-indexed items in dialogs. (Patching jQuery UI dialog)
bzr revid: fme@openerp.com-20121210145239-0x1sprin6hp66ghl
2012-12-10 15:52:39 +01:00
vta vta@openerp.com f5bc832b41 [FIX] Added portal_stock
bzr revid: vta@openerp.com-20121210145159-sdid8amlketh3clz
2012-12-10 15:51:59 +01:00
Xavier Morel d1b9cfce37 [FIX] form widgets failing to return correct value on programmatic save
Editable list was losing value when switching to other row from edited
cell (edit, tab-to-next-fiend then change record worked).

When changing row (by clicking on an other row or pressing up/down),
the list view simply request saving the current form and — once that
is done — switches the form to the new row.

The issue is in what happens *during* form-saving: for most text-based
fields (e.g. CharField-like) the field returns its internal
value. Said internal value was only synchronized when the internal
form control (input or textarea) fired the ``change`` event... and the
change event only fires *after blurring* (leaving) the current
field. So the form saving (and thus the retrieval of field values)
occured before the field could sync its internal value with the one
entered by the user.

Added a bunch of commit_value override to perform this synchronization
right before the field's value is requested.

Also removed an extraneous trailing comma in an array, and removed 2
useless temp storage (unused variables beyond their assignment).

bzr revid: xmo@openerp.com-20121210143808-wt4jmi4x0pg85xb8
2012-12-10 15:38:08 +01:00
Vo Minh Thu 3e6c62d472 [IMP] web.http: _load_addons load the addons in a reproducible way.
I believe there are potential circular imports that can break
because of openerp.modules.module ImportHook, but they are
deifficult to reproduce when the import order is not always
the same.

bzr revid: vmt@openerp.com-20121210140411-ranw3jc3mwu3ymty
2012-12-10 15:04:11 +01:00
Thibault Delavallée 733cb0d96a [MERGE] Sync with trunk, because conflicting with ir_ui_menu lastly udpated.
bzr revid: tde@openerp.com-20121210132204-39p7chispvogelux
2012-12-10 14:22:04 +01:00
Christophe Simonis 507c02aaa2 [REV] close_socket is back in netsvc.py
bzr revid: chs@openerp.com-20121210132133-m1z2hb72y1r1wsei
2012-12-10 14:21:33 +01:00
Thibault Delavallée b0c9f525ce [MERGE] Needaction loading update.
Server-side branch:
- needaction_enabled field on ir_ui_menu is now stored
- needaction_counter field on ir_ui_menu removed
- counters are accessible through get_needaction_data, called by the web client independently of the menu entries

bzr revid: tde@openerp.com-20121210131753-gtw4nyo5kosroq00
2012-12-10 14:17:53 +01:00
Thibault Delavallée 5d2d4dea2c [MERGE] Needaction loading update.
This web revision modifies the way needaction are loaded. Now they are loaded independently of the menus. After having loaded and displayed the various menus, a call to the server is done to avoid a long latency between the login and the display of menus. Needaction counter will be displayed as soon as they are available.

bzr revid: tde@openerp.com-20121210131658-pgy3t9t71f0z2yd5
2012-12-10 14:16:58 +01:00
Thibault Delavallée 1ca5e68b1f [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121130093732-i8y10ayjqiaq5t7p
bzr revid: tde@openerp.com-20121204142854-pauouyapnw7z8zwj
bzr revid: tde@openerp.com-20121205101544-k4ui6thr0ibzw0vx
bzr revid: tde@openerp.com-20121210125423-81wbh4af9sxdqjki
2012-12-10 13:54:23 +01:00
Thibault Delavallée 3446b35874 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121210125418-l8ntl5o5mnb2dq3h
2012-12-10 13:54:18 +01:00
Xavier Morel 70f8f99b35 [FIX] prevent propagation of [UP] and [DOWN] keydown events in form m2o
these events are used by the autocompletion widget internally, if they
bubble upwards they also get handled by the list view which interprets
them as going up/down the list.

Prevent the latter by suppressing bubbling of these events.

bzr revid: xmo@openerp.com-20121210112203-3mry0pvecri0pv9o
2012-12-10 12:22:03 +01:00
Xavier Morel e972b6a5d4 [FIX] cancel list edition on search
Otherwise, if a search is performed while creating or editing a line
(e.g. in logged calls, create a line without saving then try to apply
a filter) the edition section (and new line) disappears but the list
remains in "edition" mode (e.g. save/discard button) even though
edition data is missing (trying to save or discard will error out).

bzr revid: xmo@openerp.com-20121210100914-delia5bhmtgrujpu
2012-12-10 11:09:14 +01:00
Xavier Morel f9e610a890 [FIX] don't lose debug mode when clicking on logo
bzr revid: xmo@openerp.com-20121210100137-h2ydpz6b63c48b1z
2012-12-10 11:01:37 +01:00
Raphael Collet 590add54d4 [IMP] resource: improve ugly code in conversion function
bzr revid: rco@openerp.com-20121210090554-fb59bzz5ceogehms
2012-12-10 10:05:54 +01:00
Thibault Delavallée f0abd6f49e [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121210083805-1t45n6xxmptpo28o
2012-12-10 09:38:05 +01:00
Thibault Delavallée 0e85b997ef [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121210083743-9xcv6bhxkh75ay66
2012-12-10 09:37:43 +01:00
Thibault Delavallée a4083348d5 [FIX] Portal: portal inbox domain fixed, favorite_user_ids does not exist anymore.é
bzr revid: tde@openerp.com-20121210083718-idod6rjgaasz001y
2012-12-10 09:37:18 +01:00
Launchpad Translations on behalf of openerp 7f1d5daf2f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121210043931-72a32pz7q282df45
bzr revid: launchpad_translations_on_behalf_of_openerp-20121210044428-d9bzm1dnqc26voci
2012-12-10 04:44:28 +00:00
Launchpad Translations on behalf of openerp 798e44b1e4 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121210043632-9tdic74gwliyynmq
2012-12-10 04:36:32 +00:00
Antony Lesuisse 5356be186d [FIX] deps for debian stable, python 2.6
bzr revid: al@openerp.com-20121210010213-v32y3cn5tgwknlj6
2012-12-10 02:02:13 +01:00
Antony Lesuisse 96f632224f [IMP] workers document defaults
bzr revid: al@openerp.com-20121209225349-k0f9jpg7n0nxc70t
2012-12-09 23:53:49 +01:00
Antony Lesuisse 0801f22e04 [IMP] workers setproctitle if available
bzr revid: al@openerp.com-20121209215336-rvmy0dejfpmy1awi
2012-12-09 22:53:36 +01:00
Antony Lesuisse cf31a12d94 [IMP] workers cron dont keep cursors
need for saas and demo

bzr revid: al@openerp.com-20121209212242-s3a91vxg8bixqls7
2012-12-09 22:22:42 +01:00
Antony Lesuisse 97ab217893 [IMP] workers cron logging and chorus
bzr revid: al@openerp.com-20121209204544-7w98xboxh6uytz43
2012-12-09 21:45:44 +01:00
Antony Lesuisse 099ae0f70c [IMP] workers better logging
bzr revid: al@openerp.com-20121209203134-sobl1m3q53bjne2i
2012-12-09 21:31:34 +01:00
Antony Lesuisse a4fcf06301 [FIX] temporary fix workers cron for missing openerp.addons.base
bzr revid: al@openerp.com-20121209200018-bvzdy7nhkyo6kaun
2012-12-09 21:00:18 +01:00
Antony Lesuisse 87c8767999 [FIX] required on boolean warning
bzr revid: al@openerp.com-20121209194352-j6sv17tzh3bz4e1u
2012-12-09 20:43:52 +01:00
Antony Lesuisse 2f1f17ead9 [IMP] fields warning display args to locate them
bzr revid: al@openerp.com-20121209193952-ukk0aie3d8fg18q2
2012-12-09 20:39:52 +01:00
Antony Lesuisse 52f4431198 [REM] deprecated bin
bzr revid: al@openerp.com-20121209193548-m6wjd0kad8aidp5l
2012-12-09 20:35:48 +01:00
Antony Lesuisse 17ec9a3422 [FIX] workers graceful shutdown
bzr revid: al@openerp.com-20121209193022-r4h1ksmqrk2cfnds
2012-12-09 20:30:22 +01:00
Antony Lesuisse 1e1d99b6ea [MERGE] netsvc, netrpc cleanup and wizard kill
bzr revid: al@openerp.com-20121209190948-ggt4tv0qbernwr6k
2012-12-09 20:09:48 +01:00
Antony Lesuisse ae45df93a4 misc
bzr revid: al@openerp.com-20121209190543-83hmvyfcu1af7wiv
2012-12-09 20:05:43 +01:00
Antony Lesuisse c41d63f300 netrpc flip default, backward compatible for a few days
bzr revid: al@openerp.com-20121209185651-7i4vlvul5b3jgnmy
2012-12-09 19:56:51 +01:00
Antony Lesuisse 0cfa89dff7 netrpc flip default
bzr revid: al@openerp.com-20121209185442-1kgtc0hvds4fpng0
2012-12-09 19:54:42 +01:00