Commit Graph

68549 Commits

Author SHA1 Message Date
Vo Minh Thu 70d97d67db [FIX] setup.py (windows): add some babel files not automatically included by py2exe.
lp bug: https://launchpad.net/bugs/1089801 fixed

bzr revid: vmt@openerp.com-20130306112159-9j58mf0se3lf7a0j
2013-03-06 12:21:59 +01:00
Xavier Morel 71ec2c9439 [FIX] search view field visible through dropdown menu
xmo@openerp.com-20130305093619-s1e5fbl80r7qnk5l added zIndex on wrong
element of search view (view itself instead of just the autocompletion
drop-down) leading to the search view text field being visible over
the "more" section of the menu.

Move zIndex setting to the right place (on the missing
`autocomplete('widget')` indirection, and on open as jquery ui
autocomplete apparently decides to reset the dropdown's z-index each
time it is open)

bzr revid: xmo@openerp.com-20130306110051-1wfhxaylsn71skjp
2013-03-06 12:00:51 +01:00
Xavier Morel 2ed01c1954 [FIX] various forgotten compilations of sass files into css
bzr revid: xmo@openerp.com-20130306105106-k66gvdz0vgbn1y3e
2013-03-06 11:51:06 +01:00
Xavier Morel a1c57605e4 [FIX] broken kanban sass file
bzr revid: xmo@openerp.com-20130306105038-mtd3tiurvs8ra8gd
2013-03-06 11:50:38 +01:00
Xavier Morel 2e0270783a []FIX] disable (broken) inline edition in grouped editable lists
Because the Add/Create button is global, it's not really possible to
know *where* to create the new record, and the current design can't
really deal with a record being edited outside of all groups.

An option might be to create a dedicated empty group for that, but the
cost/benefit is high and the UI would probably be odd.

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

bzr revid: xmo@openerp.com-20130306102136-2ms7llbt4swka92k
2013-03-06 11:21:36 +01:00
Fabien Meghazi 182eb325fe [MERGE] Remove url timestamps in debug mode
bzr revid: fme@openerp.com-20130306100701-bwli4fkwv7xlfpf8
2013-03-06 11:07:01 +01:00
Xavier Morel 7e7a8b44a9 [IMP] deduplicate trans_parse_view code, rename for clarity
also correctly handle all translatable attributes in a <attribute name=...> extension tag

bzr revid: xmo@openerp.com-20130306095720-3277aw0rq9pzpsw4
2013-03-06 10:57:20 +01:00
Quentin (OpenERP) 319849cac7 [MERGE] share: give the right number of argument to has_share()
bzr revid: qdp-launchpad@openerp.com-20130304191921-zng1j12dm0ftvj2d
2013-03-04 20:19:21 +01:00
Quentin (OpenERP) dafec39152 [FIX] account, usability: removing the group no one from periods menuitem (in accounting\config), as if someone wants to reopen a period this is the normal/easy way to access the period in form view (where the button stands)
bzr revid: qdp-launchpad@openerp.com-20130304171245-lnwxrtp0ejm1lr94
2013-03-04 18:12:45 +01:00
Quentin (OpenERP) 96a940b589 [FIX] project_issue: on project.issue, the state related to the stage 'cancelled' is 'cancelled', not 'cancel'. This bug was preventing the state to be saved in the record, as it was not available in the field.selection (given by project.task.type => task states). I made the state of issues pointing to the right place to prevent any other problems related to code desynchrnonization
bzr revid: qdp-launchpad@openerp.com-20130304171123-bilpd51kbwiy19gb
2013-03-04 18:11:23 +01:00
Quentin (OpenERP) 2d6cadb7a5 [FIX] project_issue: in kanban view of project, display only the number of unclosed issues because the number total of issues is meaningless
bzr revid: qdp-launchpad@openerp.com-20130304131859-4kiyz2lez1ywhkks
2013-03-04 14:18:59 +01:00
Thibault Delavallée 0165ff819d [MERGE] mail: use opt_out parameter in notification emails and in invite emails. As notification_email_send is not present on the partner form view, and as opt_out can be used once CRM is installed, we perform a direct check in the res.partner columns to see if opt_out is present. Please remove me in 8.0 (remove opt_out and replace it by the notification parameter).
lp bug: https://launchpad.net/bugs/1099181 fixed
lp bug: https://launchpad.net/bugs/1130207 fixed

