Commit Graph

55725 Commits

Author SHA1 Message Date
niv-openerp 7c160b8a72 [FIX] optimization necessary in some cases when kanban views can take more that 10 seconds to load
bzr revid: nicolas.vanhoren@openerp.com-20130430094843-9m1629m517vjtm1o
2013-04-30 11:48:43 +02:00
Launchpad Translations on behalf of openerp 6970e5e041 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130430063704-q6sk7sup4c1ej18w
2013-04-30 06:37:04 +00:00
dle@openerp.com 4a7a2d9f8f [FIX]plugin: plugin_handler, push_message, if model is res.partner then we set the type to 'comment' instead of 'email' to avoid the behaviour in mail/res_partner.py message_post
bzr revid: dle@openerp.com-20130429130557-0huoifszlg6g56ny
2013-04-29 15:05:57 +02:00
Olivier Dony 56dbd6078e [FIX] sale: safer inheritance of res.partner form view + no hiding of use_parent_address field
The use_parent_address field is not directly related to the
address type field and was not really meant to be hidden
along with it.

In addition, the div[@name=div_type] and the corresponding
label[@for=type] were duplicated in the embedded form view
inside the `child_ids` field, but that happened later in
the 7.0 series. As a consequence the inherited view must
not rely on the presence of the latter, since some users
may install sales on top of an older version of the base
views. The XPath expressions were therefore modified to
match the first occurrence of these elements in the original
res.partner view, and to match *only* the second occurrence
in the new version of the view. 
This works via a dirty hack relying on the fact that
the `use_parent_address` field is present in the first
occurrence of the div in the original view, but not
in the newer view, so the XPath expression can be made
to match only *one* element in each version of the view.
(Keep in mind that XPath evaluation will always return
results in the order of the document being looked up,
and the ORM only uses the first match. So matching
both nodes was not an option.)

bzr revid: odo@openerp.com-20130429105458-r89mnkx8okdxsdld
2013-04-29 12:54:58 +02:00
Launchpad Translations on behalf of openerp 3536f65967 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130427063440-bmcyenjvm2fm94ck
bzr revid: launchpad_translations_on_behalf_of_openerp-20130428054142-1k74s6tp0zv4aeu5
bzr revid: launchpad_translations_on_behalf_of_openerp-20130429060457-72jpzgm0ky022n8u
2013-04-29 06:04:57 +00:00
Olivier Dony df64fbd276 [FIX] base_report_designer: more incorrect license headers in some source files, reported and contributed by Alec Leamas
Mixing LGPL 2.1 and AGPL 3.0 in the same source file
is incorrect, and the AGPLv3 license was added by
mistake: keep only LGPL license and preserve
copypright info.

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

bzr revid: odo@openerp.com-20130426161316-hox8tnep8gl4xa1n
2013-04-26 18:13:16 +02:00
Thibault Delavallée dd09b3185b [FIX] [FIX] Fix needaction counters, now updated dynamically.
Needaction counters are now updated :
- when loading the menus (as before),
- when performing an action in a form view (update the current menu),
- when cliking on a top-level menu item (update all childs menus)

bzr revid: tde@openerp.com-20130426093653-gwdciylu26nfntzp
2013-04-26 11:36:53 +02:00
Thibault Delavallée a281c372d9 [FIX] Fix needaction counters, now updated dynamically.
Added a needaction_menu_ref key in the context of some actions to
automatically reload the counter of menus related to an action.
Various mailboxes are now dynamic.
Reading messages now increase/decrease the needaction counters with the
corect number.
Added a missing message_unread filter on My Tasks in project_gtd.

