Commit Graph

76465 Commits

Author SHA1 Message Date
Martin Trigaux aefd64e8cf [REF] gamification: compute_code is now similar to ir.actions, cleanup code
bzr revid: mat@openerp.com-20131224130023-e4gc91ell38zdtfj
2013-12-24 14:00:23 +01: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 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
Gery Debongnie 68795d8a10 [IMP] changes the rng description of the xml grammar to add a 'stacked' attribute to the tag 'graph'
bzr revid: ged@openerp.com-20131224103207-48jd6gh78xmri8wd
2013-12-24 11:32:07 +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
Martin Trigaux 6f5815f44d [REF] gamification: cahnge some tde remarks, Long live Cthulhu
bzr revid: mat@openerp.com-20131223163214-f6yp2yxf5ja1wq22
2013-12-23 17:32:14 +01:00
Martin Trigaux 7c6a6b26f1 [FIX] gamification: goal.condition -> goal.definition_condition, user_ids not in vals -> not vals.get(user_ids)
bzr revid: mat@openerp.com-20131223161229-lpoevttkt6ezt2ia
2013-12-23 17:12:29 +01:00
Martin Trigaux f4e42879d3 [REF] gamification: rename user_from_id -> sender_id, move constants
bzr revid: mat@openerp.com-20131223160143-8mgmwrgf6i3wo8ku
2013-12-23 17:01:43 +01:00
Martin Trigaux c0eef31160 [REF] gamification: add user_from_id on badge, remove outdated-doc, remove useless message_post call
bzr revid: mat@openerp.com-20131223155404-h4in4ocr8jakq3ff
2013-12-23 16:54:04 +01: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
Thibault Delavallée e453001a7f [MERGE] [ADD] hr_applicant_document module: link between hr_recruitment and document modules. It allows to search through the indexed content of documents attached to applicants, such as resumes, CVs, ...
[IMP] hr.recrutment.stage: added template_id field. If the stage is linked to a template, a message is posted on the applicant when the applicant is moved into this stage. This allows to automatically send an email when approving or refusing an applicant. We usually define server action to achieve that behavior, it is now standard.

[IMP] hr.applicant: added a field to have the number of indexed documents + links in the applicant kanban view to jump to the applicant's documents.

