Thibault Delavallée [Thu, 16 May 2013 15:09:00 +0000 (17:09 +0200)]
[IMP] mail: now defines a catchall email alias, used to format the
reply_to of notification emails when having a document without alias, or for
private discussions using external mail readers.
bzr revid: tde@openerp.com-
20130516150900-khb1d1ygyuos1wrl
dle@openerp.com [Thu, 16 May 2013 12:20:12 +0000 (14:20 +0200)]
[ADD]crm: lead as mark as lost multi action
bzr revid: dle@openerp.com-
20130516122012-pc2sfojl59hs3y7x
Launchpad Translations on behalf of openerp [Thu, 16 May 2013 05:12:14 +0000 (05:12 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130515051525-6h06w6secz3p61fv
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130516051214-e3v0iwa7lh573r9b
Quentin (OpenERP) [Tue, 14 May 2013 15:27:24 +0000 (17:27 +0200)]
[MERGE] product, stock: improved usability
bzr revid: qdp-launchpad@openerp.com-
20130514152724-n6u6ex0tjsg9e1yd
Launchpad Translations on behalf of openerp [Tue, 14 May 2013 05:30:36 +0000 (05:30 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130510060814-p5dqz6jx70vyj3h2
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130506054018-5fi2sd0fxqneyv2p
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130512052818-cdxzcubppixczhl3
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130513051744-ykvvn8a82rsew0ki
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130514053036-l4i85pmwsn1qspgl
Launchpad Translations on behalf of openerp [Fri, 10 May 2013 05:51:58 +0000 (05:51 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130510055158-ly4kl4owfmuigcs4
Raphael Collet [Wed, 8 May 2013 15:32:07 +0000 (17:32 +0200)]
[FIX] res_config tests: isinstance(x, long) is False when x is an int!
bzr revid: rco@openerp.com-
20130508153207-0j8m0eiia2rvwmtf
Vo Minh Thu [Tue, 7 May 2013 08:49:41 +0000 (10:49 +0200)]
[FIX] oe: better filter of potential modules in addons paths.
bzr revid: vmt@openerp.com-
20130507084941-afovplgo507holzl
Xavier Morel [Tue, 7 May 2013 08:16:11 +0000 (10:16 +0200)]
[FIX] case where Root's dispatcher finds a non-exposed method
Using elif, if a method was found but not exposed (because
internal/whatever) the controller's index method would be skipped
during URL dispatch leading to a 404.
Since matched method yields an early return, a simple if will work,
and will *not* skip case where ``method and not method.exposed``
bzr revid: xmo@openerp.com-
20130507081611-t2bfba2ai79xj1ew
Antony Lesuisse [Mon, 6 May 2013 11:29:38 +0000 (13:29 +0200)]
[REV] transactions on controllers
bzr revid: al@openerp.com-
20130506112938-g9hck0xbwfb817r5
niv-openerp [Mon, 6 May 2013 10:29:55 +0000 (12:29 +0200)]
[IMP] Added new api to handle transactions in controllers
bzr revid: nicolas.vanhoren@openerp.com-
20130506102955-x28gmm3rx8i6j345
Christophe Matthieu [Mon, 6 May 2013 09:39:06 +0000 (11:39 +0200)]
[FIX] kanban: add_widget: self undefined
bzr revid: chm@openerp.com-
20130506093906-krfhlh021imkjcoc
niv-openerp [Mon, 6 May 2013 09:08:16 +0000 (11:08 +0200)]
[FIX] small error
bzr revid: nicolas.vanhoren@openerp.com-
20130506090816-djjmqa8knfd9asd2
niv-openerp [Mon, 6 May 2013 09:04:07 +0000 (11:04 +0200)]
[FIX] bug with kanban view widgets and do_reload
bzr revid: nicolas.vanhoren@openerp.com-
20130506090407-7urszfsjh10zichz
Vo Minh Thu [Mon, 6 May 2013 07:48:25 +0000 (09:48 +0200)]
[FIX] setup.py: added gevent and gevent-psycopg2 dependencies.
lp bug: https://launchpad.net/bugs/1176165 fixed
bzr revid: vmt@openerp.com-
20130506074825-ihi03ha9o9cx8x49
Foram Katharotiya (OpenERP) [Fri, 3 May 2013 09:16:03 +0000 (14:46 +0530)]
[IMP] move company_id in product module and hide storage location group if product of type 'service'
bzr revid: fka@tinyerp.com-
20130503091603-oz109cyv0nafqxgt
Foram Katharotiya (OpenERP) [Fri, 3 May 2013 08:30:16 +0000 (14:00 +0530)]
[MERGE] with trunk
bzr revid: fka@tinyerp.com-
20130422050357-d31fvhtd1h7swzwl
bzr revid: fka@tinyerp.com-
20130423053720-15zmc1y1cptbnujz
bzr revid: fka@tinyerp.com-
20130429050754-2bqa92xw9hzt38hb
bzr revid: fka@tinyerp.com-
20130503083016-4o4b3e2vvwru5d6i
niv-openerp [Thu, 2 May 2013 16:50:16 +0000 (18:50 +0200)]
[FIX] regenerate base.css, looks like someone modified directly base.css -> that's bad
bzr revid: nicolas.vanhoren@openerp.com-
20130502165016-bltxxned4c58s1mh
Vo Minh Thu [Thu, 2 May 2013 12:59:07 +0000 (14:59 +0200)]
[FIX] long-polling: use start()/stop() instead of serve_forever().
This is done so detecting a possible PPID change works.
(So that the worker dies when its parent dies.)
bzr revid: vmt@openerp.com-
20130502125907-2t96a26eo6c09x2f
Christophe Matthieu [Thu, 2 May 2013 12:28:06 +0000 (14:28 +0200)]
[MERGE] force module paths to be bytestrings
The http controllers handler crashes when there are non-ascii chars in the url path.
`openerp.modules.module.ad_paths` containing unicode strings, werkzeug fail to compare the path `module` which is converted to ascii.
force `module` to be bytestrings
bzr revid: chm@openerp.com-
20130502122806-1i9h8v0cvhb6p63q
Christophe Matthieu [Thu, 2 May 2013 10:42:49 +0000 (12:42 +0200)]
[FIX] http.py
Impossible to load the website when there is a unicode char in the url path.
`openerp.modules.module.ad_paths` containing unicode strings, werkzeug fail to compare the path which is converted to ascii.
force `openerp.modules.module.ad_paths` to only contain bytestrings
bzr revid: chm@openerp.com-
20130502104249-ttokukc2rpetxqkr
Stephane Wirtel [Thu, 2 May 2013 10:30:44 +0000 (12:30 +0200)]
[IMP] This commit contains the new wizard for the merge of partners.
Via this wizard, you will be able to merge a lot of partners via the email,
name, vat or other columns.
It is available in the "Sales/Tools" menu.
bzr revid: stw@openerp.com-
20130502103044-ljnj5n7pvs1vsbed
niv-openerp [Thu, 2 May 2013 09:50:55 +0000 (11:50 +0200)]
[IMP] allow definition of web controllers that match all sub-urls
bzr revid: nicolas.vanhoren@openerp.com-
20130502095055-xq9hna23otx65aq4
Launchpad Translations on behalf of openerp [Tue, 30 Apr 2013 05:42:39 +0000 (05:42 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130430054239-pwosnc6em4h0linf
Launchpad Translations on behalf of openerp [Tue, 30 Apr 2013 05:29:24 +0000 (05:29 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130430052924-th3a8rf85bi2xz1t
Launchpad Translations on behalf of openerp [Tue, 30 Apr 2013 05:28:49 +0000 (05:28 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130430052849-9vod5wz4nun7m48e
niv-openerp [Mon, 29 Apr 2013 14:32:04 +0000 (16:32 +0200)]
[IMP] added widget options for kanban fields
bzr revid: nicolas.vanhoren@openerp.com-
20130429143204-jmly4qxui5wtsyeq
niv-openerp [Mon, 29 Apr 2013 11:06:17 +0000 (13:06 +0200)]
[IMP] added registry for kanban view's fields
bzr revid: nicolas.vanhoren@openerp.com-
20130429110617-to54yjw29oqbx16j
niv-openerp [Mon, 29 Apr 2013 11:04:46 +0000 (13:04 +0200)]
stabilized api
bzr revid: nicolas.vanhoren@openerp.com-
20130429110446-pqmbfg3fxjks6vb0
niv-openerp [Mon, 29 Apr 2013 10:51:26 +0000 (12:51 +0200)]
Got working widget
bzr revid: nicolas.vanhoren@openerp.com-
20130429105126-c4g504lbsp64m29t
Cedric Snauwaert [Mon, 29 Apr 2013 09:25:32 +0000 (11:25 +0200)]
[FIX]mail_followers: signature at the end of mail should be "sent by" and not "send by"
bzr revid: csn@openerp.com-
20130429092532-3h31kduga1h0chbb
Launchpad Translations on behalf of openerp [Mon, 29 Apr 2013 04:42:54 +0000 (04:42 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130426054415-3peq258sdsxch6i5
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130429044254-mq5pfftub8njqfgn
Launchpad Translations on behalf of openerp [Sat, 27 Apr 2013 05:44:23 +0000 (05:44 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130426053411-bv2sqofceiphm7vl
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130427054423-i8yn2pamtsptx8sr
Christophe Simonis [Fri, 26 Apr 2013 16:40:22 +0000 (18:40 +0200)]
[IMP] convert: allow to have <act_window> tags with attribute multi="False" set
bzr revid: chs@openerp.com-
20130426164022-nf9eldyge783b5r1
Quentin (OpenERP) [Thu, 25 Apr 2013 14:07:56 +0000 (16:07 +0200)]
[MERGE] typo
bzr revid: qdp-launchpad@openerp.com-
20130425140756-ijyanyyfltkidnf7
Launchpad Translations on behalf of openerp [Thu, 25 Apr 2013 05:20:35 +0000 (05:20 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130425052035-xdq90ai4jlru7s3r
Quentin (OpenERP) [Wed, 24 Apr 2013 12:01:08 +0000 (14:01 +0200)]
[IMP] ir_model_data: docstring of check_object_reference updated to reflect what it is really doing
bzr revid: qdp-launchpad@openerp.com-
20130424120108-d10vqn51hk4djaj1
Quentin (OpenERP) [Wed, 24 Apr 2013 10:11:55 +0000 (12:11 +0200)]
[IMP] ir_model_data: added raise_on_access_error as argument to check_object_reference()
bzr revid: qdp-launchpad@openerp.com-
20130424101155-1lu2jgceb022oc8u
Quentin (OpenERP) [Wed, 24 Apr 2013 10:06:57 +0000 (12:06 +0200)]
[MERGE] forward port merge of server v7 up to revision 4957
bzr revid: qdp-launchpad@openerp.com-
20130424100657-qqtqp8jz0un1js49
Antony Lesuisse [Wed, 24 Apr 2013 10:01:16 +0000 (12:01 +0200)]
[VER] change serie to 8.0
bzr revid: al@openerp.com-
20130424100116-873ylmqs1s18tugs
Quentin (OpenERP) [Wed, 24 Apr 2013 09:34:03 +0000 (11:34 +0200)]
[REV] revert of commit 4953 that was not appropriate for a stable version. Will be back in trunk
bzr revid: qdp-launchpad@openerp.com-
20130424093403-9dk8yap427kbndzi
Quentin (OpenERP) [Wed, 24 Apr 2013 09:28:10 +0000 (11:28 +0200)]
[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
Quentin (OpenERP) [Wed, 24 Apr 2013 09:23:26 +0000 (11:23 +0200)]
[REV] revert of commit 9058, that was not appropriate for a stable version (again). :-s
bzr revid: qdp-launchpad@openerp.com-
20130424092326-tec7siywgg4pbfu4
Olivier Dony [Wed, 24 Apr 2013 09:16:51 +0000 (11:16 +0200)]
[FIX] res.partner: correct store trigger for display_name, forward port of addons 7.0 fix
Corresponding addons 7.0 patch: rev. 9057
revision-id: odo@openerp.com-
20130423130656-celrtr352yht19ro
bzr revid: odo@openerp.com-
20130424091651-7k7x03c5xhe66zsl
niv-openerp [Wed, 24 Apr 2013 07:54:06 +0000 (09:54 +0200)]
[FIX] pad: display problem due to wrong css selectors
bzr revid: nicolas.vanhoren@openerp.com-
20130424075406-eemkxc7eyyvgiywi
niv-openerp [Wed, 24 Apr 2013 07:46:38 +0000 (09:46 +0200)]
[FIX] pad: regression that caused a stack trace
bzr revid: nicolas.vanhoren@openerp.com-
20130424074638-aq3o08v7z9j1asz0
Launchpad Translations on behalf of openerp [Wed, 24 Apr 2013 05:28:45 +0000 (05:28 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130424052821-pkggcy9qr4rmhl53
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130424052845-9nzv2aje2g99c9eq
Launchpad Translations on behalf of openerp [Wed, 24 Apr 2013 04:52:53 +0000 (04:52 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130421044257-raqgv60vzpztfbpp
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130424045253-1fct3yblx9cwddr9
Antony Lesuisse [Tue, 23 Apr 2013 22:22:45 +0000 (00:22 +0200)]
[FIX] workers, listen backlog based on the number of workers
bzr revid: al@openerp.com-
20130423222245-i3gw87v7rktsb23y
Antony Lesuisse [Tue, 23 Apr 2013 21:06:44 +0000 (23:06 +0200)]
[FIX] http controllers inheritance
minimalist and backward compatible implementation
bzr revid: al@openerp.com-
20130423210644-hmvglhh10zlrwp9q
Christophe Simonis [Tue, 23 Apr 2013 18:37:23 +0000 (20:37 +0200)]
[MERGE] forward port of server v7 up to revision 4954
bzr revid: qdp-launchpad@openerp.com-
20130422093655-txqmbalod6qmw1s6
bzr revid: chs@openerp.com-
20130423183723-9kiexdyzdew8iuzm
Christophe Simonis [Tue, 23 Apr 2013 18:19:26 +0000 (20:19 +0200)]
[FIX] expression: allow creating child_of expression even if "id" field has been redefined, courtesy of Gustavo Adrian Marino
lp bug: https://launchpad.net/bugs/1030942 fixed
lp bug: https://launchpad.net/bugs/1131992 fixed
bzr revid: chs@openerp.com-
20130423181926-yk628txd6yiybtko
Christophe Simonis [Tue, 23 Apr 2013 17:20:13 +0000 (19:20 +0200)]
[FIX] note: be tolerant to unknow stages when creating users
bzr revid: chs@openerp.com-
20130423172013-lzi0gyo81m101fbm
Quentin (OpenERP) [Tue, 23 Apr 2013 15:18:10 +0000 (17:18 +0200)]
[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
Quentin (OpenERP) [Tue, 23 Apr 2013 14:49:48 +0000 (16:49 +0200)]
[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
Christophe Matthieu [Tue, 23 Apr 2013 14:35:50 +0000 (16:35 +0200)]
[FIX] note: Now, new note arrive in the first column defined by the user.
bzr revid: chm@openerp.com-
20130423143550-wwebtu1svsv5yoa1
Quentin (OpenERP) [Tue, 23 Apr 2013 13:50:28 +0000 (15:50 +0200)]
[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
Quentin (OpenERP) [Tue, 23 Apr 2013 12:57:31 +0000 (14:57 +0200)]
[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
Quentin (OpenERP) [Tue, 23 Apr 2013 12:28:20 +0000 (14:28 +0200)]
[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
Olivier Dony [Tue, 23 Apr 2013 13:06:56 +0000 (15:06 +0200)]
[FIX] res.partner: proper store trigger for display name field
That was a stupid oversight, sorry!
bzr revid: odo@openerp.com-
20130423130656-celrtr352yht19ro
Christophe Simonis [Tue, 23 Apr 2013 12:41:51 +0000 (14:41 +0200)]
[REVERT] revert commit fme@openerp.com-
20130418171750-7oldgiewo1eewxk7: do not break stable API !!!
bzr revid: chs@openerp.com-
20130423124151-h025b891xp77flg3
Quentin (OpenERP) [Tue, 23 Apr 2013 10:54:27 +0000 (12:54 +0200)]
[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
Quentin (OpenERP) [Tue, 23 Apr 2013 10:37:06 +0000 (12:37 +0200)]
[IMP/FIX] ir_model_data: added check_object_reference() in order to return a value only if the uid has read access on the targeted object. It avoids raising access rights errors further in the process and prevents duplicating that same code in all addons
bzr revid: qdp-launchpad@openerp.com-
20130423103706-u4wk2y65kam587c6
Quentin (OpenERP) [Tue, 23 Apr 2013 10:14:49 +0000 (12:14 +0200)]
[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
niv-openerp [Tue, 23 Apr 2013 09:25:20 +0000 (11:25 +0200)]
[FIX] im: small graphical bug when we click on an already opened contact
bzr revid: nicolas.vanhoren@openerp.com-
20130423092520-hoqpi01li03yjmrm
Quentin (OpenERP) [Tue, 23 Apr 2013 09:16:26 +0000 (11:16 +0200)]
[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
Quentin (OpenERP) [Tue, 23 Apr 2013 08:57:02 +0000 (10:57 +0200)]
[FIX] account: default values for sign of financial reports in the P&L is -1
bzr revid: qdp-launchpad@openerp.com-
20130423085702-2ls986fyfhibimi1
Launchpad Translations on behalf of openerp [Tue, 23 Apr 2013 06:10:19 +0000 (06:10 +0000)]
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
Olivier Dony [Mon, 22 Apr 2013 17:04:29 +0000 (19:04 +0200)]
[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
Olivier Dony [Mon, 22 Apr 2013 17:04:20 +0000 (19:04 +0200)]
[FIX] rml2html: 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-
20130422170420-in1wo45v3q8q0fhr
Quentin (OpenERP) [Mon, 22 Apr 2013 15:34:49 +0000 (17:34 +0200)]
[MERGE] forward port of addons v7 up to revision 9045
bzr revid: qdp-launchpad@openerp.com-
20130422153449-c62emljfa4a49758
Cedric Snauwaert [Mon, 22 Apr 2013 14:44:38 +0000 (16:44 +0200)]
[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
Olivier Dony [Mon, 22 Apr 2013 14:15:18 +0000 (16:15 +0200)]
[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
Cedric Snauwaert [Mon, 22 Apr 2013 11:46:57 +0000 (13:46 +0200)]
[FIX]hr_timesheet: correct mistake in default, should be 'id' instead of 'name' in search
bzr revid: csn@openerp.com-
20130422114657-ktu1a7z83c0bhv2n
niv-openerp [Mon, 22 Apr 2013 11:32:54 +0000 (13:32 +0200)]
[ADD] instant messaging and live chat features
bzr revid: nicolas.vanhoren@openerp.com-
20130422113254-ixdfha7s8jbgy2y2
Christophe Matthieu [Mon, 22 Apr 2013 11:24:38 +0000 (13:24 +0200)]
[FIX] note: notes without user's stage are added to the first user's stage (sort by sequence)
bzr revid: chm@openerp.com-
20130422112438-0f1s6we5ggq3t6xn
Thibault Delavallée [Mon, 22 Apr 2013 10:21:14 +0000 (12:21 +0200)]
[FIX] email_template: fixed wrong res_id given to attachments in send_mail (should be a mail.message res_id, not a mail.mail res_id), to use the low-level attachments unlink.
bzr revid: tde@openerp.com-
20130422102114-a179ylzpgu3g6vcr
niv-openerp [Mon, 22 Apr 2013 10:15:24 +0000 (12:15 +0200)]
Removed modification to a file that has nothing to do with the feature
bzr revid: nicolas.vanhoren@openerp.com-
20130422101524-eyd0138u51vot6it
niv-openerp [Mon, 22 Apr 2013 09:58:17 +0000 (11:58 +0200)]
merge trunk
bzr revid: nicolas.vanhoren@openerp.com-
20130422095817-g7n3qe94u91bcefx
Cedric Snauwaert [Mon, 22 Apr 2013 09:37:58 +0000 (11:37 +0200)]
[FIX]hr_timesheet: fix multi-company problem, when user from company b was trying to create an employee, it was
having a read access error due to default value not being on same company
bzr revid: csn@openerp.com-
20130422093758-2vwa4faf1q485bxq
Christophe Matthieu [Mon, 22 Apr 2013 08:43:08 +0000 (10:43 +0200)]
[FIX] web_linkedin: display the real linkedin error inside the openerp popup.
bzr revid: chm@openerp.com-
20130422084308-t32vp4v8k3006uzp
niv-openerp [Mon, 22 Apr 2013 08:29:52 +0000 (10:29 +0200)]
[FIX] possible race condition when creating the session file for the web server
lp bug: https://launchpad.net/bugs/1157102 fixed
bzr revid: nicolas.vanhoren@openerp.com-
20130422082952-yldmbmmx2rhol2pw
Launchpad Translations on behalf of openerp [Sun, 21 Apr 2013 05:32:37 +0000 (05:32 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130421053215-jdbdrur8vk4zu5tc
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130420064852-b6bt9syb79h1x16m
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130421053233-g4dbsfidsqrs301v
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130421053237-8jhzy2qe55bb766x
Launchpad Translations on behalf of openerp [Sun, 21 Apr 2013 04:37:59 +0000 (04:37 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130419052412-h26bmq8wdgeqmbtl
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130421043759-n50olbu0m98tgdcn
Quentin (OpenERP) [Fri, 19 Apr 2013 15:49:20 +0000 (17:49 +0200)]
[FIX] ir_sequence: the field company_id does not exist in res.company, and thus cannot be used as sorting criterion in search()
bzr revid: qdp-launchpad@openerp.com-
20130419154920-ipddx1mszl2c5az4
Quentin (OpenERP) [Fri, 19 Apr 2013 14:54:17 +0000 (16:54 +0200)]
[FIX] orm, _generate_order_by(): allow to order by LOG_ACCESS_COLUMNS even if the column is not defined again in self._columns. Raising an error instead of silently skipping the order_by
bzr revid: qdp-launchpad@openerp.com-
20130419145417-2tix8ynmx51qiqkf
Launchpad Translations on behalf of openerp [Sat, 20 Apr 2013 06:48:40 +0000 (06:48 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130420064840-ctlb3ywgmfytczfj
Olivier Dony [Sat, 20 Apr 2013 03:42:21 +0000 (05:42 +0200)]
[MERGE/ADD] Many important fixes for contact/company management + new module account_report_company
This patch comes with a corresponding server-side patch (revision 4946 revid: odo@openerp.com-
20130420032529-pvv6vuelp84bt26j)
- module-specific overrides of _commercial_fields() for all modules adding accounting/invoicing-related fields to res.partner
- corresponding changes to inherited views of res.partner form to hide these commercial fields when they are in fact "related fields" of their parent commercial entity. This mainly concerns 2 sections of the Partner form: the whole Accounting tab, and the bottom of the Sales&Purchase tabs with the pricelists and invoicing fields. These sections are replaced by a short message and a button to open the commercial entity to view/edit the fields
- a few fixes to properly delegate the resolution of various contact/address types to the corrected res.partner.address_get()
- changes to search views of the main business documents so that searching for a company name will also match its contacts
- a fix of the _find_accounting_partner() method that the account module uses to locate the partner to which journal entries must be linked - it will now use the same semantics as for "commercial entity"
- fix issue detected by Joël Grand-Guillaume in comment #34 of bug 1160365: when invoicing after delivery, the invoicing contact/address must be used rather than the main customer. Tests updated accordingly.
- add new 7.0 module "account_report_company": this module adds an extra stored field "commercial_partner_id" on Invoices to make reporting/aggregating by partner easier in the Invoice list and in the Invoice Analysis report. This module is expected to be merged in the main account module in the next major release. The module can be installed without any risk on any existing 7.0 databases.
This module also mitigates group_by issues on all models by adding a new stored function field `display_name` on res.partner that contains the name_get() result in the form "ACME, John Doe" and set it as the default _order for res.partner. This ensures that group_by entries for the same company will always be next to each other on all documents: "ACME" is directly followed by "ACME, John Doe", "ACME, John Anderson", etc. This field also replaces the `name` field in the list and kanban views of Partners, so that the display order matches the display labels.
- fixed unique constraints definition on some commercial fields on res.partner (l10n_ro)
lp bug: https://launchpad.net/bugs/1160365 fixed
bzr revid: odo@openerp.com-
20130420034221-2wvf6rezwl7gog74
Olivier Dony [Sat, 20 Apr 2013 03:25:29 +0000 (05:25 +0200)]
[MERGE] res.partner: many important fixes for contact/company management and address management, see bug 1160365
- Fix autosync of accounting/invoicing-related fields on contacts, just as if they were actually modeled as fields.related to the parent commercial entity. This starts with the addition of the new functional field `commercial_partner_id`, to locate the commercial entity for any partner. The commercial entity is defined as the first ancestor (starting at the partner itself) that is either marked `is_company` or has no parent.
- Corrected autosync of address fields (bug 1160425). Also included in the same patch, because those two mechanisms are closely related and share some parts of the implementation. "use_parent_address" now defaults to False, and auto-sync only happens downstream, except for a special case when creating a new company and a new contact at the same time
- `is_company` does not reset the parent_id field anymore, to allow for multi-level structures. The `parent_id` field now also stays visible if it has a non-empty value
- the `email`, `phone`, `fax`, `mobile`, `lang`, etc. that were sometimes synced when changing parent company are now properly left alone
- res.partner.address_get() now defaults to the partner being looked up rather than company when no match is found at all and no "default" exists. This avoids losing the contact info on invoices when a new contact+company pair is created.
- the embedded contact creation mini-form was updated to include the address fields and the `type` field
- res.partner.name_get now return "Company, Contact" rather than "Contact (Company)" to make it clearer that the company is selected as well.
- Added warning message when changing the Company of a Contact that already has a company, so it is clear that it should only be done if the Company was incorrect - in other cases a new contact must be created under the new company.
- Fixed search domains using "child_of" to also include deactived records, so that using this operator in the search view of business documents returns the expected results.
- fixed propagation of "is_supplier" flag when creation a parent company for a contact created on the fly on a Purchase Order, and when adding contacts to an existing Supplier Company
lp bug: https://launchpad.net/bugs/1160365 fixed
lp bug: https://launchpad.net/bugs/1122363 fixed
lp bug: https://launchpad.net/bugs/1160425 fixed
bzr revid: odo@openerp.com-
20130420032529-pvv6vuelp84bt26j
Olivier Dony [Sat, 20 Apr 2013 02:26:42 +0000 (04:26 +0200)]
[FIX] search views: use child_of operator for partner_id fields that can reference both companies and contacts
The goal is to match both the Company and its contacts
when searching for the Company
bzr revid: odo@openerp.com-
20130420022642-6qe8pp4ifexjms65
Olivier Dony [Sat, 20 Apr 2013 01:50:03 +0000 (03:50 +0200)]
[REVERT] account_report_company: undo override of res.partner.commercial_partner_id field to store it, as the ORM does not support it and it's not strictly necessary
It works when installing the module but would break
everytime another module that inherits from res.partner
is installed/update from command-line (e.g. -i/-u crm),
as account_report_company is low in the dependency graph
so the field is dropped when the ORM notices that
the current field definition is not stored.
This can be solved in trunk by making the field stored
directly in 'base'.
bzr revid: odo@openerp.com-
20130420015003-8y48xrb14cjif60w
Olivier Dony [Sat, 20 Apr 2013 00:47:13 +0000 (02:47 +0200)]
[FIX] res.partner: fix invisible attrs on Contacts tab, empty o2m field results in `[]`, not `False`
bzr revid: odo@openerp.com-
20130420004713-0cblmquf4t6i2n0r
Olivier Dony [Fri, 19 Apr 2013 17:31:59 +0000 (19:31 +0200)]
[FIX] test_expression: assertion was too sensitive to exact parameters
Now that res.partner.child_ids has an extra domain
attribute the exact number of parameters of queries
using `child_ids` in the WHERE clause is different.
bzr revid: odo@openerp.com-
20130419173159-ef1onm3823hsi77n
Olivier Dony [Fri, 19 Apr 2013 17:18:53 +0000 (19:18 +0200)]
[IMP] account_report_company: use `display_name` instead of name in kanban and list views, so labels visually match order
bzr revid: odo@openerp.com-
20130419171853-dvfi5jvvlof9afoo
Olivier Dony [Fri, 19 Apr 2013 16:52:39 +0000 (18:52 +0200)]
[IMP] account_report_company: add extra stored function field `display_name` on res.partner and use it for sorting
This makes name_search() results, group_by, etc. all behave as expected
bzr revid: odo@openerp.com-
20130419165239-15szgi0e686k6mh9
Olivier Dony [Fri, 19 Apr 2013 16:47:28 +0000 (18:47 +0200)]
[FIX] res.partner.name_get: partners marked as "is_company" should appear as standalone
This is more consistent with the way we expect reporting
to work, and will also ensure that these companies
appear right above their contacts in search order
(which will match name_get)
bzr revid: odo@openerp.com-
20130419164728-25312wtyzt9h6egw
Olivier Dony [Fri, 19 Apr 2013 16:44:47 +0000 (18:44 +0200)]
[REVERT] res.partner: undo change of ordering in name_search result, to be addressed via a stored display_name field (temporarily added by account_report_company module in 7.0)
bzr revid: odo@openerp.com-
20130419164447-wrmfghxi44au3273
niv-openerp [Fri, 19 Apr 2013 14:42:38 +0000 (16:42 +0200)]
[FIX] pad: revert part of previous fix because it could produce problems in some cases
bzr revid: nicolas.vanhoren@openerp.com-
20130419144238-0hq1rgmcacw5sw1r
niv-openerp [Fri, 19 Apr 2013 14:35:29 +0000 (16:35 +0200)]
[FIX] pad: problem about pad title not being updated correctly, was solved by solving another, more serious, bug that didn't updated correctly the database backup of the pad
lp bug: https://launchpad.net/bugs/1155039 fixed
bzr revid: nicolas.vanhoren@openerp.com-
20130419143529-jku5titoacaajft0
Olivier Dony [Fri, 19 Apr 2013 13:57:56 +0000 (15:57 +0200)]
[FIX] res.partner: search using 'child_of' should include inactive children
This is necessary for 2 reasons:
- when searching on Business documents the search domain will be
[('partner_id', 'child_of', 'ACME')] in order to match all
descendants, and it must match inactive children as well
- in other cases like for resolving IDs to update via store
triggers, it is necessary that 'child_of' returns inactive
children too.
The implementation is tricky because the ORM automatically
transform 'child_of' domains into recursive searches with
[('parent_id', 'in', ids)], which is the same query that the
reverse one2many 'child_ids' will also use to find contacts.
The overridden search() therefore matches this domain pattern
only when there is one criterion (to avoid side-effects in
other cases) and a dummy extra 'domain' was added to the
definition of the 'child_ids' o2m so it won't match.
The net result is that child_ids will not return inactive
children while child_of will return all descendants when
it is the only criterion. This is the expected behavior
whenever child_of is used on res.partner, because
it's safer to always show business documents.
The only side-effects will be for custom/manual search
calls with a single criterion of the form ('parent_id','in', x)
and those can be fixed by adding an extra domain
component ('active','=',True), just like child_ids does.
bzr revid: odo@openerp.com-
20130419135756-2kbhwr23lygqdoob