bzr revid: tde@openerp.com-20130426093443-dx3bwe0i6ubczb0e
2013-04-26 11:34:43 +02:00
Thibault Delavallée 1088554b40 [REV] Removed code changed not related to this branch.
bzr revid: tde@openerp.com-20130426075650-jxzw3h52idj2zp7y
2013-04-26 09:56:50 +02:00
Thibault Delavallée c625881c1f [REV] Removed change not related to this branch.
bzr revid: tde@openerp.com-20130426075638-ofea10g8ll0z2h64
2013-04-26 09:56:38 +02:00
Thibault Delavallée 90d82b9fa6 [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130425143845-si7n2luxdqpixjlf
bzr revid: tde@openerp.com-20130426074536-sto6625nzcbtdbah
2013-04-26 09:45:36 +02:00
Thibault Delavallée 5cafebd48a [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130425143838-cl9k0fpml5r0q6bi
bzr revid: tde@openerp.com-20130426074530-16h0doe2cju6xkug
2013-04-26 09:45:30 +02:00
Launchpad Translations on behalf of openerp 7561f48578 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130426062412-awemubat7ag9ji19
bzr revid: launchpad_translations_on_behalf_of_openerp-20130426062416-6321y5y98sute3k0
2013-04-26 06:24:16 +00:00
Thibault Delavallée 9c88589286 [FIX] project_gtd: added missing 'message_unread' filter to use in conjunction with the needaction counter.
bzr revid: tde@openerp.com-20130425143807-h94ivrj0eftvakte
2013-04-25 16:38:07 +02:00
Quentin (OpenERP) 5cf3622148 [FIX] account_voucher: usability changes related to multi currency use cases. Display the options when needed only
bzr revid: qdp-launchpad@openerp.com-20130425125244-nnqv127m0gc70e4s
2013-04-25 14:52:44 +02:00
Quentin (OpenERP) dc51b7a465 [FIX] stock: fixed stock valuation bookings made in multi currency
bzr revid: qdp-launchpad@openerp.com-20130425124933-s7a7724si9lenpsp
2013-04-25 14:49:33 +02:00
Quentin (OpenERP) 2ae76572ea [FIX] account: fixed bad constraint message
bzr revid: qdp-launchpad@openerp.com-20130425124453-gc42mimtn6dfec3u
2013-04-25 14:44:53 +02:00
Quentin (OpenERP) b507941664 [FIX] account_voucher: usability improvement related to multi currency
bzr revid: qdp-launchpad@openerp.com-20130425124404-t22dzpv0rtohoh9y
2013-04-25 14:44:04 +02:00
Quentin (OpenERP) 11ac47133e [FIX] account_voucher: pay invoice 'wizard' now displays 1) the monetary widget even if the journal is in the company currency and 2) the writeoff fields
bzr revid: qdp-launchpad@openerp.com-20130425121815-nbooi3hpah8wqdxc
2013-04-25 14:18:15 +02:00
Thibault Delavallée 20a66a8fb5 [FIX] Chatter: suggested recipients: avoid displaying (false) when having suggested recipient without email address
bzr revid: tde@openerp.com-20130425093953-ech46xrkbjjupn3j
2013-04-25 11:39:53 +02:00
Thibault Delavallée ca4ccafb37 [FIX] mail: invite: avoid sendign a void invite message; but cleditor produces <br> instead of a void message when deleting the widget content.
bzr revid: tde@openerp.com-20130425085256-6jpfesyhbo7qgis3
2013-04-25 10:52:56 +02:00
Thibault Delavallée 92e09ed8c4 [FIX] hr: welcome message translatable.
bzr revid: tde@openerp.com-20130425091256-qan1jkw1875zhthh
2013-04-25 11:12:56 +02:00
Launchpad Translations on behalf of openerp 83fb6fbf02 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130425060541-r1eqpc1djb3vy953
bzr revid: launchpad_translations_on_behalf_of_openerp-20130425060609-9otf0125cci1hjvi
2013-04-25 06:06:09 +00:00
Vishmita Jadeja (openerp) 2178351145 [IMP]Improve code
bzr revid: vja@tinyerp.com-20130424131241-m9katp6tlbbnr9kd
2013-04-24 18:42:41 +05:30
Vishmita Jadeja (openerp) e18a85f261 [IMP]False return when there is no email address in recipient in chatter
bzr revid: vja@tinyerp.com-20130424123425-jo6i7jg8albrbhi2
2013-04-24 18:04:25 +05:30
Quentin (OpenERP) c366f6becf [FIX] hr_timesheet: proper fix for previously reverted commit 9058. Don't return a default value for journal and product if the uid doesn't have read access on it
bzr revid: qdp-launchpad@openerp.com-20130424092810-qmkgr66pv770euv3
2013-04-24 11:28:10 +02:00
Quentin (OpenERP) 2b89c192f2 [REV] revert of commit 9058, that was not appropriate for a stable version (again). :-s
bzr revid: qdp-launchpad@openerp.com-20130424092326-tec7siywgg4pbfu4
2013-04-24 11:23:26 +02:00
niv-openerp 616f705ef9 [FIX] pad: display problem due to wrong css selectors
bzr revid: nicolas.vanhoren@openerp.com-20130424075406-eemkxc7eyyvgiywi
2013-04-24 09:54:06 +02:00
niv-openerp e6902869ed [FIX] pad: regression that caused a stack trace
bzr revid: nicolas.vanhoren@openerp.com-20130424074638-aq3o08v7z9j1asz0
2013-04-24 09:46:38 +02:00
Launchpad Translations on behalf of openerp 26e488f2fb Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130424052821-pkggcy9qr4rmhl53
bzr revid: launchpad_translations_on_behalf_of_openerp-20130424052845-9nzv2aje2g99c9eq
2013-04-24 05:28:45 +00:00
Antony Lesuisse 44569c06a2 [FIX] http controllers inheritance
minimalist and backward compatible implementation

