Commit Graph
74995 Commits
Author SHA1 Message Date
Denis Ledoux b62aed69eb [REVERT]rev 9073 dle@openerp.com-20140107105324-xaa21r8fnl0ncg66, revert change in im_common js, it should not have been commited at all.
bzr revid: dle@openerp.com-20140107143908-ci69xk0235m2pxzt
2014-01-07 15:39:08 +01:00
Christophe Simonis c0117351a8 [MERGE] forward port of branch 7.0 up to revid 9735 mat@openerp.com-20140106153818-lsy030btlzminvw9
bzr revid: chs@openerp.com-20140107142554-lx0ls3fly7cxmahj
2014-01-07 15:25:54 +01:00
Denis Ledoux e5e397b01b [FIX] crm_partner_assign: on forward, set section_id if user_id has default section id
bzr revid: dle@openerp.com-20140107105324-xaa21r8fnl0ncg66
2014-01-07 11:53:24 +01:00
Denis Ledoux 720526249b [FIX] im: search_users respects order of the search
bzr revid: dle@openerp.com-20140106210435-30oz2uo1yzah9mh3
2014-01-06 22:04:35 +01:00
Denis Ledoux 387dd67791 [FIX] im: no notification sound on own message
bzr revid: dle@openerp.com-20140106200737-mpfx3b81ku1zlkig
2014-01-06 21:07:37 +01:00
Denis Ledoux 8d616676b6 [FIX] im: connected employee users appear firsts
bzr revid: dle@openerp.com-20140106160336-2azzid8n79mvbr3r
2014-01-06 17:03:36 +01:00
Denis Ledoux be148c7e1f [FIX] im: add fnct search to im_status to search connected users
search display connected users before discconnected users

bzr revid: dle@openerp.com-20140106154134-28ncdioyoca9102c
2014-01-06 16:41:34 +01:00
Martin Trigaux 389235221a [IMP] analytic: rename the field 'date' from 'End Date' to 'Expiration Date'. The date field is considered as not included by the system but the name of the field was not explicit enough (opw 602619)
bzr revid: mat@openerp.com-20140106153818-lsy030btlzminvw9
2014-01-06 16:38:18 +01:00
Launchpad Translations on behalf of openerp 5ca4c267c4 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140107052957-3zftpbu3yj88o16s
2014-01-07 05:29:57 +00:00
Denis Ledoux 57c6fbe327 [FIX] im: notification sound change
bzr revid: dle@openerp.com-20140106145835-32qb42tznqbhxkij
2014-01-06 15:58:35 +01:00
Denis Ledoux 7df936a4ce [FIX] im: open url in another tab/window
bzr revid: dle@openerp.com-20140106141846-ezkxpgprn15nkp8a
2014-01-06 15:18:46 +01:00
Martin Trigaux d106d54ade [FIX] mail: check access rules of related documents when subscribing to it
Fix tests to execute actions with user that are allowed to

bzr revid: mat@openerp.com-20140106141157-0tp2bgw2d40ynrag
2014-01-06 15:11:57 +01:00
Denis Ledoux 68de728214 [FIX] im: notifications fixes & sound change
notification sound on first message of conversation
no notification when message received is from the current uid
notifcation sound changed. Louder & clearer.

bzr revid: dle@openerp.com-20140106135056-4179b6u5lcou2w52
2014-01-06 14:50:56 +01:00
Martin Trigaux 964dae2311 [FIX] mail: subscribe user at creation as a default value instead of post processing.
This allows to have a value for the _set_followers call and be able to have record rules based on followers (eg: note.note).
Set the priority of message_follower_ids fields to -10 to be sure it will be executed before other function fields using these followers (eg: _set_stage_per_user from note.note does a browse which would trigger record rules to read the note)

