<?xml version="1.0"?>
<openerp>
<data>
- <wizard string="Invoice + Message"
+ <wizard string="Invoices with Layout and Message"
model="account.invoice"
name="wizard.notify_message"
id="wizard_notify_message"
/>
<report id="account_invoices_1"
- string="Invoice"
+ string="Invoices with Layout"
model="account.invoice"
name="account.invoice.layout"
rml="account_invoice_layout/report/report_account_invoice_layout.rml"
def spcl_msg(self, form):
account_msg_data = pooler.get_pool(self.cr.dbname).get('notify.message').browse(self.cr, self.uid, form['message'])
- msg = account_msg_data.msg
+ msg = account_msg_data.msg
return msg
<font color="white"> </font>
</para>
<para style="P19">[[ format((o.payment_term and o.payment_term.note) or '') ]]</para>
+<section>
<para style="P19">[[ repeatIn((spcl_msg(data['form']) and spcl_msg(data['form']).splitlines()) or [], 'note') ]]</para>
-<para style="P19">[[ note or removeParentNode('table') ]]</para>
-
+<para style="P19">[[ note or removeParentNode('para') ]]</para>
+</section>
</story>
</document>