bzr revid: al@openerp.com-20130423210644-hmvglhh10zlrwp9q
2013-04-23 23:06:44 +02:00
Christophe Simonis 06746ad25b [FIX] note: be tolerant to unknow stages when creating users
bzr revid: chs@openerp.com-20130423172013-lzi0gyo81m101fbm
2013-04-23 19:20:13 +02:00
Cedric Snauwaert 630f1eb42d [FIX]account_voucher: change payment view to add some field and currency when it is the same than company.
Also add some missing field in account voucher sale form

bzr revid: csn@openerp.com-20130423152439-ixdfgasutdv1pj62
2013-04-23 17:24:39 +02:00
Quentin (OpenERP) 1e344dbc53 [FIX] account_analytic_analysis, hr_timesheet_invoice: partial replay of the fix made in revno 9056. The fix effect is the same, but more appropriate to a stable version (the wizard will be removed in v8 only)
bzr revid: qdp-launchpad@openerp.com-20130423151810-lcwo7abivbaoog0s
2013-04-23 17:18:10 +02:00
Quentin (OpenERP) e13dc082e5 [REV] revert revision 9056 that was deleting a whole wizard. The patch is good but not applicable as it in the v7
bzr revid: qdp-launchpad@openerp.com-20130423144948-unekni1ztjwv71fb
2013-04-23 16:49:48 +02:00
Christophe Matthieu 5af43030d3 [FIX] note: Now, new note arrive in the first column defined by the user.
bzr revid: chm@openerp.com-20130423143550-wwebtu1svsv5yoa1
2013-04-23 16:35:50 +02:00
Quentin (OpenERP) 2bc4260c54 [FIX] account_voucher: fix in amount_currency computation when the rate is specified on the voucher and the voucher is in the company currency
bzr revid: qdp-launchpad@openerp.com-20130423135028-70887smme8mxv0tn
2013-04-23 15:50:28 +02:00
Olivier Dony 2e4aafa7dc [FIX] res.partner: proper store trigger for display name field
That was a stupid oversight, sorry!