bzr revid: tde@openerp.com-20130306085232-mm8qsvy4takhk2y3
2013-03-06 09:52:32 +01:00
Thibault Delavallée 916bde1c3a [IMP] invite: only opt_out is taken into account when sending invite emails; added some comments to clean the code in 8.0
bzr revid: tde@openerp.com-20130306082445-hg2flvidtgso30dq
2013-03-06 09:24:45 +01:00
Thibault Delavallée ade7c33f18 [FIX] invite: do not send invite notification emails to partners having 'none' or opt_out.
bzr revid: tde@openerp.com-20130306080306-86k0pmzqiqilknzw
2013-03-06 09:03:06 +01:00
Thibault Delavallée b2ebd26e8c [FIX] mail: handle opt_out parameter. Please see comment in code for more info.
bzr revid: tde@openerp.com-20130306075852-dyaynwq0r1otrxx1
2013-03-06 08:58:52 +01:00
Launchpad Translations on behalf of openerp 9623afd500 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130306062137-pxtoftblp1hmspp5
bzr revid: launchpad_translations_on_behalf_of_openerp-20130306062207-lac3gq4ck6k3mexw
bzr revid: launchpad_translations_on_behalf_of_openerp-20130306062221-a6s313kt0qg6rnkj
2013-03-06 06:22:21 +00:00
Olivier Dony f8b102cf87 [FIX] auth_signup: mark module as `bootstrap` so its translations are applied on the login screen
The `bootstrap` flag is only needed for modules that
modify the login screen or DB manager, as these run
in a special bootstrap environment. Loading
database-specific translations requires to be logged
in.

bzr revid: odo@openerp.com-20130305173811-ab52c1x7l00zpgj1
2013-03-05 18:38:11 +01:00
dle@openerp.com 64e0800251 [FIX]auth_signup: signup controllers signatures uses **values instead of login,password,...
bzr revid: dle@openerp.com-20130305143204-p0a12q9ujrhxu67d
2013-03-05 15:32:04 +01:00
dle@openerp.com 165c15dc9c [FIX]auth_signup: intermediate get_params function for signup rpc call (for override purposes)
bzr revid: dle@openerp.com-20130305133148-sgxepdgl45urfso0
2013-03-05 14:31:48 +01:00
Vo Minh Thu 08fa840d74 [FIX] setup.nsi: fix the posgresql registry check:
My understanding is that EnumRegKey will index (the last argument)
the given registry path. When nothing is found, it sets the first
argument to the empty string. Only if the given path is wrong an
error is generated. So we have to go to the DoInstallPostgreSQL
label.

bzr revid: vmt@openerp.com-20130305110253-tu0t240liupxtchj
2013-03-05 12:02:53 +01:00
Xavier Morel 8e9fed0574 [IMP] use @draggable instead of hooking on dragstart to disable image and fake-link dragging
Improves upon xmo@openerp.com-20130218104529-i0i8700v2mwxje4b

bzr revid: xmo@openerp.com-20130305100400-8cqkcnd527yn1hbj
2013-03-05 11:04:00 +01:00
Cedric Snauwaert 2e52316b89 [FIX]product: rename product_variant group since it is not used in v7.0 but still in trunk and users don't understand why nothing happen when ticking the option
bzr revid: csn@openerp.com-20130305100120-h59kuj2twmzf6aos
2013-03-05 11:01:20 +01:00
Xavier Morel 25baf23e23 [FIX] stacking of various "drop-down" elements
The search view's completion list should be in front of the search
view's drawer, which itself should (probably) be on top of the graph
view's "action" dropdown.

The graph view's dropdown itself needs a z-index > 0 to be in front of
the graph itself, otherwise it is inactive and unusable: it's visible
through the graph but not activable.

bzr revid: xmo@openerp.com-20130305093619-s1e5fbl80r7qnk5l
2013-03-05 10:36:19 +01:00
Xavier Morel b438ce5249 [FIX] access rights handling on m2m widgets
m2m lists inherit (from listview/view) the handling of access rights
attributes (e.g. @create, @delete) in which the access rights to the
related model are those checked for the view. This is generally true,
but *not* for m2ms: even if a user has no creation rights to the
related model, he can still create a *relation* between the current
and related models.

