odoo/odoo.git
11 years ago[FIX] account_voucher: fixed newly added constraint
Quentin (OpenERP) [Tue, 27 Nov 2012 12:20:37 +0000 (13:20 +0100)]
[FIX] account_voucher: fixed newly added constraint

bzr revid: qdp-launchpad@openerp.com-20121127122037-zvm4rdl15h8vj326

11 years ago[MERGE] joel's branch containing fixes about constraints newly added
Quentin (OpenERP) [Tue, 27 Nov 2012 10:24:42 +0000 (11:24 +0100)]
[MERGE] joel's branch containing fixes about constraints newly added

bzr revid: qdp-launchpad@openerp.com-20121127102442-l4qolhlmbn4g788o

11 years ago[FIX] YAML test on account voucher : Create a second USD account for testing, avoidin...
Joel Grand-Guillaume [Mon, 26 Nov 2012 09:58:34 +0000 (10:58 +0100)]
[FIX] YAML test on account voucher : Create a second USD account for testing, avoiding one of the account constraint to raise.

bzr revid: joel.grandguillaume@camptocamp.com-20121126095834-o29f5cwoffu2t0ic

11 years ago[FIX] Add a check on empty list to avoid a crash if no move lines in the related...
Joel Grand-Guillaume [Mon, 26 Nov 2012 09:52:27 +0000 (10:52 +0100)]
[FIX] Add a check on empty list to avoid a crash if no move lines in the related invoice.

bzr revid: joel.grandguillaume@camptocamp.com-20121126095227-ubezcjc9q0mnr1gg

11 years ago[MRG] From QDP's work on that branch
Joel Grand-Guillaume [Mon, 26 Nov 2012 09:48:40 +0000 (10:48 +0100)]
[MRG] From QDP's work on that branch

bzr revid: joel.grandguillaume@camptocamp.com-20121126094840-xom3ohs2jzh2qb22

