Commit Graph

69643 Commits

Author SHA1 Message Date
Vo Minh Thu 1ea66164f3 [IMP] report: registration deprecation now guarded via openerp.conf.deprecation.
bzr revid: vmt@openerp.com-20130325131756-5bns19n20nar9ogs
2013-03-25 14:17:56 +01:00
Vo Minh Thu 464af881bf [IMP] netsvc: LocalService deprecation now guarded via openerp.conf.deprecation.
bzr revid: vmt@openerp.com-20130325131245-9o5uizn6v4r8irc3
2013-03-25 14:12:45 +01:00
Vo Minh Thu 6e43e6c4e1 [FIX] reports: now that _register_all() has been removed, LocalService() must be modified to do the lookup in the database too.
bzr revid: vmt@openerp.com-20130325123359-szxx6a0n06tha70p
2013-03-25 13:33:59 +01:00
Vo Minh Thu 010d8044fe [REF] ir.actions.report.xml: renamed ids to res_ids because those are not the self model IDs.
bzr revid: vmt@openerp.com-20130322162251-j0f3eobpc6oh4il1
2013-03-22 17:22:51 +01:00
Vo Minh Thu b08d7ef6bd [REF] ir.actions.report.xml: register_all do not make sense any more:
auto=True reports are looked up in the database for each rendering, so they do
no have to be in the report registry any longer.
auto=False reports will register themselves but at this point
they can be updated to use the new `parser` XML attribute.

