Commit Graph
69537 Commits
Author SHA1 Message Date
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
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
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
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
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
Josse Colpaert 804bc3a916 [FIX] in case of no taxes
bzr revid: jco@openerp.com-20130304155550-g5m12ryt6id0b3m3
2013-03-04 16:55:50 +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
Josse Colpaert 1e3725b9e6 [FIX] adjust tests and no taxes when product not available
bzr revid: jco@openerp.com-20130304144722-y30nkmmd8hyby7x0
2013-03-04 15:47:22 +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
Josse Colpaert f08bf5a08e [FIX] Generates journal items immediately from expense
bzr revid: jco@openerp.com-20130304135329-v1dfw564svd0zv7q
2013-03-04 14:53:29 +01:00
Foram Katharotiya (OpenERP) 548936166a [IMP] make required field customer
bzr revid: fka@tinyerp.com-20130304132345-go4efgxiex0slpkl
2013-03-04 18:53:45 +05:30
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
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
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
Christophe Matthieu 39095efe78 [IMP] lunch: quick create user with access to lunch, remove help for quick create
bzr revid: chm@openerp.com-20130304125702-9hp6jg8q329nokoy
2013-03-04 13:57:02 +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
DBR (OpenERP) 0e0626a31f [IMP] set name value of line in yml
bzr revid: dbr@tinyerp.com-20130304115245-tfdqvyhgh2833exb
2013-03-04 17:22:45 +05:30
DBR (OpenERP) dbb28ac108 [IMP] Remove Extra code
bzr revid: dbr@tinyerp.com-20130304113445-b7z7wm6g30ivzf42
2013-03-04 17:04:45 +05:30
Christophe Matthieu b3d7b9c751 [IMP] mail_followers: invite button
bzr revid: chm@openerp.com-20130304113037-i8qubygrkhj7fym6
2013-03-04 12:30:37 +01:00
Foram Katharotiya (OpenERP) 81f0cd8783 [IMP] improve string in invoicing section
bzr revid: fka@tinyerp.com-20130304111733-wnpc98u7mn3im8j3
2013-03-04 16:47:33 +05:30
Foram Katharotiya (OpenERP) af5969508a [IMP] if directly create a so and invoice, from the SO it not display in contract
bzr revid: fka@tinyerp.com-20130304105918-vblu28tisjnbdt0h
2013-03-04 16:29:18 +05:30
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
DBR (OpenERP) 7903d8b0dc [IMP]account_analytic_analysis: set ids intes of id for write bcoz in project there is ids so fix the runbt traceback
bzr revid: dbr@tinyerp.com-20130304103055-qm3qr1nzuul3pd1b
2013-03-04 16:00:55 +05:30
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
Anand Patel (OpenERP) b1a41adb35 [IMP]improved code as per suggation
bzr revid: pan@tinyerp.com-20130304095655-r0lf7c5x881bwqwq
2013-03-04 15:26:55 +05:30
Fabien Meghazi 3d98b97e46 [MERGE] Merge 7.0
bzr revid: fme@openerp.com-20130304093155-dfuyjy66mv4tq13a
2013-03-04 10:31:55 +01:00
Fabien Meghazi 2137b1f8c7 [MERGE] Merge 7.0
bzr revid: fme@openerp.com-20130304093057-1ugp1k1mmxg1ycvh
2013-03-04 10:30:57 +01:00
DBR (OpenERP) a8b4beec4c [IMP]Improve minore change og yml
bzr revid: dbr@tinyerp.com-20130304091903-f44a344lxk3q1xiz
2013-03-04 14:49:03 +05:30
DBR (OpenERP) 31893ec287 [IMP] Improve the code ans yml statements
bzr revid: dbr@tinyerp.com-20130304090508-1l93y5ozddarpqfv
2013-03-04 14:35:08 +05:30
Anand Patel (OpenERP) 055fe6804c [IMP]Improved code as per suggation
bzr revid: pan@tinyerp.com-20130304090235-o7i8jt936c2tvoyk
2013-03-04 14:32:35 +05:30
Fabien Pinckaers 0e370076f7 [IMP] contracts improved email template
bzr revid: fp@tinyerp.com-20130304085754-0sfvpgh1il0y3pqc
2013-03-04 09:57:54 +01:00
Foram Katharotiya (OpenERP) 4f00199aaa [IMP] change string of date & put start date before end date in list view
bzr revid: fka@tinyerp.com-20130304083652-3coo0jeou5lde1z3
2013-03-04 14:06:52 +05:30
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
Foram Katharotiya (OpenERP) 9e037ba34f [IMP] in contract no order to invoice string shoud be seen until sale order is not confirmed
bzr revid: fka@tinyerp.com-20130304072341-uo0b9ibjp2sehyrd
2013-03-04 12:53:41 +05:30
DBR (OpenERP) ee7498a35b [Merge] lp:openobject-addons
bzr revid: dbr@tinyerp.com-20130304062619-vw5w1j90nkvbuadl
2013-03-04 11:56:19 +05:30
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
Anand Patel (OpenERP) b899234680 [MERGE]Trunk
bzr revid: pan@tinyerp.com-20130304044603-6bgcxqjyi0yp04ii
2013-03-04 10:16:03 +05:30
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
Fabien Pinckaers a9d6cf634f [IMP] typo
bzr revid: fp@tinyerp.com-20130301162806-ylfu9v0jxgfpjs7w
2013-03-01 17:28:06 +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
Olivier Dony 261d1c434d [MERGE] registry: another pass of cleanup for registry signaling
Some important points to consider:
 - signaling should be done after any schema alteration (including module [un]installation),
   service registration (e.g. reports)
 - the changes need to be committed to the database *before* signaling, otherwise an
   obvious race condition occurs during reload by other workers
 - any call to restart_pool() must be considered a possible candidate for
   signaling, and the 2 above conditions must be checked

The number of explicit calls was reduced by forcing the signaling at the end of
Registry.new() in case `update_module` was passed as True. In that situation
we always want to signal the changes - so all the redundant signaling calls
can be centralized. We can also assume that the relevant changes have already
been committed at that point, otherwise the registry update would not
have worked in the first place.
This means that there is no need for explicit signaling anymore everytime
`restart_pool` is called with `update_module=True`.

Some missing cr.commit() and explicit signaling calls were added or
moved to the right place. As a reminder: signaling must be done
*after* committing the changes, and usually *after* reloading the
registry on the current worker.

bzr revid: odo@openerp.com-20130301151325-2ygvwp1cx4zms1as
2013-03-01 16:13:25 +01:00