bzr revid: mat@openerp.com-20140106100010-jl4cuvgvpsw26v28
2014-01-06 11:00:10 +01:00
Launchpad Translations on behalf of openerp b1af63310c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131219061324-aw7yvvnjapbx5x1i
bzr revid: launchpad_translations_on_behalf_of_openerp-20131220053354-9ybfurq6yvrliqge
bzr revid: launchpad_translations_on_behalf_of_openerp-20131223054728-1db5iqqokg67bcyr
bzr revid: launchpad_translations_on_behalf_of_openerp-20131231052619-5szmeohg88k0m4xt
bzr revid: launchpad_translations_on_behalf_of_openerp-20140101054325-pww3zkiyzxll4qy7
bzr revid: launchpad_translations_on_behalf_of_openerp-20140102054504-671epcsd8458kil8
bzr revid: launchpad_translations_on_behalf_of_openerp-20140103062350-h5v8idg6hlix6rnx
bzr revid: launchpad_translations_on_behalf_of_openerp-20140104061853-bndte11d6k8po640
bzr revid: launchpad_translations_on_behalf_of_openerp-20140105054743-exo0ixnpjkfwfstl
bzr revid: launchpad_translations_on_behalf_of_openerp-20140106050440-fme1x3f2g4s1dxqk
bzr revid: launchpad_translations_on_behalf_of_openerp-20140103062427-4v5wusiplrcj4jjd
bzr revid: launchpad_translations_on_behalf_of_openerp-20140104061934-r5xq4gfoy22w6nll
bzr revid: launchpad_translations_on_behalf_of_openerp-20140105054800-delmrxbtcvm3xxyw
bzr revid: launchpad_translations_on_behalf_of_openerp-20140106050503-xu0r3lopkkfn20ca
2014-01-06 05:05:03 +00:00
Denis Ledoux 5ba8c98fee [REVERT] rev 4098, revid:dle@openerp.com-20131224112201-0zlxa6fevvj3501h. Partialy break the design (buttons and status bar not displayed sometimes)
bzr revid: dle@openerp.com-20140103094415-vi99tbbeitzr7r2b
2014-01-03 10:44:15 +01:00
Thibault Delavallée 6389c33cd6 [IMP] account: when the period is not defined, raise a RedirectWarning instead of a simple warning.
This allows to add a redirection button to the configuration panel
of fiscal years.

bzr revid: tde@openerp.com-20140103093610-p7u12yb03rkj81bk
2014-01-03 10:36:10 +01:00
Denis Ledoux 4305522776 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9728 rev-id: dle@openerp.com-20140102161149-x268xj7bzvvsit2h
bzr revid: dle@openerp.com-20140102164522-og7f932e50kzz7z6
2014-01-02 17:45:22 +01:00
Denis Ledoux bc50cd3558 [FIX] mail: mails with attachments containing special chars (such as é) were not delivered properly
get_filename method from email lib returns sometimes decoded value, sometimes still encoded.
for instance, get_filename cannot decode iso encoded filename

Recently, decode method has been applied on filename string, to handle iso encoded file. 
Sadly, one cannot decode already decoded values.
Therefore, decoding already decoded windows or utf-8 encoded filename with special chars failed.

bzr revid: dle@openerp.com-20140102161149-x268xj7bzvvsit2h
2014-01-02 17:11:49 +01:00
Thibault Delavallée c243854aae [FIX] account_anglo_saxon: fixed yml tests using an hardocded year instead of the current year.
bzr revid: tde@openerp.com-20140102124143-m1qv8koovjcl8mah
2014-01-02 13:41:43 +01:00
Launchpad Translations on behalf of openerp e0951d6e18 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131227053952-0hms21l5679mfv9d
bzr revid: launchpad_translations_on_behalf_of_openerp-20131228053802-9q255pplfsr06jvf
bzr revid: launchpad_translations_on_behalf_of_openerp-20131230050715-gywiu51n8ejcvnkp
bzr revid: launchpad_translations_on_behalf_of_openerp-20131231052701-yjrbqgyv2os2z8gt
bzr revid: launchpad_translations_on_behalf_of_openerp-20140101054400-7tz7obdh31v8log8
bzr revid: launchpad_translations_on_behalf_of_openerp-20140102054530-gtwf0yp277zkqm0i
2014-01-02 05:45:30 +00:00
Launchpad Translations on behalf of openerp c66a5ed402 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131227053956-p7tdskfkfwn0icl8
bzr revid: launchpad_translations_on_behalf_of_openerp-20131230050721-dfw5fsmgo8btk6tq
bzr revid: launchpad_translations_on_behalf_of_openerp-20131231052707-fyy1k7m0u3n88vw0
bzr revid: launchpad_translations_on_behalf_of_openerp-20140101054406-tted2yxu518pvp2p
2014-01-01 05:44:06 +00:00
Martin Trigaux 0bd968a801 [MERGE] [FIX] ir_translation: backport of rev 5018 from trunk
rename method load to load_module_terms to avoid name clash with load call from base_import (opw 602531)