The m2m access rights are really governed by the *current* (source)
model, in which case the user won't get to see an "editable" view of
the m2m in the first place.

So just override is_action_enabled to disable it in m2ms.

bzr revid: xmo@openerp.com-20130305091956-zn6qtuo4tl0vh3bs
2013-03-05 10:19:56 +01:00
Xavier Morel f12b4b2b9e [IMP] jsdoc annotations
bzr revid: xmo@openerp.com-20130305091951-z2p0wi7w7p6b93y0
2013-03-05 10:19:51 +01:00
Chris Biersbach 61eb94fb58 [MERGE] OPW 585261: translations: corrects extraction of translation for placeholders
bzr revid: cbi@openerp.com-20130305091225-kkpeb6i8yohce5if
2013-03-05 10:12:25 +01:00
Launchpad Translations on behalf of openerp 420f82ec0e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130305053802-13krr4lhrwrebwak
bzr revid: launchpad_translations_on_behalf_of_openerp-20130305053905-y30zk4dbbcc3qj4b
2013-03-05 05:39:05 +00:00
Xavier ALT b07c1a8461 [FIX] statusbar widget: fix no value display for 'selection' field
* really call initial get_selection() after binding 'change:selection'
 overwise no value are assigned to internal selection list - resulting
 to an empty statusbar when field type is 'selection'

bzr revid: xal@openerp.com-20130304230253-0e959r9sintwsd98
2013-03-05 00:02:53 +01:00
Olivier Dony 8453234ead [FIX] all: change confusing labels on Cancel buttons in form views
bzr revid: odo@openerp.com-20130304184431-1p8byycyl0nv26qx
2013-03-04 19:44:31 +01:00
Quentin (OpenERP) 8d47ec5256 [MERGE] base, res.users: added onchange_state() on res.users. Was crashing because the _inherits is not a real python inheritance
bzr revid: qdp-launchpad@openerp.com-20130304184144-iae1pdrrcfy6pveo
2013-03-04 19:41:44 +01:00
Olivier Dony 84593b0ccf [FIX] base_report_design: fix mixed tabs/spaces preventing compilation under recent libreoffice versions
Plugin binary was updated in previous commit already with these fixes,
so not updated again

bzr revid: odo@openerp.com-20130304173132-op4hcnr1l104mzfg
2013-03-04 18:31:32 +01:00
Olivier Dony b185da93a3 [FIX] base_report_designer: fix upload code in plugin to avoid broken reports
It is the call to upload_report() that triggers the registration
of the new reports in the system, as report services.
Unfortunately the `header` property of the report is cached in
the report service and taken from its value at
registration time. So that value *must* be written before
calling upload_report().

Also force the `Corporate Header` to be checked by default
as this is what users want in most cases, and forgetting
it at report creation makes it very hard to set afterwards,
as it is cached in the service.

Updated plugin binary as well.

bzr revid: odo@openerp.com-20130304173125-zky8rtdye64bep07
2013-03-04 18:31:25 +01:00
Xavier Morel 018416630d [FIX] strip server action code before passing it to eval
Python 2.7's compile handles trailing whitespaces correctly, Python
2.6 does not and blows up.

bzr revid: xmo@openerp.com-20130304164423-83vm9teu7b3c52y3
2013-03-04 17:44:23 +01:00
Xavier Morel b921444d6f [FIX] implement forgotten @invisible handling on search view fields
bzr revid: xmo@openerp.com-20130304152047-8xaczg9qdx6ug2p1
2013-03-04 16:20:47 +01:00
Thibault Delavallée f701461253 [MERGE] Chatter: added a small explanation text when logging a note. Also removed custom placeholders in various views, because they do not make much sense anymore, default message should be sufficient.
bzr revid: tde@openerp.com-20130304135935-hjafhalyp94mona6
2013-03-04 14:59:35 +01:00
Thibault Delavallée fc0dd0709f [IMP] Chatter: log message better in black.
bzr revid: tde@openerp.com-20130304135701-4qss8jrmjk9qs4os
2013-03-04 14:57:01 +01:00
Stephane Wirtel f0116f3696 [FIX] account_followup: Remove the notified_partner_ids and set the
right value for the partner_ids parameter for the message_post
function

