Merge lp:~openerp-dev/openobject-addons/trunk-remove-warnings-server-installation-tpa
bzr revid: jam@tinyerp.com-20120910090801-7wni3ektc673nxft
This commit is contained in:
commit
8df390e16b
|
@ -20,7 +20,7 @@
|
|||
-
|
||||
I reply him request with welcome message.
|
||||
-
|
||||
!python {model: mail.compose.message}: |
|
||||
!python {model: mail.mail}: |
|
||||
lead_ids = self.pool.get('crm.lead').search(cr, uid, [('email_from','=', 'Mr. John Right <info@customer.com>')])
|
||||
context.update({'active_model': 'crm.lead','active_id': lead_ids[0]})
|
||||
id = self.create(cr, uid, {'body': "Merci à l'intérêt pour notre produit.nous vous contacterons bientôt. Merci", 'email_from': 'sales@mycompany.com'}, context=context)
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
</record>
|
||||
<record id="demo_category1" model="document.page">
|
||||
<field name="name">OpenERP Features</field>
|
||||
<field name="sequence">10</field>
|
||||
<field name="type">category</field>
|
||||
<field name="content">
|
||||
Summary of the feature
|
||||
|
|
|
@ -65,7 +65,6 @@ class document_page_create_menu(osv.osv_memory):
|
|||
'view_id': False,
|
||||
'type': 'ir.actions.act_window',
|
||||
'target': 'inlineview',
|
||||
'nodestroy': True,
|
||||
}
|
||||
value['domain'] = "[('parent_id','=',%d)]" % (page.id)
|
||||
value['res_id'] = page.id
|
||||
|
|
|
@ -81,8 +81,6 @@ class sale_order_line(osv.osv):
|
|||
'nb_register': int(order_line.product_uom_qty),
|
||||
'email': order_line.order_id.partner_id.email,
|
||||
'phone': order_line.order_id.partner_id.phone,
|
||||
'street': order_line.order_id.partner_invoice_id.street,
|
||||
'city': order_line.order_id.partner_invoice_id.city,
|
||||
'origin': order_line.order_id.name,
|
||||
'event_id': order_line.event_id.id,
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
-
|
||||
I send mail to get more details.
|
||||
-
|
||||
!python {model: mail.compose.message }: |
|
||||
!python {model: mail.mail }: |
|
||||
ctx = context.copy()
|
||||
ctx.update({'active_model': 'project.issue', 'active_id': ref("crm_case_buginaccountsmodule0"), 'active_ids': [ref("crm_case_buginaccountsmodule0")]})
|
||||
vals = self.default_get(cr, uid , [], context=ctx)
|
||||
|
|
|
@ -177,7 +177,6 @@ class purchase_requisition(osv.osv):
|
|||
'product_uom': default_uom_po_id,
|
||||
'price_unit': seller_price,
|
||||
'date_planned': date_planned,
|
||||
'notes': product.description_purchase,
|
||||
'taxes_id': [(6, 0, taxes)],
|
||||
}, context=context)
|
||||
|
||||
|
|
Loading…
Reference in New Issue