bzr revid: mat@openerp.com-20131231140358-ldh0snu9zmcs3tpw
2013-12-31 15:03:58 +01:00
Martin Trigaux 8146a3ed43 [FIX] note: revert rev 9055 as made impossible to change stage if no rights on other users' relations
bzr revid: mat@openerp.com-20131230104045-2h070kuouz4msz1x
2013-12-30 11:40:45 +01:00
Thibault Delavallée 327f0fdb40 [MERGE] [FIX] sale_stock: invoice services when invoicing on delivery order
bzr revid: tde@openerp.com-20131226100605-wk4nht7msupkyuj9
2013-12-26 11:06:05 +01:00
Launchpad Translations on behalf of openerp 61962e42b0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131225063515-dusvptjej0lwd8g5
bzr revid: launchpad_translations_on_behalf_of_openerp-20131226062501-h5l10yzkfldlxfra
2013-12-26 06:25:01 +00:00
Denis Ledoux 1508c5dd00 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9718 rev-id: dle@openerp.com-20131224103535-rhtje7dnq1ie7jtb
bzr revid: tde@openerp.com-20131220162158-hbgktly09dv37958
bzr revid: dle@openerp.com-20131223155041-8zp8e08fihbr0ie2
bzr revid: dle@openerp.com-20131224112407-aw6dq2q92312kjbk
2013-12-24 12:24:07 +01:00
Denis Ledoux 7bb4f6da82 [FIX]web: status bar alignment, sometimes wrong on google chrome
bzr revid: dle@openerp.com-20131224112201-0zlxa6fevvj3501h
2013-12-24 12:22:01 +01:00
Denis Ledoux d1b4aa974d [FIX] account_voucher: computed writeoff and invoices selected were not right on partial invoice payment in account voucher wizard.
Due to the algorithm which did not handle the fact that an invoice could have several move lines

bzr revid: dle@openerp.com-20131224103535-rhtje7dnq1ie7jtb
2013-12-24 11:35:35 +01:00
Launchpad Translations on behalf of openerp 87aae0efca Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131224055213-dm6b0zx4e0fn18ex
2013-12-24 05:52:13 +00:00
Denis Ledoux 36846db2c3 [FIX] account_check_writing: display real currency name on check print
Instead of 'Euro' hardcoded.
As the currency complete name is not available in res.curreny model, exceptions are made for currencies EUR, USD and BRL, the mosts used currencies for checks (+75% of cases)

