Commit Graph
66113 Commits
Author SHA1 Message Date
Arnaud Pineux d288b45bb3 [MERGE] with trunk
bzr revid: api@openerp.com-20121211153352-l1ikpqgz8cxmuuu0
2012-12-11 16:33:52 +01:00
Christophe Matthieu c70f05cc77 [MERGE] catch and display error when there are an error in an attachment upload. Add mail/download_attachment controllers
bzr revid: chm@openerp.com-20121211152219-2hlw1npfq2jfzx88
2012-12-11 16:22:19 +01:00
Fabien Meghazi d63db5ef0a [FIX] Once DB Manager's 'Back to Login' button is used, logging in won't show application.
bzr revid: fme@openerp.com-20121211151824-ywcuhi4hdcvphn7g
2012-12-11 16:18:24 +01:00
Arnaud Pineux dd94a6b00a [IMP] Correct and improve some addons
bzr revid: api@openerp.com-20121211151203-5p7yo1sf2d39r7kr
2012-12-11 16:12:03 +01:00
olt@tinyerp.com f365052c6c [IMP] analytic: 'code' field: remove size limit
bzr revid: olt@tinyerp.com-20121211150419-2sh2n255ej9bewgo
2012-12-11 16:04:19 +01:00
Xavier Morel bc8e74d8b0 [FIX] focusing of form fields, implementation of focusing for tag m2m
jQuery's *focus* method must *not* be used: it triggers the blur and
focus events in the wrong order (and potentially more than once),
breaking the focus handling of the o2m editable list and making it
essentially unusable.

The DOM method behaves correctly, triggers the blur first and the
focus second in a different runloop frame (thus it's possible to bind
on blur, wait a set time and execute the actual blurring iif no focus
event has been seen within the form).

bzr revid: xmo@openerp.com-20121211145652-y63a0ny0gmoiozhn
2012-12-11 15:56:52 +01:00
Fabien Meghazi 6576b52d42 [REV] Url parmaters (hence debug mode) should stay persistent. Use bbq api in order to remove state.
Reverted partial feature of Revision:
3509 revid:chm@openerp.com-20121128082130-x16m1x0bdsgo7grp

bzr revid: fme@openerp.com-20121211145632-yce8jyyu6k7e2lov
2012-12-11 15:56:32 +01:00
Christophe Matthieu 6c73d8dff8 [IMP] web: move controler download_attachment into mail.
bzr revid: chm@openerp.com-20121211145343-jhjj9sohn2shkbt9
2012-12-11 15:53:43 +01:00
Arnaud Pineux 2e31ed3957 [MERGE] with trunk
bzr revid: api@openerp.com-20121211143852-hw0li55oqh9qbhts
2012-12-11 15:38:52 +01:00
Arnaud Pineux 65390e036e [IMP] demo for saas for all languages
bzr revid: api@openerp.com-20121211143836-kmt5l903wmiva8ij
2012-12-11 15:38:36 +01:00
Arnaud Pineux 2fb7baa325 [IMP] demo for french users
bzr revid: api@openerp.com-20121211140346-bhh8o1rf5h57epcz
2012-12-11 15:03:46 +01:00
Fabien Pinckaers 83ba082313 [iMP] contract, add customer name
bzr revid: fp@tinyerp.com-20121211140332-rntjhtn1nxppizvk
2012-12-11 15:03:32 +01:00
Christophe Matthieu b83c11d61a [FIX] web_form: FieldMany2ManyBinaryMultiFiles get_value work with default_value and unloaded value
bzr revid: chm@openerp.com-20121211105045-0kugxoijdxh8sm7s
2012-12-11 11:50:45 +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
Arnaud Pineux 6fba65605c [MERGE] with saas
bzr revid: api@openerp.com-20121210162011-xik9ds2f073jx0nu
2012-12-10 17:20:11 +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
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