bzr revid: stw@openerp.com-20130304131934-tkly4aesoirvaas6
2013-03-04 14:19:34 +01:00
Olivier Dony bdbf554fae [FIX] stock: change confusing labels on Cancel buttons
bzr revid: odo@openerp.com-20130304130732-82xx3rlr87152b0g
2013-03-04 14:07:32 +01:00
Thibault Delavallée a7a7868a3a [IMP] various: removed custom placeholders for chatter, because default message should be sufficient in most cases.
bzr revid: tde@openerp.com-20130304125534-u3zoe730jd1ry3ng
2013-03-04 13:55:34 +01:00
Thibault Delavallée 567b41c51e [IMP] Cahtter: imp log message.
bzr revid: tde@openerp.com-20130304125443-9ua1r01r25so0qyw
2013-03-04 13:54:43 +01:00
Cedric Snauwaert 009ea40995 [FIX]res_users : add missing on_change function for res_user simplified view
bzr revid: csn@openerp.com-20130304105817-v3y9d9vupzhuiu2u
2013-03-04 11:58:17 +01:00
Cedric Snauwaert 0e20990f1e [FIX]share wizard: missing an argument in a function call
bzr revid: csn@openerp.com-20130304105344-f2nnx7udejvelfw9
2013-03-04 11:53:44 +01:00
Xavier Morel d46c61d784 [FIX] don't store user context properties into custom filter @context
This leads to any subsequent view overwriting the current user's lang
or timezone with the one active when the filter was created,
generating dismay and discontent (e.g. part of the user interface
switching from spanish to english or english to german, depending on
the respective settings of the current user and the filter creator —
at time of filter creation).

bzr revid: xmo@openerp.com-20130304101414-mm6ai1dkltd7ard5
2013-03-04 11:14:14 +01:00
Fabien Pinckaers 0e370076f7 [IMP] contracts improved email template
bzr revid: fp@tinyerp.com-20130304085754-0sfvpgh1il0y3pqc
2013-03-04 09:57:54 +01:00
Thibault Delavallée 178e33da07 [IMP] Chatter: add a small explanation text when logging a note.
bzr revid: tde@openerp.com-20130304080559-py7ghom3bt3xr4io
2013-03-04 09:05:59 +01:00
Launchpad Translations on behalf of openerp 03ad9f7290 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130302052257-0w9v71dump44rtov
bzr revid: launchpad_translations_on_behalf_of_openerp-20130303052333-9kn24ocknaagn33h
bzr revid: launchpad_translations_on_behalf_of_openerp-20130304055956-54bietn1iazrisga
2013-03-04 05:59:56 +00:00
Launchpad Translations on behalf of openerp 55e79b4d36 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130302052300-qobkezoqvnyoi1fl
bzr revid: launchpad_translations_on_behalf_of_openerp-20130304055909-ixg5id5sibsci8s9
2013-03-04 05:59:09 +00:00
Olivier Dony e373ac5aeb [MERGE] *: fix/rationalize db logging to avoid incorrect values during logging
The setting/clearing of the tracking were not done
consistently, causing log messages that appeared
to come from one database while coming from another
one or none at all.

The tracker is now set at the earliest points
of request handling as possible:
- in web, when creating WebRequests (dbname, uid)
- at RPC dispatching in server (uid)
- at cron job acquisition in CronWorker (dbname)
- at Registry acquisition in RegistryManager (dbname)


The tracker is cleared at the very entrance of
the request in the WSGI `application`, ensuring
that no logging is produced with an obsolete
db name. (It cannot be cleared at the end of
the request handling because the werkzeug
wrapper outputs more logging afterwards)

bzr revid: odo@openerp.com-20130301182510-1fqo9o8di0jw95b5
2013-03-01 19:25:10 +01:00
Olivier Dony a451cacb91 [MERGE] http.WebRequest: clear db/uid tracking on worker thread to avoid incorrect values during logging
Could happen when a worker thread is reused for another
database but does not go through all the dispatching levels,
e.g. for static resources served by werkzeug itself.

bzr revid: odo@openerp.com-20130301171616-joit5dvjx51ums1y
2013-03-01 18:16:16 +01:00
Olivier Dony 50d1f8675c [FIX] base_report_designer: missing registry signaling, otherwise the report was not available in other workers
bzr revid: odo@openerp.com-20130301152617-c8dem0ozgsnv8esc
2013-03-01 16:26:17 +01:00