Browse Source

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 9 years ago
parent
commit
59f262c01b
  1. 53
      web_widget_digital_signature_sale_order/README.rst
  2. 10
      web_widget_digital_signature_sale_order/__init__.py
  3. 27
      web_widget_digital_signature_sale_order/__openerp__.py
  4. BIN
      web_widget_digital_signature_sale_order/images/so_signature.png
  5. 10
      web_widget_digital_signature_sale_order/models/__init__.py
  6. 16
      web_widget_digital_signature_sale_order/models/sale_order.py
  7. BIN
      web_widget_digital_signature_sale_order/static/description/icon.png
  8. 19
      web_widget_digital_signature_sale_order/views/sale_order_view.xml
  9. 2
      web_widget_digitized_signature/README.rst
  10. 0
      web_widget_digitized_signature/__init__.py
  11. 2
      web_widget_digitized_signature/__openerp__.py
  12. 0
      web_widget_digitized_signature/static/description/icon.png
  13. 0
      web_widget_digitized_signature/static/lib/excanvas.js
  14. 0
      web_widget_digitized_signature/static/lib/jquery.signature.js
  15. 0
      web_widget_digitized_signature/static/src/css/digital.css
  16. 0
      web_widget_digitized_signature/static/src/css/jquery-ui.css
  17. 0
      web_widget_digitized_signature/static/src/css/jquery.signature.css
  18. 0
      web_widget_digitized_signature/static/src/img/icon.png
  19. 0
      web_widget_digitized_signature/static/src/js/digital_sign.js
  20. 0
      web_widget_digitized_signature/static/src/xml/digital_sign.xml
  21. 10
      web_widget_digitized_signature/views/we_digital_sign_view.xml

53
web_widget_digital_signature_sale_order/README.rst

@ -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.

10
web_widget_digital_signature_sale_order/__init__.py

@ -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

27
web_widget_digital_signature_sale_order/__openerp__.py

@ -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,
}

BIN
web_widget_digital_signature_sale_order/images/so_signature.png

Before

Width: 864  |  Height: 540  |  Size: 37 KiB

10
web_widget_digital_signature_sale_order/models/__init__.py

@ -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

16
web_widget_digital_signature_sale_order/models/sale_order.py

@ -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')

BIN
web_widget_digital_signature_sale_order/static/description/icon.png

Before

Width: 128  |  Height: 128  |  Size: 5.6 KiB

19
web_widget_digital_signature_sale_order/views/sale_order_view.xml

@ -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>

2
web_widget_digital_signature/README.rst → web_widget_digitized_signature/README.rst

@ -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

0
web_widget_digital_signature/__init__.py → web_widget_digitized_signature/__init__.py

2
web_widget_digital_signature/__openerp__.py → web_widget_digitized_signature/__openerp__.py

@ -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)",

0
web_widget_digital_signature/static/description/icon.png → web_widget_digitized_signature/static/description/icon.png

Before

Width: 128  |  Height: 128  |  Size: 8.9 KiB

After

Width: 128  |  Height: 128  |  Size: 8.9 KiB

0
web_widget_digital_signature/static/lib/excanvas.js → web_widget_digitized_signature/static/lib/excanvas.js

0
web_widget_digital_signature/static/lib/jquery.signature.js → web_widget_digitized_signature/static/lib/jquery.signature.js

0
web_widget_digital_signature/static/src/css/digital.css → web_widget_digitized_signature/static/src/css/digital.css

0
web_widget_digital_signature/static/src/css/jquery-ui.css → web_widget_digitized_signature/static/src/css/jquery-ui.css

0
web_widget_digital_signature/static/src/css/jquery.signature.css → web_widget_digitized_signature/static/src/css/jquery.signature.css

0
web_widget_digital_signature/static/src/img/icon.png → web_widget_digitized_signature/static/src/img/icon.png

Before

Width: 159  |  Height: 221  |  Size: 16 KiB

After

Width: 159  |  Height: 221  |  Size: 16 KiB

0
web_widget_digital_signature/static/src/js/digital_sign.js → web_widget_digitized_signature/static/src/js/digital_sign.js

0
web_widget_digital_signature/static/src/xml/digital_sign.xml → web_widget_digitized_signature/static/src/xml/digital_sign.xml

10
web_widget_digital_signature/views/we_digital_sign_view.xml → web_widget_digitized_signature/views/we_digital_sign_view.xml

@ -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_digital_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_digital_signature/static/lib/jquery.signature.js"></script>
<script type="text/javascript" src="/web_widget_digital_signature/static/src/js/digital_sign.js"></script>
<link rel="stylesheet" href="/web_widget_digitized_signature/static/src/css/digital.css"/>
<link rel="stylesheet" href="/web_widget_digitized_signature/static/src/css/jquery.signature.css"/>
<script type="text/javascript" src="/web_widget_digitized_signature/static/lib/excanvas.js"></script>
<script type="text/javascript" src="/web_widget_digitized_signature/static/lib/jquery.signature.js"></script>
<script type="text/javascript" src="/web_widget_digitized_signature/static/src/js/digital_sign.js"></script>
</xpath> </xpath>
</template> </template>
</data> </data>
Loading…
Cancel
Save