summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@openerp.com>2016-07-17 01:06:18 +0200
committerFabien Pinckaers <fp@openerp.com>2016-07-17 01:06:18 +0200
commitbce2915954f67e7ea92d7f70ea41c44c1ea871bf (patch)
tree625eed23777d0fc9821cb1e30f8b8819badfa0db
parent9fbe082b2b59ba35a52e01bebd01bc533e3acaef (diff)
[IMP] account: adding signature to invoices sent by email
-rw-r--r--addons/account/data/invoice_action_data.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/account/data/invoice_action_data.xml b/addons/account/data/invoice_action_data.xml
index d55627d69e1..5b7a5ea3c5f 100644
--- a/addons/account/data/invoice_action_data.xml
+++ b/addons/account/data/invoice_action_data.xml
@@ -40,6 +40,9 @@ from ${object.company_id.name}.
</p>
<p>If you have any question, do not hesitate to contact us.</p>
<p>Best regards,</p>
+% if object.user_id and object.user_id.signature:
+ ${object.user_id.signature | safe}
+% endif
]]></field>
</record>
</data>