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
pull/267/head
archetipo 2015-12-22 17:50:41 +01:00
parent 7f8e41a6e3
commit 59f262c01b
21 changed files with 258 additions and 393 deletions

View File

@ -1,53 +0,0 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
=====================================
Web Digital Signature for sale orders
=====================================
This module adds a signature field to sale order form, so that salesman can let customers sign their quotations.
Usage
=====
Just open a quotation and sign it.
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/162/8.0
Bug Tracker
===========
Bugs are tracked on `GitHub Issues
<https://github.com/OCA/web/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed `feedback
<https://github.com/OCA/
web/issues/new?body=module:%20
web_widget_digital_signature_sale_order%0Aversion:%20
8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Credits
=======
Contributors
------------
* Lorenzo Battistini <lorenzo.battistini@agilebg.com>
Maintainer
----------
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.

View File

@ -1,10 +0,0 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright 2015 Lorenzo Battistini - Agile Business Group
#
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
#
##############################################################################
from . import models

View File

@ -1,27 +0,0 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright 2015 Lorenzo Battistini - Agile Business Group
#
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
#
##############################################################################
{
"name": "Web Digital Signature for sale orders",
"version": "8.0.1.0.0",
"author": "Agile Business Group, "
"Odoo Community Association (OCA)",
"category": 'web',
"license": "AGPL-3",
'depends': ['web_widget_digital_signature', 'sale'],
'data': [
'views/sale_order_view.xml'
],
'images': [
'images/so_signature.png',
],
'website': 'http://www.agilebg.com',
'installable': True,
'auto_install': False,
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

View File

@ -1,10 +0,0 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright 2015 Lorenzo Battistini - Agile Business Group
#
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
#
##############################################################################
from . import sale_order

View File

@ -1,16 +0,0 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright 2015 Lorenzo Battistini - Agile Business Group
#
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
#
##############################################################################
from openerp import models, fields
class Users(models.Model):
_inherit = 'sale.order'
signature_image = fields.Binary(string='Signature')

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

View File

@ -1,19 +0,0 @@
<?xml version="1.0" ?>
<openerp>
<data>
<record id="view_order_form_signature" model="ir.ui.view">
<field name="name">view_order_form_signature</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='note']" position="after">
<div class="oe_clear"/>
<label for="signature_image" class="oe_edit_only"/>
<h2><field name="signature_image" widget="signature" width="400" height="100"/></h2>
</xpath>
</field>
</record>
</data>
</openerp>

View File

@ -30,7 +30,7 @@ check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed `feedback help us smashing it by providing a detailed and welcomed `feedback
<https://github.com/OCA/ <https://github.com/OCA/
web/issues/new?body=module:%20 web/issues/new?body=module:%20
web_widget_digital_signature%0Aversion:%20 web_widget_digitized_signature%0Aversion:%20
8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. 8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Credits Credits

View File

@ -12,7 +12,7 @@
############################################################################## ##############################################################################
{ {
"name": "Web Digital Signature", "name": "Web Widget Digitized Signature",
"version": "8.0.1.0.0", "version": "8.0.1.0.0",
"author": "Serpent Consulting Services Pvt. Ltd., " "author": "Serpent Consulting Services Pvt. Ltd., "
"Odoo Community Association (OCA)", "Odoo Community Association (OCA)",

View File

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -2,11 +2,11 @@
<data> <data>
<template id="signature_backend" name="signature assets" inherit_id="web.assets_backend"> <template id="signature_backend" name="signature assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside"> <xpath expr="." position="inside">
<link rel="stylesheet" href="/web_widget_digital_signature/static/src/css/digital.css"/> <link rel="stylesheet" href="/web_widget_digitized_signature/static/src/css/digital.css"/>
<link rel="stylesheet" href="/web_widget_digital_signature/static/src/css/jquery.signature.css"/> <link rel="stylesheet" href="/web_widget_digitized_signature/static/src/css/jquery.signature.css"/>
<script type="text/javascript" src="/web_widget_digital_signature/static/lib/excanvas.js"></script> <script type="text/javascript" src="/web_widget_digitized_signature/static/lib/excanvas.js"></script>
<script type="text/javascript" src="/web_widget_digital_signature/static/lib/jquery.signature.js"></script> <script type="text/javascript" src="/web_widget_digitized_signature/static/lib/jquery.signature.js"></script>
<script type="text/javascript" src="/web_widget_digital_signature/static/src/js/digital_sign.js"></script> <script type="text/javascript" src="/web_widget_digitized_signature/static/src/js/digital_sign.js"></script>
</xpath> </xpath>
</template> </template>
</data> </data>