Commit Graph

69701 Commits

Author SHA1 Message Date
Cedric Snauwaert bf84b78fed [FIX]sale_report: fix problem when viewing reporting/sale_analysis and no order_lines where defined in a SO
lp bug: https://launchpad.net/bugs/938866 fixed

bzr revid: csn@openerp.com-20130320101316-vvv1mwkdio2pi6oi
2013-03-20 11:13:16 +01:00
Thibault Delavallée 2c497fab50 [FIX] mail: mass mailing now does not push to followers; only to specific recipients. Improved tests for this update.
bzr revid: tde@openerp.com-20130320084040-pcgzy068z0oph298
2013-03-20 09:40:40 +01:00
Thibault Delavallée 82b3e9b5fd [FIX] mail: mail_create_nosubscribe context key also supported in message_post: allows to avoid subscribing the author to the document.
bzr revid: tde@openerp.com-20130320084011-coyf9p1il2ue04bb
2013-03-20 09:40:11 +01:00
Launchpad Translations on behalf of openerp 31efad4ecd Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130320050321-buobk0r6e2t7y1ch
2013-03-20 05:03:21 +00:00
Olivier Dony e6cca53967 [FIX] portal_anonymous: revert incorrect fix for login flickering, try another one that works in monodb mode
The previous fix at revision 8887 was not correct because start() did not call
 _super() in anonymous mode, while still depending on the value of 
`self.selected_db`, that _super() is responsible for setting in monodb mode.
Multi-db mode was working fine.

bzr revid: odo@openerp.com-20130319181137-9quokmivgb3flyct
2013-03-19 19:11:37 +01:00
Christophe Simonis 43f2dff179 [FIX] web: correct the concatenation of css files: @charset and @import rules must be before any other rules
bzr revid: chs@openerp.com-20130319154433-zizwv4irfvh93swe
2013-03-19 16:44:33 +01:00
Fabien Meghazi d2076aece3 [FIX] webclient returns to database manager after 1st database creation
lp bug: https://launchpad.net/bugs/1151767 fixed

bzr revid: fme@openerp.com-20130319154345-9xal244vuehl9vbw
2013-03-19 16:43:45 +01:00
dle@openerp.com a4f6533f3a [FIX]auth_signup: string concatenation now allowing action_id(integer) + able to redict to menu_id if no action given
bzr revid: dle@openerp.com-20130319154139-283864fcfixvmw0g
2013-03-19 16:41:39 +01:00
Fabien Meghazi 4ab080bc03 [MERGE] Fix anonymous login flickering
bzr revid: fme@openerp.com-20130319152344-fng1mcsvri5mjga1
2013-03-19 16:23:44 +01:00
Thibault Delavallée d827bbd8b7 [MERGE] [FIX] mail: notification: do not send a notification email to partners having the same email address than the author, because of loops it may cause.
bzr revid: tde@openerp.com-20130319151403-5tliy336q3hiswlh
2013-03-19 16:14:03 +01:00
Vo Minh Thu 83786b4178 [FIX] ir.actions.action: fix the execute wich install/uninstall modules and thus invalidate its own pool.
bzr revid: vmt@openerp.com-20130319150057-fq6nkp4qhgy9x9mq
2013-03-19 16:00:57 +01:00
Fabien Meghazi e1c5625be2 [FIX] Avoid login flicker during anonymous login
bzr revid: fme@openerp.com-20130319144008-zw0n5o0mob99xbo6
2013-03-19 15:40:08 +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
Quentin (OpenERP) 314fb5de44 [REF] stock: code refactoring to follow PEP8 standards
bzr revid: qdp-launchpad@openerp.com-20130319125244-4n08ywb61cu6mg32
2013-03-19 13:52:44 +01:00
Quentin (OpenERP) 31d83649d2 [FIX] stock: if scrapping from a done stock move, use the destination location as the source for the scrapping move + [FIX] stock, mrp: restrict scrapping from virtual locations
bzr revid: qdp-launchpad@openerp.com-20130319125216-pdfo2i9jx5mcea2l
2013-03-19 13:52:16 +01:00
Quentin (OpenERP) 748ebf0ab0 [MERGE] analytic_contract_hr_expense: functional field computation fixed + added some helping info in hr_timesheet_invoice in the reinvoicing wizard
bzr revid: qdp-launchpad@openerp.com-20130319125028-59jnnfc7tiixag4b
2013-03-19 13:50:28 +01:00
Chris Biersbach 3b54759913 [MERGE] project_issue/mail_thread: Opening and closing date on project issues are now correctly set. Also improves the handling of the thread_model context value in mail_thread message_post
bzr revid: cbi@openerp.com-20130319114541-racddure6uy3e2rp
2013-03-19 12:45:41 +01:00
Chris Biersbach 9e6d14a289 [IMP] Removed unnecessary code in project_issue.py, fixed a small error in mail_thread
bzr revid: cbi@openerp.com-20130319103822-ss4y3na3i4hip4e0
2013-03-19 11:38:22 +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
Josse Colpaert fffc371f96 [FIX] Fix wrong amounts in contract form and add grey text message in Create Invoice wizard
bzr revid: jco@openerp.com-20130318153049-myvqzvv1c2zqgna8
2013-03-18 16:30:49 +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