Commit Graph

66365 Commits

Author SHA1 Message Date
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
Quentin (OpenERP) f1ef5b7f37 [FIX] base_calendar: virtual ids
bzr revid: qdp-launchpad@openerp.com-20121210163913-yo38g08n0lfn450j
2012-12-10 17:39:13 +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
Arnaud Pineux 6fba65605c [MERGE] with saas
bzr revid: api@openerp.com-20121210162011-xik9ds2f073jx0nu
2012-12-10 17:20:11 +01:00
dle@openerp.com ce27860092 [FIX]Communication label useless in coda_note if communication empty
bzr revid: dle@openerp.com-20121210161359-oul0rt2l4f37oxov
2012-12-10 17:13:59 +01:00
dle@openerp.com 7b9bd9610c [ADD]Comments
bzr revid: dle@openerp.com-20121210160556-3y3d20f2zdu34sp5
2012-12-10 17:05:56 +01:00
dle@openerp.com deb2f3a954 [ADD]Auto add partner account number
bzr revid: dle@openerp.com-20121210160041-8r68a86w1763xh08
2012-12-10 17:00:41 +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
Arnaud Pineux 9fcac4fa62 [FIX] Survey
lp bug: https://launchpad.net/bugs/1052079 fixed

bzr revid: api@openerp.com-20121210152833-6waodc9cj1ffq8ye
2012-12-10 16:28:33 +01:00
Goran Kliska 6a49eccf68 l10n_hr fixes. Removed unused files, Removed i18n/ folder, fixed l10n_hr_chart_template.xml search=... to XMLID ref=...
bzr revid: goran.kliska@slobodni-programi.hr-20121210152250-l055fy39eu38vje0
2012-12-10 16:22:50 +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
Quentin (OpenERP) d0a942477f [MERGE] trunk
bzr revid: qdp-launchpad@openerp.com-20121210150845-aqk1s4yiyqss4559
2012-12-10 16:08:45 +01:00
Quentin (OpenERP) 5bc8ed05f4 [REF] base_calendar
bzr revid: qdp-launchpad@openerp.com-20121210145803-4r9k0w264clsdyc9
2012-12-10 15:58:03 +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
dle@openerp.com 945246d11a [FIX]Choosen account : If invoice found, set type and account thanks to it, elif partner found, set type and account depending on debit/credit, else default journal account and type = general
bzr revid: dle@openerp.com-20121210143610-dre48wxe8e3s0hjv
2012-12-10 15:36:10 +01:00
Quentin (OpenERP) 9e9b0cc8b4 [REF] base_calendar
bzr revid: qdp-launchpad@openerp.com-20121210142912-9pisd030jhmf8tqy
2012-12-10 15:29:12 +01:00
Quentin (OpenERP) c6475a4cf6 [REF] base_calendar
bzr revid: qdp-launchpad@openerp.com-20121210142630-7x0nvai3txoe3ba6
2012-12-10 15:26:30 +01:00
dle@openerp.com 73ba51f7af [DEL]Transaction families, code, types, categories, communication types, check balance end option
bzr revid: dle@openerp.com-20121210140620-upq370zuvsetoojw
2012-12-10 15:06:20 +01:00
Christophe Matthieu 295c36e66c [IMP]mail: add test for access rights for download attachments
bzr revid: chm@openerp.com-20121210140529-w7fihmb0k1prw40a
2012-12-10 15:05:29 +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
Christophe Matthieu 782cd23937 [IMP]mail: add test for download attachments
bzr revid: chm@openerp.com-20121210134932-wtu43jtpor386zab
2012-12-10 14:49:32 +01:00
Christophe Matthieu ce54a91dee [IMP]mail: read to browse
bzr revid: chm@openerp.com-20121210133540-p5kurxjjflfyzru1
2012-12-10 14:35:40 +01:00
dle@openerp.com 257db6feff [ADD]Balance check
bzr revid: dle@openerp.com-20121210133334-jxepuwxf9safyeur
2012-12-10 14:33:34 +01:00
Christophe Matthieu b9eb2afac5 [IMP]mail: remove import
bzr revid: chm@openerp.com-20121210132552-3o8jop7p6tnhq73s
2012-12-10 14:25:52 +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
dle@openerp.com 54a39ac1b1 [ADD]Missing py
bzr revid: dle@openerp.com-20121210125517-z4ehmco5dkmdxhmf
2012-12-10 13:55:17 +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
dle@openerp.com 07527e1503 [ADD]Check start balance option
bzr revid: dle@openerp.com-20121210122247-qb2sa1k183wrxh3d
2012-12-10 13:22:47 +01:00
dle@openerp.com 94fbe1c356 [MERGE]Latest trunk
bzr revid: dle@openerp.com-20121210113258-ovn3ct84ayo7c04u
2012-12-10 12:32:58 +01:00
Christophe Matthieu 7b2bf84cfe [IMP] mail: download attachment with the controler /web/binary/download_attachment
bzr revid: chm@openerp.com-20121210112830-gt1qs028p3cgp9dp
2012-12-10 12:28:30 +01:00
Christophe Matthieu 5944b6c6d6 [IMP] web: add controler /web/binary/download_attachment with arguments: model, id, method and attachment_id
bzr revid: chm@openerp.com-20121210112712-at23yy7kls6phu9v
2012-12-10 12:27:12 +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
Goran Kliska 9ccf349b80 Translation
bzr revid: goran.kliska@slobodni-programi.hr-20121210111736-4mu0odxtubiv716y
2012-12-10 12:17:36 +01:00
Goran Kliska afbb6ef717 merge from trunk
bzr revid: goran.kliska@slobodni-programi.hr-20121210111404-jcwlv3nsa16bu8zq
2012-12-10 12:14:04 +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