bzr revid: tde@openerp.com-20131223095328-q92yiklf4n1mq055
2013-12-23 10:53:28 +01:00
Thibault Delavallée b9e8df4a43 [DOC] hr_recruitment: added changelog about template_id field
bzr revid: tde@openerp.com-20131223092831-lg6j9as0go1r2g7e
2013-12-23 10:28:31 +01:00
Thibault Delavallée c5148a640c [IMP] hr_recruitment: improved template + xml_id of templates for interest / refuse
bzr revid: tde@openerp.com-20131223092819-nxiqqy21wd8f2wk8
2013-12-23 10:28:19 +01:00
Thibault Delavallée 0c04878071 [REV] document: reverted a change in spacingf to lessen the diff
bzr revid: tde@openerp.com-20131223092057-drrvt9w12r5uwrn4
2013-12-23 10:20:57 +01:00
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 c3c97ea3df [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20131220171818-obp76209n322b9ql
2013-12-20 18:18:18 +01:00
jke-openerp 4a6d2a508e [IMP] Remove unused library jquery.ui.touch-punch
bzr revid: jke@openerp.com-20131220171355-2t77njuxx697mjh5
2013-12-20 18:13:55 +01:00
Thibault Delavallée 1aa92dbc46 [FORWARD] Forward port of saas-2 fixes until revision 9058 (revid tde@openerp.com-20131220162158-hbgktly09dv37958)
bzr revid: tde@openerp.com-20131220165519-2okhclp3qb3if1ey
2013-12-20 17:55:19 +01:00
Frédéric van der Essen 293001c826 [IMP] point_of_sale: ESC/POS receipt printing
bzr revid: fva@openerp.com-20131220163057-9nu1u7hti0m8wo3h
2013-12-20 17:30:57 +01:00
jke-openerp c274b28f4a [TYPO] cleaning
bzr revid: jke@openerp.com-20131220160818-56skpmvbzub6mn1r
2013-12-20 17:08:18 +01:00
jke-openerp d5f350eac7 [TYPO] cleaning
bzr revid: jke@openerp.com-20131220160741-qg53c46autlrvn3v
2013-12-20 17:07:41 +01:00
Martin Trigaux aec8f50b20 [IMP] gamification: use constances
bzr revid: mat@openerp.com-20131220150557-xaomxnrdb4bxcex3
2013-12-20 16:05:57 +01:00
jke-openerp 0bec0a3ef9 [MERGE] Merge with trunk
bzr revid: jke@openerp.com-20131220145133-rgipx3bsh79isnxg
2013-12-20 15:51:33 +01:00
jke-openerp 698a74c0a2 [FIX] Fixe according to aprs review
bzr revid: jke@openerp.com-20131220145028-2vy4t19uxgrh9jw4
2013-12-20 15:50:28 +01:00
jke-openerp 0659fff17d [MERGE] Merge with trunk
bzr revid: jke@openerp.com-20131220144812-zowabydk399zsdcp
2013-12-20 15:48:12 +01: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
Martin Trigaux b421d76cdd [MERGE] sync with trunk
bzr revid: mat@openerp.com-20131220144635-qq4vmp1ciw3e5xlw
2013-12-20 15:46:35 +01:00
Martin Trigaux f77aefc07a [REF] gamification: cleaning methods and reports
bzr revid: mat@openerp.com-20131220144521-wyu1gx8bcitu6nk4
2013-12-20 15:45:21 +01:00
jke-openerp fa3f1e8563 [IMP] Change in demo data partner_to to allow the split on comma and not the safe eval of list
bzr revid: jke@openerp.com-20131220144230-n4wqy1j6ctgm35f2
2013-12-20 15:42:30 +01:00
jke-openerp 6bb986a2e5 [FIX] Fix according to APR's Review
- Access Right too restrictif for user
- Bug UI between Firefox and Chrome
- Bug UI many2many_tag cursor on bullet
- Temp Fix on email_template to manage partner_to
- Manage attendee from hr_holidays 
- Manage avatar_model in sidebar_items for filter (res.partner was hard coded)
- Remove quick add from HR-holiday, because some field (as day) is calculated on event "onchange"

bzr revid: jke@openerp.com-20131220141855-mbhxtr07fn0sroe0
2013-12-20 15:18:55 +01:00
Thibault Delavallée 4abd454e8e [FIX] hr_recruitment: email.template field is partner_to, not partner_id
bzr revid: tde@openerp.com-20131220125204-24xwn1jzo2nyiwzb
2013-12-20 13:52:04 +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
Thibault Delavallée 9d885fecab [CLEAN] hr_recruitment: cleaned code about attachments and tree view added in this branch: renamed the method + updated in views accordingly + simplified view + simplified onchange_job code
bzr revid: tde@openerp.com-20131220102918-yxn4aozi03hzlnsf
2013-12-20 11:29:18 +01:00
Thibault Delavallée 5ce340694e [FIX] email_template: fixed a test, partner_to is a list of ids, but not a python list
bzr revid: tde@openerp.com-20131220102422-holr2goxt823gt5x
2013-12-20 11:24:22 +01:00
Thibault Delavallée 28a41dc801 [IMP] hr_recruitment: improved approve/refuse templates
bzr revid: tde@openerp.com-20131220101847-a4ku8yst9ve8cf4y
2013-12-20 11:18:47 +01:00
jke-openerp 5564d4e23e [IMP] Improve perf of google synchro to avoid a duplicate update, we use now a key in context "NewMeeting" to avoid to update the meeting oe_update, when we create the attendee for the first time, so we dont make a synchro from OE to GG when an new event form GG is created the last synchro
bzr revid: jke@openerp.com-20131220095720-lpl2hn2890wbeu6v
2013-12-20 10:57:20 +01:00
Thibault Delavallée 4a55165597 [FIX] email_template: when sending email, process partner_to value also to convet it into a recipient_ids.
Hint: backport me into saas-2 or even 7.0

bzr revid: tde@openerp.com-20131220092756-o2qx54cjfq0qbsc9
2013-12-20 10:27:56 +01:00
Thibault Delavallée 8fa229061a [IMP] hr_recruitment: sending an email based on the template of the stage
is now done using the composer, therefore using message_post and all processing
required. Next step is to factorize that code to be able to use it directly
with one call.

bzr revid: tde@openerp.com-20131220092644-72uf3jpxn80u1ymq
2013-12-20 10:26:44 +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
Launchpad Translations on behalf of openerp 55221c4f2f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131220051117-xo0f99jx4i5kjl2l
2013-12-20 05:11:17 +00:00
jke-openerp 6473e55ea3 [IMP] Remove constraint on google_internal_event_id on attendee because google share them ID between the attendees
bzr revid: jke@openerp.com-20131219210628-3sza94f02z2lj3zn
2013-12-19 22:06:28 +01:00
jke-openerp 8685cd72e8 [IMP] Add approval_prompt to force, to be sure to synchronize the good google account
bzr revid: jke@openerp.com-20131219200804-kp66yr0xrbmq2yab
2013-12-19 21:08:04 +01:00
jke-openerp 4ca6502d5e [MERGE] Merge with trunk
bzr revid: jke@openerp.com-20131219193521-gs6ty1p0uju8cc21
2013-12-19 20:35:21 +01:00
jke-openerp 4a1208b39b [IMP] Redo tuto to get api key, because Google have changed console UI during the dev
bzr revid: jke@openerp.com-20131219174536-msjd005fxhxgl9qq
2013-12-19 18:45:36 +01:00
jke-openerp 59c932477e [IMP] Redirect admin to configurations page for Google Calendar API when trying synchro but not still configured
bzr revid: jke@openerp.com-20131219165011-xgy18qcr1n1q4jz1
2013-12-19 17:50:11 +01:00