bzr revid: dle@openerp.com-20131223154631-21oenwn8mxszyo5t
2013-12-23 16:46:31 +01:00
Martin Trigaux 4c0c6bbc76 [FIX] hr_payroll: skip missing structures in get_all_structures for hr.contracts (eg: if structure is deleted afterward) (opw #602411)
bzr revid: mat@openerp.com-20131223124413-k0st3i54zou2bga8
2013-12-23 13:44:13 +01:00
Rifakat 2c9ef5b3d5 [FIX] hr_payroll: put a check for the structure used in the contract. When any structure
is already assigned into contract and that is deleted, it will affet the Payslips which were already created and will have [False] value.

bzr revid: rha@tinyerp.com-20131223101841-6fbwfm90gn7sj17m
2013-12-23 15:48:41 +05:30
Launchpad Translations on behalf of openerp 931f52f0f5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131221061900-mrdvau1f6w722vsn
bzr revid: launchpad_translations_on_behalf_of_openerp-20131222055708-jg10h0irjyde2qii
bzr revid: launchpad_translations_on_behalf_of_openerp-20131223054746-koli3yft4vt25ld4
2013-12-23 05:47:46 +00:00
Thibault Delavallée b92ad39005 [FIX] email_template: support of email_recipients in send_mail.
email_recipients is a char fields holding a comma separated list of partner_ids
that are the email recipients. This field is correctly handled in the composer
but was not taken into account in the send_mail method email_template.
However due to model limitations, this field can only be taken into account
when sending the email directly using force_send. When the email is
queued, no field is available to hold the value of email_recipients.
This is already fixed in trunk/v8 as a field has been added to handle
this value.

[FIX] mail: when sending email to some recipients_ids, filter to have only
the existing partner_ids. Trusting email template to generate valid
partner_ids is a bit risky.

[TESTS] email_template: added tests for send_mail

bzr revid: tde@openerp.com-20131220144652-h18yam60vpedbh7x
2013-12-20 15:46:52 +01:00
Denis Ledoux abefabfa3e [FIX] mail: fix _get_default_from if no alias_name for user.
As alias_name is not anymore required, we should check that the alias_domain AND alias_name are set before choosing the alias as email_from of the mail.message

bzr revid: dle@openerp.com-20131220115213-ll8duh01csk0xy4t
2013-12-20 12:52:13 +01:00
Xavier ALT 73dfa69e34 [FIX] project: fix task progress not correctly updated when reopening a task
bzr revid: xal@openerp.com-20131220091823-o9uvvlo6hdh4xukw
2013-12-20 10:18:23 +01:00
Xavier ALT 6e71e067ca [FIX] purchase: remove duplicate 'Warehouse' and 'Reference UOM' groupby filter in Purchase Analysis search view
bzr revid: xal@openerp.com-20131220085429-xxojh1oxjn1fo3a5
2013-12-20 09:54:29 +01:00
Xavier ALT 95e5d57e02 [FIX] document: on report.document.user view, use correct field type for `user_id` field.
bzr revid: xal@openerp.com-20131220084446-b5rmz6dfotd2alaa
2013-12-20 09:44:46 +01:00
Launchpad Translations on behalf of openerp e6a46a855d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131220053413-o3xa4nlpu9snoiq6
2013-12-20 05:34:13 +00:00
Denis Ledoux d7b1dafbab [FIX] stock: warehouse manager impliying account invoicing group is enough (no need to be accountant)
bzr revid: dle@openerp.com-20131219160345-jj68pdnkqjxm1f2o
2013-12-19 17:03:45 +01:00
Xavier ALT 3f7f02d508 [FIX] project: fix error on `schedule_tasks` when there is no resource available on project
bzr revid: xal@openerp.com-20131219154546-xlbgqfkc34ndf8kp
2013-12-19 16:45:46 +01:00
Xavier ALT 8b3312e1f6 [FIX] l10n_be: fix no value in 'Code (Tax Code)' column on 'Print VAT Intra' preview report
bzr revid: xal@openerp.com-20131219145528-ppndys5c1jryefgk
2013-12-19 15:55:28 +01:00
Xavier ALT 6df572aae4 [FIX] hr_holidays, hr_timesheet: fix XMLSyntaxError when company name contain an ampersand '&' sign
bzr revid: xal@openerp.com-20131219135147-jpli369iqlanf3t3
2013-12-19 14:51:47 +01:00
Thibault Delavallée 60123bebbe [FIX] note: fixed note creation.
When creating a new note, a function field requires to browse the note in order
to get the stages. However the basic rule for creating a note is to be in the
followers. As followers is another field set during the creation, we are not
sure uid is already in the followers of the note when reading it. We therefore
do it as SUPERUSER_ID, because it is only to have access to some technical
data of the note.

bzr revid: tde@openerp.com-20131219132839-m0a5rv0znhliqbq1
2013-12-19 14:28:39 +01:00
Thibault Delavallée aa81e66039 [FIX] project_issue_sheet: worklog responsible should be the current user and not the issue responsible user
bzr revid: tde@openerp.com-20131219123128-u0nmoait1cysjgv3
2013-12-19 13:31:28 +01:00
Thibault Delavallée 8030688084 [FIX] mass_mailing: opening the composer when sending a new wave should not have the res_id
linked to the campaign. As we are working with mass mailing, it should be False; ids will come
from active_ids / active_domain.

bzr revid: tde@openerp.com-20131219100041-85mbafgk05u8naud
2013-12-19 11:00:41 +01:00
Thibault Delavallée 40994c2966 [FIX] mass_mailing: when creating a new wave from the mass mailing campaign
kanban view, add the campaign in default

bzr revid: tde@openerp.com-20131219095729-k5tsvmkqm2mdsnza
2013-12-19 10:57:29 +01:00
Launchpad Translations on behalf of openerp 64cc283264 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131219061541-j0v5712t55sdiqb6
2013-12-19 06:15:41 +00:00
Xavier Morel 1b76c66930 [MERGE] fixes for non-direct IME
bzr revid: xmo@openerp.com-20131218152626-kexq1wudvjwnh962
2013-12-18 16:26:26 +01:00