bzr revid: vmt@openerp.com-20130322153955-s6nyux2pyez6c01w
2013-03-22 16:39:55 +01:00
Vo Minh Thu 1683fc7abd [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20130322135152-1hdlptwj1qqqfz4z
2013-03-22 14:51:52 +01:00
Vo Minh Thu 067cd7d15a [FIX] ir_model_data: create the _inherits parent external ID prior to the child.
This is needed so the uninstall process can simply go through
the installed data by using the ir_model_data entries in reverse
order (when ordered by IDs), so that parents are deleted before
children.

bzr revid: vmt@openerp.com-20130321133202-igea1vxlszfpk6pe
2013-03-21 14:32:02 +01:00
Thibault Delavallée 6a696ba673 [MERGE] [FIX] Web: errors are displayed again
bzr revid: tde@openerp.com-20130321090102-jzj80cfo6ko5x1dj
2013-03-21 10:01:02 +01:00
Launchpad Translations on behalf of openerp c0c2bcd62e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130320044259-agfpyq2tw87ycy2x
bzr revid: launchpad_translations_on_behalf_of_openerp-20130321043810-nymrr02latjmd75n
2013-03-21 04:38:10 +00:00
Vo Minh Thu a51b6912bd [FIX] safe_eval: better exception handling:
- the re-raising of exceptions ignored the "legal" exceptions
(the one used to early abort RPC calls and generate pop-ups)
- re-raising the exception was attempting to re-use the original
exception type but it does not always take only one argument
so it was breaking.

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

bzr revid: vmt@openerp.com-20130320132238-qzo3jptww59ndlch
2013-03-20 14:22:38 +01:00
Christophe Matthieu a5ee9e5819 [FIX] chrome.js: error without message
bzr revid: chm@openerp.com-20130320122210-0p31k511eg8fplap
2013-03-20 13:22:10 +01:00
Vo Minh Thu fa3a3414f2 [FIX] ir.actions.action: fix the execute wich install/uninstall modules and thus invalidate its own pool.
bzr revid: vmt@openerp.com-20130319142701-1cvo6dh2yvg4z81f
2013-03-19 15:27:01 +01:00
niv-openerp 185b405b96 [MERGE] 7.0 branch
bzr revid: nicolas.vanhoren@openerp.com-20130319102859-rj9r9ngqtf5ep3a3
2013-03-19 11:28:59 +01:00
niv-openerp c55de6996f [FIX] small problem with m2o, does not uses context when opening them in read-only mode
bzr revid: nicolas.vanhoren@openerp.com-20130319102719-0gdwvmix4d3x8th5
2013-03-19 11:27:19 +01:00
Thibault Delavallée e86ee64b0a [MERGE] Mass Mailing branch. The purpose of this branch is to improve the mass mailing using the composer wizard, and a better support of email template values. Mass mailing basically posts a message on a document, without notifying the followers. Options are added that allow to send pure email mass mailing, or to notify followers. Specifying a reply to address is now supported. It by-passes the automatic thread fetching by directly looking for aliases instead of rebuilding threads when processing replies. Some templates have also been updated or added to support mass mailing in CRM.
mail_mail
- added recipient_ids field, that holds specific recipients in addition to email_to; this field replace the recipient_ids parameter of mail_mail.send(), allowing to re-send failed emails, or at least store the whole mail information about recipients,
- updated form view to add some missing fields in the view,
mail_message
- added 'reply_to' field, that holds specific reply_to value, before passing it to the created email notifications,
mail_compose_message
- added 'post' boolean field: whether the message will be posted on the document (using active_model_pool.message_post()), or if it should only be an email (using mail_mail.create()),
- added 'notify' boolean field: if the message is posted on the document, tells whether the followers should be notified of the message,
- added 'same_thread' boolean field: if not set, a custom reply_to will be used and the automatic thread routing in message_process will be py-passed,
email_template
- renamed 'email_recipients' field into 'partner_to' (more coherent: email_to is a list of emails, partner_to is a list of partner ids),
- added default template on res.partner, setting partner_to as obj.id,
- moving mass mailing action from mail to email_template, that now uses the previous template,
mail_compose_message in email_template
- added partner_to, email_to and email_cc to be able to use those fields, that exist on the template, in the wizard
crm
- updated basic lead/opportunity template, setting partner_to as obj.partner_id.id, or email_to as obj.email_from
- added mass mailing action for lead/opportunity that uses the previous template

bzr revid: tde@openerp.com-20130319095505-efv0mdzq2fnwnila
2013-03-19 10:55:05 +01:00
Thibault Delavallée 68282c6064 [IMP] mail_compose_message: some fields back to visible.
bzr revid: tde@openerp.com-20130319093844-82c95hmwznaprp6t
2013-03-19 10:38:44 +01:00
Thibault Delavallée 522f144781 [CLEAN] Misc cleaning and code review before merging.
bzr revid: tde@openerp.com-20130319091844-tnpd0w8tlagcbypz
2013-03-19 10:18:44 +01:00
Thibault Delavallée e559949f07 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130319090148-ggdkll48f9343y1l
2013-03-19 10:01:48 +01:00
Launchpad Translations on behalf of openerp 19daf7569d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130319061937-ipohtns00c8dz96s
2013-03-19 06:19:37 +00:00
Launchpad Translations on behalf of openerp 72cfad62ae Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130319055226-z0y9upevo90gjrp7
2013-03-19 05:52:26 +00:00
Launchpad Translations on behalf of openerp 3f28f35405 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130319053351-ewu7qa30awce4qli
2013-03-19 05:33:51 +00:00
niv-openerp a6a8d71a0e [FIX] calls to fields_view_get do not pass the correct context, fails in o2m
lp bug: https://launchpad.net/bugs/1091204 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130318174503-7xp04ccghdbqfvrl
2013-03-18 18:45:03 +01:00
Olivier Dony 662f4066f8 [FIX] db creation: change master password field back to type=password
This is not only dangerous but also
completely inconsistent with the other
db management screens. It also represents
little improvement in terms of usability
for first-time users, since the password
is now mentioned on the comment just above
the field.

bzr revid: odo@openerp.com-20130318155618-z9s2izahnv1j2no6
2013-03-18 16:56:18 +01:00
Thibault Delavallée acb14cdead [FIX] mail: fixed issues with partner_ids now being a list of ids and not a list of commands anymore.
bzr revid: tde@openerp.com-20130318154923-svnh1h6sm06nrbt6
2013-03-18 16:49:23 +01:00
Thibault Delavallée bcc7fcb3c6 [FIX] mail: missing 'nice' reply_to is back on track.
bzr revid: tde@openerp.com-20130318150252-twwxoborz8ppeh6a
2013-03-18 16:02:52 +01:00
Quentin (OpenERP) 2bfbe50079 [FIX] account: fixed the filter used in manual reconciliation process
bzr revid: qdp-launchpad@openerp.com-20130318144342-16w1dreej7yzr51n
2013-03-18 15:43:42 +01:00
Olivier Dony ffd258e3f0 [FIX] web_services: incorrect error message in logfile after failed DB dump, courtesy of Brendan Clune (Logic Supply)
lp bug: https://launchpad.net/bugs/1124440 fixed

bzr revid: odo@openerp.com-20130318144156-q7yw9qy83tngdg6x
2013-03-18 15:41:56 +01:00
Olivier Dony 8d6e91219f [FIX] web_services: set PGPASSWORD in environment only when db_password is set in the config
This prevents an error when trying to set an
environment variable to `False`, and is the
second part of the regression introduced in
revision 4424. See previous partial fix
at revision 4893

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

bzr revid: odo@openerp.com-20130318141532-m2xsahh5u5pi5bth
2013-03-18 15:15:32 +01:00
Quentin (OpenERP) 5cdc6aa4a1 [MERGE] removal of editable=top on stock.move tree view
bzr revid: qdp-launchpad@openerp.com-20130318135828-y5v17c731059ab7u
2013-03-18 14:58:28 +01:00
Quentin (OpenERP) 0134905e3f [MERGE] sale: when printing the sale order report, do not print the discount column if user doesn't belong to the group that enables to see it
bzr revid: qdp-launchpad@openerp.com-20130318135654-bi22fjscerrmzgru
2013-03-18 14:56:54 +01:00
Quentin (OpenERP) d7fbdc78d2 [FIX] auth_signup: fixed wrong xml syntax due to poor conflict-resolving
bzr revid: qdp-launchpad@openerp.com-20130318134932-me3dlcu2sugvuscc
2013-03-18 14:49:32 +01:00
Cedric Snauwaert 25a6c8f9c4 [FIX]stock: list view for stock move shouldn't be editable
bzr revid: csn@openerp.com-20130318134343-1z5epusa17enpclt
2013-03-18 14:43:43 +01:00
Thibault Delavallée 6bbc658f9b [FIX] mail: fixed wrong var name in notify; fixed a missing email in tests.
bzr revid: tde@openerp.com-20130318131919-31zdc7309c4zt8xj
2013-03-18 14:19:19 +01:00
Quentin (OpenERP) 333e83fc5b [REF] account_payment: removal of amount_to_pay field on account.move.line and account.invoice, replaced by amount_residual
bzr revid: qdp-launchpad@openerp.com-20130318122748-ac9k5bhka1foadvr
2013-03-18 13:27:48 +01:00
Quentin (OpenERP) 2b64c79c3d [MERGE] forward port of fixes made in v7 addons branch up to revision 8872
bzr revid: qdp-launchpad@openerp.com-20130318122717-qptmntn26bx4wn8r
2013-03-18 13:27:17 +01:00
Thibault Delavallée 7e696dfdcb [MERGE] Sync with trunk and latest mail changes.
bzr revid: tde@openerp.com-20130318122027-l570iyzlljshz4ne
2013-03-18 13:20:27 +01:00
Thibault Delavallée 00bb2273d9 [MERGE] 'Invite & Quick Create User' update. Addons branch; see server branch for more details.
Quick Create:
- [ADD] in context of 'user_id' fields the xml_ids of necessary groups,
Invite:
- [ADD] added send_mail boolean field on invite wizard, allowing to avoid sending emails when inviting someone as a follower on the document,
- [IMP] notification and invite signature: improved signature (now including: sender name, company name as a link to the company website); invite message and subject improved, small code re-organization
Misc:
- [IMP] sheet tags added in various form views in HR

bzr revid: tde@openerp.com-20130318121439-xyl34r9tdut6t19c
2013-03-18 13:14:39 +01:00
Thibault Delavallée 027c419181 [MERGE] 'Invite & Quick Create User' update. The server branch holds in res_users.create() the support of key in context, allowing to put xml_ids of user groups in the context of relational fields linking to res.users. The purpose of this modification is to quick-create users that will have the access rights related to the functional meaning of the field. For example creating an user in the 'Responsible' field of a task should add him in the group related to project management.
Example of use : <field name="user_id" string="Project Manager" context="{'default_groups_ref': ['base.group_user', 'project.group_project_manager']}"/> will add Employee (base.group_user) and Project Manager (project.group_project_manager) groups, as well as implied groups.

res_users:
- [add] added support of  key in context of default_get. It contains a list of xml_ids of user groups; those groups, if found, are added to the newly created user,
- [ref] refactored simplified (quick create) view that is now more like a contact card, with login and email required because of the login email that will be send to the user

bzr revid: tde@openerp.com-20130318120905-1w9xpoyppnj62wlj
2013-03-18 13:09:05 +01:00
Thibault Delavallée ea26bc7f0d [CLEAN] addons: removed duplicated base.group_user in context of default_groups_ref.
bzr revid: tde@openerp.com-20130318113948-i2chxw0a9xs356v3
2013-03-18 12:39:48 +01:00
Josse Colpaert 26e769eb88 [FIX] Change SQL query for manual reconciliation partners such that partners appear when needed
bzr revid: jco@openerp.com-20130318113043-fm2gc0yrln630vjf
2013-03-18 12:30:43 +01:00
Quentin (OpenERP) efbfb6514c [MERGE] crash when duplicating a pos_config
bzr revid: qdp-launchpad@openerp.com-20130318112603-3ursnpro19qhb5yh
2013-03-18 12:26:03 +01:00
Olivier Dony 8e3ba8e34e [FIX] service.db: missing imports
lp bug: https://launchpad.net/bugs/1155523 fixed

bzr revid: odo@openerp.com-20130318110257-x9591dl74vu8yf2f
2013-03-18 12:02:57 +01:00
Olivier Dony 125b2a804a [IMP] service.wsgi_server: useless import
bzr revid: odo@openerp.com-20130318110229-h4422zy2kcjys2ik
2013-03-18 12:02:29 +01:00
Cedric Snauwaert 87908c8b58 [FIX]pos: fix error when trying to duplicate point of sale
bzr revid: csn@openerp.com-20130318105304-3g7qlb8lrjr0e5rw
2013-03-18 11:53:04 +01:00
Xavier Morel ac5008abc9 [FIX] pyeval: argspec of relativedelta
bzr revid: xmo@openerp.com-20130318105244-qkgvi69do0219lkk
2013-03-18 11:52:44 +01:00
Thibault Delavallée 7602819aa3 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130315093732-2u1lc5x51276ethu
bzr revid: tde@openerp.com-20130318101836-rve5ane4rheiiq6k
2013-03-18 11:18:36 +01:00
Thibault Delavallée de5a303c4d [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130318101828-6csyuhmutrvm5ld5
2013-03-18 11:18:28 +01:00
Launchpad Translations on behalf of openerp 9485c49f4f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130316063604-hv8xtn4g8e76no72
bzr revid: launchpad_translations_on_behalf_of_openerp-20130317053030-q0f5iyfhv4qtah18
bzr revid: launchpad_translations_on_behalf_of_openerp-20130318052217-ua2ev323qlvhi8l2
2013-03-18 05:22:17 +00:00
Launchpad Translations on behalf of openerp 4ce8d2697d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130316055338-ogfw01ap8fh1hlaj
bzr revid: launchpad_translations_on_behalf_of_openerp-20130317045918-zi1230lgxjbkqw3x
bzr revid: launchpad_translations_on_behalf_of_openerp-20130318044640-ts2tr31y2gl25rev
2013-03-18 04:46:40 +00:00
Launchpad Translations on behalf of openerp dcc9a3aeab Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130317052921-m3gthz6l7fx1jwu7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130315064417-68iimts1xgj8bn5z
bzr revid: launchpad_translations_on_behalf_of_openerp-20130317053035-kqb70nwvcg1iqldu
2013-03-17 05:30:35 +00:00