bzr revid: odo@openerp.com-20130423130656-celrtr352yht19ro
2013-04-23 15:06:56 +02:00
Quentin (OpenERP) 7e46260474 [FIX] account: modified the constraint on account.move.reconcile in order to allow the reconciliation to be made on different partners if it doesn't concern a payable or receivable account
bzr revid: qdp-launchpad@openerp.com-20130423125731-dblhpx7zz4q9x464
2013-04-23 14:57:31 +02:00
Christophe Simonis e5736828f9 [REVERT] revert commit fme@openerp.com-20130418171750-7oldgiewo1eewxk7: do not break stable API !!!
bzr revid: chs@openerp.com-20130423124151-h025b891xp77flg3
2013-04-23 14:41:51 +02:00
Quentin (OpenERP) 6d9ae761cd [FIX] hr_timesheet: return default values for journal and product only if the uid has the read access on it (multi-company) thanks to a new method on ir.model.data: check_object_reference()
bzr revid: qdp-launchpad@openerp.com-20130423122820-9gf2i4iic5bqr8g6
2013-04-23 14:28:20 +02:00
Quentin (OpenERP) d50b081191 [MERGE] account_analytic_analysis, hr_timsheet_invoice: fix made in the computation of the 'Invoiced Amount' computed field + removal of wizard to invoice timesheets that was giving wrong results, and which is now replaced by a simple redirection on the lines to invoice
bzr revid: qdp-launchpad@openerp.com-20130423105427-yrs3g9x6nigdl20j
2013-04-23 12:54:27 +02:00
Quentin (OpenERP) 27d98e675f [FIX] sale_analytic_distribution: show the analytic distribution instead of the analytic account in the customer form view
bzr revid: qdp-launchpad@openerp.com-20130423101449-4kyb0r4c5jj3ul78
2013-04-23 12:14:49 +02:00
Quentin (OpenERP) 200257ab89 [FIX] hr_payroll: do not crash when duplicating a payroll structure (because of both classes with same name in the .py) + added recursion check
bzr revid: qdp-launchpad@openerp.com-20130423091626-02475bdw67wdmhd1
2013-04-23 11:16:26 +02:00
Quentin (OpenERP) 7245f7e6f1 [FIX] account: default values for sign of financial reports in the P&L is -1
bzr revid: qdp-launchpad@openerp.com-20130423085702-2ls986fyfhibimi1
2013-04-23 10:57:02 +02:00
Launchpad Translations on behalf of openerp 6b04a532b8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130423060902-2j8xouki50aemi14
bzr revid: launchpad_translations_on_behalf_of_openerp-20130423061017-5os2p9ztugb6jjph
bzr revid: launchpad_translations_on_behalf_of_openerp-20130423061019-n2660taj1o9os75c
2013-04-23 06:10:19 +00:00
Olivier Dony 26f2543dbf [FIX] base_report_designer: incorrect license headers in some source files, reported and contributed by Alec Leamas
Mixing LGPL 2.1 and AGPL 3.0 in the same source file
  is incorrect, and the AGPLv3 license was added by
  mistake: keep only LGPL license and preserve
  copypright info.

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

bzr revid: odo@openerp.com-20130422170429-o8tb92x4mukspe9o
2013-04-22 19:04:29 +02:00
Cedric Snauwaert 7d3a07aa79 [FIX]account_financial_report_data: fix profit and loss sign, sign should be reverse for P&L journal and children
bzr revid: csn@openerp.com-20130422144438-2uc9vhotsznf42ru
2013-04-22 16:44:38 +02:00
Olivier Dony 4b85daf182 [FIX] account_report_company: be more conservative and hide the `name` field instead of removing it from list view
This makes the inherited view still compatible with
modules that depend on the presence of the `name`
field in the list view (otherwise it would depend on the
module loading order and would sometimes work and
sometimes not).

bzr revid: odo@openerp.com-20130422141518-imyiuu59uxnzq5eh
2013-04-22 16:15:18 +02:00
Cedric Snauwaert b2e2d854f8 [FIX]hr_timesheet: correct mistake in default, should be 'id' instead of 'name' in search
bzr revid: csn@openerp.com-20130422114657-ktu1a7z83c0bhv2n
2013-04-22 13:46:57 +02:00