[FIX] crm_lead: yml test: as crm_add_note has been removed, change a test from add_note to message_append_note.

bzr revid: tde@openerp.com-20120711075557-w5jnzq7l5ou3q6sa
This commit is contained in:
Thibault Delavallée 2012-07-11 09:55:57 +02:00
parent 1daefb8fd5
commit 204f325952
1 changed files with 2 additions and 4 deletions

View File

@ -54,10 +54,8 @@
-
After communicated with customer, I put some notes with contract details.
-
!python {model: crm.add.note}: |
context.update({'active_model': 'crm.lead', 'active_id': ref('crm_case_qrecorp0')})
note_id = self.create(cr, uid, {'body': "ces détails envoyés par le client sur le FAX pour la qualité"})
self.action_add(cr, uid, [note_id], context=context)
!python {model: crm.lead}: |
self.message_append_note(cr, uid, [ref('crm_case_qrecorp0')], subject='Test note', body='ces détails envoyés par le client sur le FAX pour la qualité')
-
I win this opportunity
-