web_widget_digital_signature_sale_order was moved in sale workflow https://github.com/OCA/sale-workflow/pull/252

Rename module this module in web_widget_digitized_signature
This commit is contained in:
archetipo
2015-12-22 17:50:41 +01:00
parent 7f8e41a6e3
commit 59f262c01b
21 changed files with 258 additions and 393 deletions

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-name="FieldSignature" >
<div class = "cc">
<div class="signature oe_edit_only"/><br/>
<button class="oe_form_binary_file_clear oe_edit_only clear_sign"><span>Clear</span></button>
<span class="oe_edit_only save_sign"></span>
</div>
</t>
<t t-name="FieldBinaryImage-extend">
<img t-att-src='url'
t-att-border="widget.readonly ? 0 : 1"
t-att-name="widget.name"
t-att-width="widget.node.attrs.img_width || widget.node.attrs.width"
t-att-height="widget.node.attrs.img_height || widget.node.attrs.height"
/>
</t>
</templates>