Commit Graph

66094 Commits

Author SHA1 Message Date
vta vta@openerp.com 9a65ac3efc [FIX] Set data noupdate=1
bzr revid: vta@openerp.com-20121212133757-avxsyz1n63t7ancf
2012-12-12 14:37:57 +01:00
vta vta@openerp.com 2501470305 [IMP] Moved all js code from auth_anonymous to portal_anonymous (changed also all related names, etc.) which will do all the job. Removed auth_anonymous
bzr revid: vta@openerp.com-20121212124049-yttnbx75zxrekvc4
2012-12-12 13:40:49 +01:00
vta vta@openerp.com afad97f722 [IMP] Portal, now auto_install (also all of its dependencies)
bzr revid: vta@openerp.com-20121212112237-1uvr5kuwheyq0sri
2012-12-12 12:22:37 +01:00
vta vta@openerp.com 35099eb3c5 [FIX] Show subscribe/unsuscribe button on events for user/portal, not when user is anonymous
bzr revid: vta@openerp.com-20121212111710-h0nmw6useq19wy12
2012-12-12 12:17:10 +01:00
vta vta@openerp.com 04a3aaec98 [FIX] Access rights on events for anonymous
bzr revid: vta@openerp.com-20121212110834-sxgr3uq0sr8mok0y
2012-12-12 12:08:34 +01:00
vta vta@openerp.com 20567b2131 [FIX] Small fixes related to access rights, and reordering of user/group definitions
bzr revid: vta@openerp.com-20121212081417-0zkbzs1ev6iu7hsf
2012-12-12 09:14:17 +01:00
vta vta@openerp.com 72628c6fc6 [ADD] Add security rules to group_anonymous, removed unused files, and fixed descriptor of portal_anonymous
bzr revid: vta@openerp.com-20121211153218-kp88oqt9me5d7z7t
2012-12-11 16:32:18 +01:00
vta vta@openerp.com 1063627459 [FIX] Move anonymous group and user definition to portal data
bzr revid: vta@openerp.com-20121211152006-albv2ozyxmpdydzc
2012-12-11 16:20:06 +01:00
vta vta@openerp.com 69cee985ff [FIX] Move portal group definition to data
bzr revid: vta@openerp.com-20121211151837-05brccm8xaebqjvu
2012-12-11 16:18:37 +01:00
Cedric Snauwaert 54a4b12103 [FIX]fleet : go to fleet menu after installation, change demo data, correct some bugs
bzr revid: csn@openerp.com-20121211103734-mtt0lbqiebp0e4v5
2012-12-11 11:37:34 +01:00
Cedric Snauwaert 8aac6dffd6 [MERGE]merge with latest addons trunk
bzr revid: csn@openerp.com-20121211103429-rmh5qs23rbsxrttk
2012-12-11 11:34:29 +01:00
Fabien Meghazi c124fc3281 [FIX] Roundtrips binary field value if not bin size
lp bug: https://launchpad.net/bugs/1082616 fixed

bzr revid: fme@openerp.com-20121211103357-csqirmhxehmszyu4
2012-12-11 11:33:57 +01:00
Xavier Morel e616a9aa14 [FIX] would be better if we could write to textareas as well
bzr revid: xmo@openerp.com-20121211101901-1lqbca199wbce2ld
2012-12-11 11:19:01 +01:00
Christophe Simonis 88eb634fd5 [IMP] tools.image: size can have width or height optional
bzr revid: chs@openerp.com-20121211100631-th6jjwnc7b1u957v
2012-12-11 11:06:31 +01:00
Cedric Snauwaert 59b6994924 [FIX]could not delete element associated to widget m2m_kanban
bzr revid: csn@openerp.com-20121211100608-ucecq4hf86z6oafu
2012-12-11 11:06:08 +01:00
Josse Colpaert 5d4900faad [MERGE] account: missing rename of payment term id after recent change
bzr revid: jco@openerp.com-20121211092559-mczdwog0jjtoicuv
2012-12-11 10:25:59 +01:00
dle@openerp.com 3960f9ff7b [FIX]Chart of analytic account parent not displayed in toolbar
bzr revid: dle@openerp.com-20121211091902-64yeeqwsqb6qpwd2
2012-12-11 10:19:02 +01:00
Xavier Morel d165b1715c [FIX] broken writing to selection field from web UI
lp bug: https://launchpad.net/bugs/1088764 fixed

bzr revid: xmo@openerp.com-20121211090610-qoh1zazzpp00sx5l
2012-12-11 10:06:10 +01:00
Cedric Snauwaert 8bced827e0 [MERGE]merge with latest addons
bzr revid: csn@openerp.com-20121211090315-vv3as4snjxsk0cqz
2012-12-11 10:03:15 +01:00
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
Josse Colpaert a3155c5ecd [FIX] Changed payment_term to payment_term_net which is in account data
lp bug: https://launchpad.net/bugs/1088261 fixed

bzr revid: jco@openerp.com-20121210172909-tosdh2wwpsnzp17p
2012-12-10 18:29:09 +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
Cedric Snauwaert 9bfd41c39e [ADD]after install go to fleet menu, change driver of demo data to demo_user and put demo_user in fleet_user group
bzr revid: csn@openerp.com-20121210162834-bej2x1m8vms87qre
2012-12-10 17:28:34 +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
Cedric Snauwaert 789ede3ea8 [ADD]search field and some changes to fuel and service log: purchaser should be driver by default
bzr revid: csn@openerp.com-20121210140317-kg03hsk46rpzgcyx
2012-12-10 15:03:17 +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