[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:
parent
1daefb8fd5
commit
204f325952
|
@ -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
|
||||
-
|
||||
|
|
Loading…
Reference in New Issue