11 years ago[REF] some code/error message refactoring
Quentin (OpenERP) [Thu, 22 Nov 2012 14:28:19 +0000 (15:28 +0100)]
[REF] some code/error message refactoring
[REM] account: removed _check_fiscal_year constraint on account.move.line (was made to ensure a journal item's date is included inbetween the date start and stop of the fiscalyear it belongs) over which we have a doubt
[FIX] account: fixed _check_currency_and_amount constraint on account.move.line (having 0 as amount_currency is a legal value since debit and credit can both be 0 (used in case of complex taxes))
[FIX] account_voucher: changed the behavior in order to restrict the update of the journal in a bank statement only when there is a voucher already created/generated for that, because previous check was too restrictive.

bzr revid: qdp-launchpad@openerp.com-20121122142819-wvqak470vn3ete27

11 years ago[MERGE] trunk
Quentin (OpenERP) [Thu, 22 Nov 2012 14:08:00 +0000 (15:08 +0100)]
[MERGE] trunk

bzr revid: qdp-launchpad@openerp.com-20121122140800-1z8t57k0c2leaaqx

11 years ago[IMP] adaptation to hr demo data
Fabien Meghazi [Wed, 21 Nov 2012 12:01:41 +0000 (13:01 +0100)]
[IMP] adaptation to hr demo data

bzr revid: fme@openerp.com-20121121120141-zxj96k7ch8j2xqk7

11 years ago[FIX] Binary fields, limit upload size to 25Mo (only works for browsers supporting...
Fabien Meghazi [Wed, 21 Nov 2012 10:43:29 +0000 (11:43 +0100)]
[FIX] Binary fields, limit upload size to 25Mo (only works for browsers supporting FileAPI)

bzr revid: fme@openerp.com-20121121104329-5aa88lxqogn206l2

11 years ago[FIX] sale.order,invoices: more robust/consistent mechanism for marking documents...
Olivier Dony [Wed, 21 Nov 2012 10:21:37 +0000 (11:21 +0100)]
[FIX] sale.order,invoices: more robust/consistent mechanism for marking documents sent after Send by Email

bzr revid: odo@openerp.com-20121121102137-9wukkbnfktfkg4lo

11 years ago[FIX] mail: remove ugly hack for context filtering that wreaks havoc in contexts
Olivier Dony [Wed, 21 Nov 2012 10:19:17 +0000 (11:19 +0100)]
[FIX] mail: remove ugly hack for context filtering that wreaks havoc in contexts

This hacks makes a mess and works with a whitelist that
completely breaks the generic context passing mechanism.
Replaced by specific guard through default_get overrides
for the models that are sensitive to default value
leaks via context.
E.g. mail.message is sensitive to leaked default_type
context keys that are meant for other models, such
as those passed by the Invoices menus.

bzr revid: odo@openerp.com-20121121101917-izeu4c493un86udf

11 years ago[FIX] portal: typo makes prevents acquirer defaults from working
Olivier Dony [Wed, 21 Nov 2012 10:12:10 +0000 (11:12 +0100)]
[FIX] portal: typo makes prevents acquirer defaults from working

bzr revid: odo@openerp.com-20121121101210-1gtejd9u5blpb1o3

11 years ago[FIX] account.invoice: typos in default email templates: amount_residual -> residual
Olivier Dony [Wed, 21 Nov 2012 10:11:33 +0000 (11:11 +0100)]
[FIX] account.invoice: typos in default email templates: amount_residual -> residual

bzr revid: odo@openerp.com-20121121101133-i14gzydtxzevjcvt

11 years ago[MERGE] many2many_tags: correctly checks it's falsy value
Fabien Meghazi [Wed, 21 Nov 2012 10:08:12 +0000 (11:08 +0100)]
[MERGE] many2many_tags: correctly checks it's falsy value

bzr revid: fme@openerp.com-20121121100812-gzn25f8g50cr5t3t

11 years ago[IMP] portal: unify wording as `Customer Portal` + make footer link translatable...
Olivier Dony [Wed, 21 Nov 2012 10:04:34 +0000 (11:04 +0100)]
[IMP] portal: unify wording as `Customer Portal` +  make footer link translatable + cleanup

bzr revid: odo@openerp.com-20121121100434-wq5julc2njlee7t1

11 years ago[MERGE] mail followers form widget specific visibility rule
Fabien Meghazi [Wed, 21 Nov 2012 09:34:16 +0000 (10:34 +0100)]
[MERGE] mail followers form widget specific visibility rule

bzr revid: fme@openerp.com-20121121093416-c1gn658pwkca6ldp

11 years ago[IMP] tools/mail: html_email_clean() roudtrips falsy values
Fabien Meghazi [Wed, 21 Nov 2012 08:19:40 +0000 (09:19 +0100)]
[IMP] tools/mail: html_email_clean() roudtrips falsy values

bzr revid: fme@openerp.com-20121121081940-z4onugwqi7uxqvw3

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 21 Nov 2012 04:48:18 +0000 (04:48 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20121121044818-2zv06h9572h362aw

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 21 Nov 2012 04:47:55 +0000 (04:47 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20121121044755-oo3gvj8xlcswn1xq

11 years ago[FIX] web: pass env in login_and_redirect
Christophe Simonis [Tue, 20 Nov 2012 18:09:33 +0000 (19:09 +0100)]
[FIX] web: pass env in login_and_redirect

bzr revid: chs@openerp.com-20121120180933-ktarob0a3ll4ccsn

11 years ago[MERGE] Review/Update EDI features for 7.0:
Olivier Dony [Tue, 20 Nov 2012 17:09:15 +0000 (18:09 +0100)]
[MERGE] Review/Update EDI features for 7.0:

Some EDI features replaced by the improved 7.0 portal (with auth_signup)
------------------------------------------------------------------------
- remove the static export of EDI document and the persistence of these EDI blobs, replaced by the live portal access to the document (via portal module)
- remove all the qweb templates and web controllers that were previously used to give access to the EDI document preview
- preserve the web controllers/URLs that were use for the direct EDI import (so that a document from a 6.1 system can still be imported in a 7.0 system)
- temporarily remove the EDI export UI, replaced for the time being by the portal view. => It is planned in 7.1 to provide a new EDI export system via email notification and attaching JSON EDI blobs to outgoing emails. Thanks to the mail gateway integration and a whitelist/certificate system it will be possible to setup end-to-end B2B EDI automation.
- EDI email notifications now integrated in Sales/Invoicing flows via an explicit "Send by Email" step
- PDF version of the document now sent along with the notification (instead of a simple link to view it)
- Portal signup link integrated in this notification when the portal module is installed (via glue module sale_portal)

Online Payment (Paypal) features preserved in a different form
--------------------------------------------------------------
- as the EDI preview was removed, the payment button was moved to a new banner in the portal view of relevant documents, as follows:
- addition of a new portal.payment_acquirer model to define online payment gateways such as Paypal, Google Checkout, etc. (Paypal included by default)
- new payment banner added to the portal form view of Sale Orders and Customer Invoices, allowing online payment via defined payment_acquirers
- new settings item in Settings>Invoicing>Banks&Cash to make the payment banner visible to all employees as well (normally it's only visible in the portal)

+ minor cleanup and removal of deprecated fields

bzr revid: odo@openerp.com-20121120170915-cmb77iubyrwmib2l

11 years ago[MERGE] Sync with trunk
Olivier Dony [Tue, 20 Nov 2012 16:34:29 +0000 (17:34 +0100)]
[MERGE] Sync with trunk

bzr revid: odo@openerp.com-20121120113600-4oyx9sziigbxn8w8
bzr revid: odo@openerp.com-20121120163429-l4cf6r75vwqfvxty

11 years ago[FIX] mail followers: invisible attribute and mode create
Christophe Matthieu [Tue, 20 Nov 2012 16:24:34 +0000 (17:24 +0100)]
[FIX] mail followers: invisible attribute and mode create

bzr revid: chm@openerp.com-20121120162434-g5wfgwndozrcstld

11 years ago[FIX]Fix bug lp:1080997. Add option 'disable_editable_mode' which disable editable...
Denis Ledoux dle@openerp.com [Tue, 20 Nov 2012 16:16:34 +0000 (17:16 +0100)]
[FIX]Fix bug lp:1080997. Add option 'disable_editable_mode' which disable editable widget when setted to true. This is because search popups should not be editable. 'search more...' was not clickable in fields with many2many_tags widget and default tree view with flag editable setted

bzr revid: dle@openerp.com-20121120161634-xc0qxyz6x1ccrl2o

11 years ago[IMP] mail: changed controller due to modification in the clear_action() method
niv-openerp [Tue, 20 Nov 2012 15:52:58 +0000 (16:52 +0100)]
[IMP] mail: changed controller due to modification in the clear_action() method

bzr revid: nicolas.vanhoren@openerp.com-20121120155258-32chebnbcrz37tks

11 years ago[FIX] pad: very bad conception that produced html injection that produced a lot of...
niv-openerp [Tue, 20 Nov 2012 15:51:55 +0000 (16:51 +0100)]
[FIX] pad: very bad conception that produced html injection that produced a lot of incorrect css

bzr revid: nicolas.vanhoren@openerp.com-20121120155155-y1wd0px4trljf453

11 years ago[FIX] tools mail : html_email_clean
Christophe Matthieu [Tue, 20 Nov 2012 15:42:17 +0000 (16:42 +0100)]
[FIX] tools mail : html_email_clean

bzr revid: chm@openerp.com-20121120154217-4ewxir45q1wtjoax

11 years ago[FIX]Add option 'disable_editable_mode' which disable editable widget when setted...
Denis Ledoux dle@openerp.com [Tue, 20 Nov 2012 15:39:58 +0000 (16:39 +0100)]
[FIX]Add option 'disable_editable_mode' which disable editable widget when setted to true. This is because search popups should not be editable. 'search more...' was not clickable in fields with many2many_tags widget and default tree view with flag editable setted

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

bzr revid: dle@openerp.com-20121120153958-jopkpxmz38b78phj

11 years ago[FIX] auth_oauth: set the right copyright and change the description of the module
Stephane Wirtel [Tue, 20 Nov 2012 14:19:21 +0000 (15:19 +0100)]
[FIX] auth_oauth: set the right copyright and change the description of the module

bzr revid: stw@openerp.com-20121120141921-y8yk0q19n2jhgw8p

11 years ago[FIX] Fixed wrong width computing in Dialog. Removed extraneous call to init_dialog...
Fabien Meghazi [Tue, 20 Nov 2012 14:18:07 +0000 (15:18 +0100)]
[FIX] Fixed wrong width computing in Dialog. Removed extraneous call to init_dialog(). Remove Dialog#$buttons dom manipulation hack.

bzr revid: fme@openerp.com-20121120141807-pvdryoib39eqh1u7

11 years ago[FIX] tools mail: html_email_clean return False (standard OpenERP) if the param is...
Christophe Matthieu [Tue, 20 Nov 2012 13:40:01 +0000 (14:40 +0100)]
[FIX] tools mail: html_email_clean return False (standard OpenERP) if the param is False

bzr revid: chm@openerp.com-20121120134001-ivw9dqxha2du70o6

11 years ago[MERGE] fields_view_get: avoid messing up selection fields' _domain attributes, court...
Olivier Dony [Tue, 20 Nov 2012 13:22:30 +0000 (14:22 +0100)]
[MERGE] fields_view_get: avoid messing up selection fields' _domain attributes, courtesy of Stefan Rijnhart (Therp)

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

bzr revid: odo@openerp.com-20121120132230-7xb6d2xxwcgn7ipn

11 years ago[IMP] Model.default_get: allows setting user default values of x2m to False (for...
Olivier Dony [Tue, 20 Nov 2012 13:18:39 +0000 (14:18 +0100)]
[IMP] Model.default_get: allows setting user default values of x2m to False (for consistency with write())

bzr revid: odo@openerp.com-20121120131839-1kdzevubi74ibthy

11 years ago[IMP] res.users: avoid spurious warnings when last login date cannot be updated
Olivier Dony [Tue, 20 Nov 2012 13:16:10 +0000 (14:16 +0100)]
[IMP] res.users: avoid spurious warnings when last login date cannot be updated

bzr revid: odo@openerp.com-20121120131610-v0xwu5zsbmxwvcwe

11 years ago[FIX] Append view domain (in case of selection widget) to a copy of the field's domain
Stefan Rijnhart [Tue, 20 Nov 2012 12:19:36 +0000 (13:19 +0100)]
[FIX] Append view domain (in case of selection widget) to a copy of the field's domain

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

bzr revid: stefan@therp.nl-20121120121936-8b1wiho0q96ckeqk

11 years ago[IMP] auth_oauth: restrict menuitem 'OAuth Providers' to group Technical Features
Raphael Collet [Tue, 20 Nov 2012 11:37:25 +0000 (12:37 +0100)]
[IMP] auth_oauth: restrict menuitem 'OAuth Providers' to group Technical Features

bzr revid: rco@openerp.com-20121120113725-w3wezijifdg21hr7

11 years ago[MERGE] [DEMO] mail, crm: improved demo data.
Thibault Delavallée [Tue, 20 Nov 2012 11:20:22 +0000 (12:20 +0100)]
[MERGE] [DEMO] mail, crm: improved demo data.
Misc :
- added message subtypes to CRM
- archives and sent mailboxes unified
- mail.group description displayed in discussion view
- fixe some issues in Chatter
- fixed some action rules now having user_id = False; otherwise they could not be used to anybody else than admin, leading to a crash

bzr revid: tde@openerp.com-20121120112022-hzdt2x29wvlhs0nz

11 years ago[MERGE] [DEMO] mail, crm: improved demo data.
Thibault Delavallée [Tue, 20 Nov 2012 11:20:07 +0000 (12:20 +0100)]
[MERGE] [DEMO] mail, crm: improved demo data.
This server branch holds the avatars for admin and demo.

bzr revid: tde@openerp.com-20121120112007-nuvqalc2tr9cqe49

11 years ago[IMP] allows to specify a specific eval domain in /web/action/load
niv-openerp [Tue, 20 Nov 2012 11:07:48 +0000 (12:07 +0100)]
[IMP] allows to specify a specific eval domain in /web/action/load

bzr revid: nicolas.vanhoren@openerp.com-20121120110748-5idnflvmxx0jibwe

11 years ago[FIX] Fixed Export dialog buttons. Cleanup openerp.web.Dialog
Fabien Meghazi [Tue, 20 Nov 2012 11:01:04 +0000 (12:01 +0100)]
[FIX] Fixed Export dialog buttons. Cleanup openerp.web.Dialog

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

bzr revid: fme@openerp.com-20121120110104-ge6k5n22cul5jrax

11 years ago[REF]improvement of constraint from rev id : csn@openerp.com-20121120085452-pvvu2aamy...
Cedric Snauwaert [Tue, 20 Nov 2012 10:37:38 +0000 (11:37 +0100)]
[REF]improvement of constraint from rev id : csn@openerp.com-20121120085452-pvvu2aamy2zthwo3 to an sql constraint

bzr revid: csn@openerp.com-20121120103738-fqgi10ucuw9ca735

11 years ago[CLEAN] Demo data: fixed some typos, cleaned a bit before merging.
Thibault Delavallée [Tue, 20 Nov 2012 10:23:25 +0000 (11:23 +0100)]
[CLEAN] Demo data: fixed some typos, cleaned a bit before merging.

bzr revid: tde@openerp.com-20121120102325-5xts5n801p9islgy

11 years ago[FIX] Modified behavior when we click on an action in the 'More' menu.
niv-openerp [Tue, 20 Nov 2012 10:06:20 +0000 (11:06 +0100)]
[FIX] Modified behavior when we click on an action in the 'More' menu.

Since revision 1517, when using the sidebar from a form view, it merged all the fields of the form view in the context of the action.
It was modified to avoid that context pollution, now it only uses those fields to evaluate the context of that action. So it allows
specifying contexts like "{'invoice_id': invoice_id}", but invoice_id will not be propagated any more to the new action context if not
explicitely specified.

bzr revid: nicolas.vanhoren@openerp.com-20121120100620-ig4e02uctysk7oj8

11 years ago[FIX]fix constraint to an SQL constraint
Cedric Snauwaert [Tue, 20 Nov 2012 10:02:52 +0000 (11:02 +0100)]
[FIX]fix constraint to an SQL constraint

bzr revid: csn@openerp.com-20121120100252-ieznyh43zanv2w7q

11 years ago[IMP] tools mail: remove one line test (double)
Christophe Matthieu [Tue, 20 Nov 2012 10:02:25 +0000 (11:02 +0100)]
[IMP] tools mail: remove one line test (double)

bzr revid: chm@openerp.com-20121120100225-it12j6qgxjn3ilbg

11 years ago[FIX] Fixed Export dialog buttons. Cleanup openerp.web.Dialog
Fabien Meghazi [Tue, 20 Nov 2012 09:50:42 +0000 (10:50 +0100)]
[FIX] Fixed Export dialog buttons. Cleanup openerp.web.Dialog

bzr revid: fme@openerp.com-20121120095042-6f4tyiap3t6cxk9e

11 years ago[MOV] admin and demo avatar: moved from mail to server.
Thibault Delavallée [Tue, 20 Nov 2012 09:18:54 +0000 (10:18 +0100)]
[MOV] admin and demo avatar: moved from mail to server.

bzr revid: tde@openerp.com-20121120091854-ksun8xc0ya79olil

11 years ago[MOV] admin and demo avatars: moved from mail to server.
Thibault Delavallée [Tue, 20 Nov 2012 09:18:31 +0000 (10:18 +0100)]
[MOV] admin and demo avatars: moved from mail to server.

bzr revid: tde@openerp.com-20121120091831-ja4zv52q1l8burs7

11 years ago[REV] Chatter: reverted hack about reloading menus.
Thibault Delavallée [Tue, 20 Nov 2012 09:06:02 +0000 (10:06 +0100)]
[REV] Chatter: reverted hack about reloading menus.

bzr revid: tde@openerp.com-20121120090602-un5239e4yl3xcob6

11 years ago[MERGE] Sync with trunk.
Thibault Delavallée [Tue, 20 Nov 2012 09:05:12 +0000 (10:05 +0100)]
[MERGE] Sync with trunk.

bzr revid: tde@openerp.com-20121120090512-82lyg9jotfvlim0n

11 years ago[MERGE] [FIX] hr_recruitment: fixed message_update, broken since a few weeks
Thibault Delavallée [Tue, 20 Nov 2012 09:02:37 +0000 (10:02 +0100)]
[MERGE] [FIX] hr_recruitment: fixed message_update, broken since a few weeks
Also fixed tools.misc.command_re -> tools.command_re
Also fixed fetchmail behavior when managing replies that could lead to messages having a good parent_id, but not attached to the correct document, if headers did not hold model and res_id data.

bzr revid: tde@openerp.com-20121120090237-cekj1kzvsb772hv1

11 years ago[FIX]membership : while configuring membership, date_to should be greater than date_from
Cedric Snauwaert [Tue, 20 Nov 2012 08:54:52 +0000 (09:54 +0100)]
[FIX]membership : while configuring membership, date_to should be greater than date_from

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

bzr revid: csn@openerp.com-20121120085452-pvvu2aamy2zthwo3

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 20 Nov 2012 04:51:20 +0000 (04:51 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20121120045120-19bxfsgj0kx6nbld

11 years ago[IMP] auth_signup: pass db in query string params, in order to trigger mono-db mode
Olivier Dony [Mon, 19 Nov 2012 17:51:14 +0000 (18:51 +0100)]
[IMP] auth_signup: pass db in query string params, in order to trigger mono-db mode

Works after recent monodb patch in web,
at rev.3460 rev-id: al@openerp.com-20121119170802-gdrh1nrj3vtogfvw

bzr revid: odo@openerp.com-20121119175114-3conxxaym32eflgp

11 years ago[MERGE] db option to enabled monodb (used by signup)
Antony Lesuisse [Mon, 19 Nov 2012 17:08:02 +0000 (18:08 +0100)]
[MERGE] db option to enabled monodb (used by signup)

bzr revid: al@openerp.com-20121119170802-gdrh1nrj3vtogfvw

11 years ago[MERGE] Sync with trunk
Olivier Dony [Mon, 19 Nov 2012 17:01:16 +0000 (18:01 +0100)]
[MERGE] Sync with trunk

bzr revid: odo@openerp.com-20121119170116-x6fusrmmmkquvgfh

11 years ago[IMP] monodb bootstrap: support @db query string param to force monodb mode
Olivier Dony [Mon, 19 Nov 2012 17:00:42 +0000 (18:00 +0100)]
[IMP] monodb bootstrap: support @db query string param to force monodb mode

Allows a.o. to let auth_signup URLs works even if multiple DBs
exist

bzr revid: odo@openerp.com-20121119170042-iprc0u159qpf8ll2

11 years ago[MERGE]merge with latest addons
Cedric Snauwaert [Mon, 19 Nov 2012 15:45:51 +0000 (16:45 +0100)]
[MERGE]merge with latest addons

bzr revid: csn@openerp.com-20121119154551-y8uizex6hu7fu1eo

11 years ago[FIX] tools.mail: html_email_clean test type and value of empty value
Christophe Matthieu [Mon, 19 Nov 2012 15:26:15 +0000 (16:26 +0100)]
[FIX] tools.mail: html_email_clean test type and value of empty value

bzr revid: chm@openerp.com-20121119152615-sazfnlc5uwiw0ut9

11 years ago[FIX] tools.mail: html_email_clean test type of empty value
Christophe Matthieu [Mon, 19 Nov 2012 15:24:46 +0000 (16:24 +0100)]
[FIX] tools.mail: html_email_clean test type of empty value

bzr revid: chm@openerp.com-20121119152446-w1z1vuhfk631h0ko

11 years ago[IMP] tools.mail: add a test for html_email_clean function, if empty string
Christophe Matthieu [Mon, 19 Nov 2012 15:17:39 +0000 (16:17 +0100)]
[IMP] tools.mail: add a test for html_email_clean function, if empty string

bzr revid: chm@openerp.com-20121119151739-vcofz0abk7i71b3l

11 years ago[IMP] Lunch demo & security
Arnaud Pineux [Mon, 19 Nov 2012 14:47:02 +0000 (15:47 +0100)]
[IMP] Lunch demo & security

bzr revid: api@openerp.com-20121119144702-rjuh8yl3uycu7z9o

11 years ago[REV] hr_recruitment: reverted improvement of message, not the purpose of this branch.
Thibault Delavallée [Mon, 19 Nov 2012 14:42:36 +0000 (15:42 +0100)]
[REV] hr_recruitment: reverted improvement of message, not the purpose of this branch.

bzr revid: tde@openerp.com-20121119144236-he70h0bptnd2pbdo

11 years ago[ADD] refs to server doc, intersphinx doesn't allow linking documents across docs
Xavier Morel [Mon, 19 Nov 2012 14:39:12 +0000 (15:39 +0100)]
[ADD] refs to server doc, intersphinx doesn't allow linking documents across docs

bzr revid: xmo@openerp.com-20121119143912-z3152u20zxjizzto

11 years ago[FIX] Don't leave button@type=submit in IE
Fabien Meghazi [Mon, 19 Nov 2012 14:37:19 +0000 (15:37 +0100)]
[FIX] Don't leave button@type=submit in IE

bzr revid: fme@openerp.com-20121119143719-1uu4s71jyudfi5u3

11 years ago[IMP] demo data & groups -> refactor
Arnaud Pineux [Mon, 19 Nov 2012 14:21:46 +0000 (15:21 +0100)]
[IMP] demo data & groups -> refactor

bzr revid: api@openerp.com-20121119142146-33aix5tk6bldizu9

11 years ago[FIX] hr_recruitment: fixed message_update, cleaned a bit the code.
Thibault Delavallée [Mon, 19 Nov 2012 14:20:59 +0000 (15:20 +0100)]
[FIX] hr_recruitment: fixed message_update, cleaned a bit the code.

bzr revid: tde@openerp.com-20121119142059-l4cnkyhlrg2vt1b9

11 years ago[FIX] message_route: when replying to a message, use its model and res_id, never...
Thibault Delavallée [Mon, 19 Nov 2012 14:17:40 +0000 (15:17 +0100)]
[FIX] message_route: when replying to a message, use its model and res_id, never lost.

bzr revid: tde@openerp.com-20121119141740-tjlp1uy4mq4lrg48

11 years ago[IMP] demo data & groups -> refactor
Arnaud Pineux [Mon, 19 Nov 2012 14:08:01 +0000 (15:08 +0100)]
[IMP] demo data & groups -> refactor

bzr revid: api@openerp.com-20121119140801-yxj936dhu1eapicl

11 years ago[MERGE]
Arnaud Pineux [Mon, 19 Nov 2012 13:57:27 +0000 (14:57 +0100)]
[MERGE]

bzr revid: api@openerp.com-20121119135727-i197peh7zj0sqsax

11 years ago[IMP] demo data & groups
Arnaud Pineux [Mon, 19 Nov 2012 13:56:28 +0000 (14:56 +0100)]
[IMP] demo data & groups

bzr revid: api@openerp.com-20121119135628-krq8rle10si51vkh

11 years ago[FIX]crm : Correct bug when user alters the stage of lead/opportunities, new lead...
Cedric Snauwaert [Mon, 19 Nov 2012 13:35:54 +0000 (14:35 +0100)]
[FIX]crm : Correct bug when user alters the stage of lead/opportunities, new lead/opportunities won't go to draft mode + typo (removed useless spaces)

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

bzr revid: csn@openerp.com-20121119133554-rizbg56et5siuejz

11 years ago[FIX] addons: fixed calls to command_re.
Thibault Delavallée [Mon, 19 Nov 2012 13:25:09 +0000 (14:25 +0100)]
[FIX] addons: fixed calls to command_re.

bzr revid: tde@openerp.com-20121119132509-dyes929xalp0pgcj

11 years ago[FIX] crm: fixed a call to command_re, now in tools.mail.
Thibault Delavallée [Mon, 19 Nov 2012 13:21:41 +0000 (14:21 +0100)]
[FIX] crm: fixed a call to command_re, now in tools.mail.

bzr revid: tde@openerp.com-20121119132141-6zikqzuxlxap550f

11 years ago[MERGE]merge with latest addons trunk
Cedric Snauwaert [Mon, 19 Nov 2012 12:56:13 +0000 (13:56 +0100)]
[MERGE]merge with latest addons trunk

bzr revid: csn@openerp.com-20121119125613-211aykfipa9l59q3

11 years ago[FIX] many2many_tags: the widget accept the required attribute
Christophe Matthieu [Mon, 19 Nov 2012 12:24:13 +0000 (13:24 +0100)]
[FIX] many2many_tags: the widget accept the required attribute

bzr revid: chm@openerp.com-20121119122413-plp6klbytyjuhwqt

11 years ago[REV] Removed fix, to be inserted in a specific branch.
Thibault Delavallée [Mon, 19 Nov 2012 11:41:25 +0000 (12:41 +0100)]
[REV] Removed fix, to be inserted in a specific branch.

bzr revid: tde@openerp.com-20121119114125-51fhctk8n79ptx65

11 years ago[FIX] push_state() broken after closing a wizard
Fabien Meghazi [Mon, 19 Nov 2012 11:11:30 +0000 (12:11 +0100)]
[FIX] push_state() broken after closing a wizard

bzr revid: fme@openerp.com-20121119111130-7xubnqvvhp3q1jds

11 years ago[IMP] Update jQuery to version 1.8.3
Fabien Meghazi [Mon, 19 Nov 2012 11:11:10 +0000 (12:11 +0100)]
[IMP] Update jQuery to version 1.8.3

bzr revid: fme@openerp.com-20121119111110-rjznfpj6fllfbgqj

11 years ago[IMP] ir_confir_parameter: add parameter 'force' in method 'init' to reinitialize...
Raphael Collet [Mon, 19 Nov 2012 11:02:06 +0000 (12:02 +0100)]
[IMP] ir_confir_parameter: add parameter 'force' in method 'init' to reinitialize existing parameters
This is useful when creating a new database from a dump (reinitialize database.uuid, etc.)

bzr revid: rco@openerp.com-20121119110206-la2yaohf7wmi9yx2

11 years ago[FIX] mail: do not display the body message false value
Christophe Matthieu [Mon, 19 Nov 2012 11:01:58 +0000 (12:01 +0100)]
[FIX] mail: do not display the body message false value

bzr revid: chm@openerp.com-20121119110158-iw2i7qt422fqatvm

11 years ago[FIX] tools mail: html_email_clean return an empty string if the are no value
Christophe Matthieu [Mon, 19 Nov 2012 10:53:30 +0000 (11:53 +0100)]
[FIX]  tools mail: html_email_clean return an empty string if the are no value

bzr revid: chm@openerp.com-20121119105330-2kud8vp18gp15u9e

11 years ago[FIX] fields.html: behave as fields.text for empty values: store NULL
Christophe Matthieu [Mon, 19 Nov 2012 10:43:32 +0000 (11:43 +0100)]
[FIX] fields.html: behave as fields.text for empty values: store NULL

bzr revid: chm@openerp.com-20121119104332-bqm81nuik6pqsbf9

11 years ago[CLEAN] mail: cleaned a bit the demo data.
Thibault Delavallée [Mon, 19 Nov 2012 10:19:53 +0000 (11:19 +0100)]
[CLEAN] mail: cleaned a bit the demo data.

bzr revid: tde@openerp.com-20121119101953-np1gw8e7qhfhncgq

11 years ago[IMP] web: add 'widget: self' in rendering environment of openerp.web.Client
Raphael Collet [Mon, 19 Nov 2012 10:07:34 +0000 (11:07 +0100)]
[IMP] web: add 'widget: self' in rendering environment of openerp.web.Client

bzr revid: rco@openerp.com-20121119100734-dtprbdm9bypid8bk

11 years ago[IMP] mail demo data: removed a few warnings.
Thibault Delavallée [Mon, 19 Nov 2012 09:37:05 +0000 (10:37 +0100)]
[IMP] mail demo data: removed a few warnings.

bzr revid: tde@openerp.com-20121119093705-netx11bsa1gsmrei

11 years ago[CLEAN] mail: cleaned demo data about files and noupdate: fixed some typos.
Thibault Delavallée [Mon, 19 Nov 2012 09:24:57 +0000 (10:24 +0100)]
[CLEAN] mail: cleaned demo data about files and noupdate: fixed some typos.

bzr revid: tde@openerp.com-20121119092457-lgiijzl4c6c90nuk

11 years ago[MERGE] Sync with trunk.
Thibault Delavallée [Mon, 19 Nov 2012 09:16:43 +0000 (10:16 +0100)]
[MERGE] Sync with trunk.

bzr revid: tde@openerp.com-20121119091643-tv7354hnjv77byua

11 years ago[IMP] listview already checks non-empty ids array for deletion, so check not useful
Xavier Morel [Mon, 19 Nov 2012 08:45:33 +0000 (09:45 +0100)]
[IMP] listview already checks non-empty ids array for deletion, so check not useful

bzr revid: xmo@openerp.com-20121119084533-6qnktzmh19kfwtoo

11 years ago[FIX] editable listview: do not attempt to delete falsy ids (from the dataset)
Xavier Morel [Mon, 19 Nov 2012 08:42:03 +0000 (09:42 +0100)]
[FIX] editable listview: do not attempt to delete falsy ids (from the dataset)

During the creation of a new record (in an editable list), the
prospective new record has a ``false`` id. In a non-o2m, the row under
creation can be selected (checkbox) and deleted (More > Delete),
leading to the request to ``DELETE false`` being sent to the ORM…
which said ORM does not wish to entertain.

Before actually performing the delete request (more precisely
forwarding said request to the listview itself), remove all false-ish
ids from the array.

Also, don't send a request to delete nothing.

bzr revid: xmo@openerp.com-20121119084203-0vz4v9myfizxz88u

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 19 Nov 2012 04:37:43 +0000 (04:37 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20121117043708-z0u57016sd0wlp40
bzr revid: launchpad_translations_on_behalf_of_openerp-20121118043740-7rflvcr80m8nk6lf
bzr revid: launchpad_translations_on_behalf_of_openerp-20121119043743-wa4nnbhzv39ixzag

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 19 Nov 2012 04:37:24 +0000 (04:37 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20121119043724-mjkn4taco62obn62

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sun, 18 Nov 2012 04:47:30 +0000 (04:47 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20121118044730-4j5223ylkxl9o332

11 years ago[FIX] mail_demo: fixed attachment_ids.
Thibault Delavallée [Fri, 16 Nov 2012 17:15:41 +0000 (18:15 +0100)]
[FIX] mail_demo: fixed attachment_ids.

bzr revid: tde@openerp.com-20121116171541-3rbe6kq04maa1z7e

11 years ago[HACK] Temp hack about reloading menus.
Thibault Delavallée [Fri, 16 Nov 2012 17:11:00 +0000 (18:11 +0100)]
[HACK] Temp hack about reloading menus.

bzr revid: tde@openerp.com-20121116171100-h2to6ij4p5idcui9

11 years ago[IMP] sale_portal: override default `Send by Email` templates to include portal signu...
Olivier Dony [Fri, 16 Nov 2012 17:06:43 +0000 (18:06 +0100)]
[IMP] sale_portal: override default `Send by Email` templates to include portal signup link

bzr revid: odo@openerp.com-20121116170643-usandzkdhi0idn2d

11 years ago[FIX] mail.compose.wizard: attachments should be m2m, body_text and content_subtype...
Olivier Dony [Fri, 16 Nov 2012 17:05:03 +0000 (18:05 +0100)]
[FIX] mail.compose.wizard: attachments should be m2m, body_text and content_subtype obsolete and removed

bzr revid: odo@openerp.com-20121116170503-mvsaa0pv5py2b7ri

11 years ago[IMP] typo: uniform naming of Send By Email
Olivier Dony [Fri, 16 Nov 2012 17:03:30 +0000 (18:03 +0100)]
[IMP] typo: uniform naming of Send By Email

bzr revid: odo@openerp.com-20121116170330-tzz613767wnayzsr

11 years ago[REF] email_template: cleanup/remove obsolete fields on mail composition wizard:...
Olivier Dony [Fri, 16 Nov 2012 17:02:59 +0000 (18:02 +0100)]
[REF] email_template: cleanup/remove obsolete fields on mail composition wizard: use_template is the default

bzr revid: odo@openerp.com-20121116170259-08eot6wy40yehkh4

11 years ago[FIX] correctly handle case of deleting-an-o2m-line-being-edited
Xavier Morel [Fri, 16 Nov 2012 16:44:16 +0000 (17:44 +0100)]
[FIX] correctly handle case of deleting-an-o2m-line-being-edited

move special case in o2m listview to main editable and expand to
correctly fit edition cases, not just work in case of creation

issue: if a row being edited is deleted in an o2m, the form will be
blurred and try cancelling/saving the edition and reloading the row,
but this will only happen *after* the record/row/whatever has been
"deleted" and (amongst other things) removed from the buffered o2m
cache, leading to a tentative read on the server side (usually with a
local id which doesn't even make sense) and thus an error.

Intercept the deletion signal to cancel the edition immediately and
only let the deletion through after the edition has successfully been
canceled.

bzr revid: xmo@openerp.com-20121116164416-8kr39t6jtqy2s3jc