Skip to content

Commit

Permalink
[MIG] sale_order_digitized_signature: Migration to 11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cubells authored and pedrobaeza committed Aug 10, 2019
1 parent 9ba6a82 commit 9ebc69b
Show file tree
Hide file tree
Showing 13 changed files with 523 additions and 39 deletions.
76 changes: 53 additions & 23 deletions sale_order_digitized_signature/README.rst
@@ -1,13 +1,37 @@
.. 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 Digitized Signature for Sale Orders
=======================================
==============================
Sale Order Digitized Signature
==============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/sale-workflow/tree/11.0/sale_order_digitized_signature
:alt: OCA/sale-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/sale-workflow-11-0/sale-workflow-11-0-sale_order_digitized_signature
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/167/11.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module adds a signature field to sale report.

**Table of contents**

.. contents::
:local:

Installation
============

Expand All @@ -27,39 +51,45 @@ To use this module, you need to:
#. You can clear customer signature in any moment to reenter it again, and you
can send by mail sale order report, and signature is printed.


.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/167/9.0

Bug Tracker
===========

Bugs are tracked on GitHub Issues
<https://github.com/OCA/sale-workflow/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smash it by providing detailed and welcomed feedback.
Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/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/sale-workflow/issues/new?body=module:%20sale_order_digitized_signature%0Aversion:%2011.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Tecnativa

Contributors
------------
~~~~~~~~~~~~

* Lorenzo Battistini <lorenzo.battistini@agilebg.com>
* Vicent Cubells <vicent.cubells@tecnativa.com>
* `Tecnativa <https://www.tecnatica.com>`_:

* Vicent Cubells

Maintainer
----------
Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. 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.
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/11.0/sale_order_digitized_signature>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 0 additions & 3 deletions sale_order_digitized_signature/__init__.py
@@ -1,4 +1 @@
# -*- coding: utf-8 -*-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
@@ -1,13 +1,12 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Tecnativa - Vicent Cubells
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Sale Order Digitized Signature",
"version": "9.0.1.0.0",
"version": "11.0.1.0.0",
"author": "Tecnativa, "
"Odoo Community Association (OCA)",
"website": "https://www.tecnativa.com",
"website": "https://github.com/OCA/sale-workflow",
"category": "Sales",
"license": "AGPL-3",
"depends": [
Expand Down
7 changes: 5 additions & 2 deletions sale_order_digitized_signature/i18n/es.po
Expand Up @@ -28,5 +28,8 @@ msgstr "Aceptación del cliente"

#. module: sale_order_digitized_signature
#: model:ir.model,name:sale_order_digitized_signature.model_sale_order
msgid "Sales Order"
msgstr "Pedido"
msgid "Quotation"
msgstr ""

#~ msgid "Sales Order"
#~ msgstr "Pedido"
Expand Up @@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n"
"Language-Team: \n"
Expand All @@ -25,6 +25,6 @@ msgstr ""

#. module: sale_order_digitized_signature
#: model:ir.model,name:sale_order_digitized_signature.model_sale_order
msgid "Sales Order"
msgid "Quotation"
msgstr ""

3 changes: 0 additions & 3 deletions sale_order_digitized_signature/models/__init__.py
@@ -1,4 +1 @@
# -*- coding: utf-8 -*-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import sale
3 changes: 1 addition & 2 deletions sale_order_digitized_signature/models/sale.py
@@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Tecnativa - Vicent Cubells
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from openerp import api, fields, models
from odoo import api, fields, models


class SaleOrder(models.Model):
Expand Down
4 changes: 4 additions & 0 deletions sale_order_digitized_signature/readme/CONTRIBUTORS.rst
@@ -0,0 +1,4 @@
* Lorenzo Battistini <lorenzo.battistini@agilebg.com>
* `Tecnativa <https://www.tecnatica.com>`_:

* Vicent Cubells
1 change: 1 addition & 0 deletions sale_order_digitized_signature/readme/DESCRIPTION.rst
@@ -0,0 +1 @@
This module adds a signature field to sale report.
5 changes: 5 additions & 0 deletions sale_order_digitized_signature/readme/INSTALL.rst
@@ -0,0 +1,5 @@
This module depends on :

* web_widget_digitized_signature

This module is part of the OCA/web suite.
6 changes: 6 additions & 0 deletions sale_order_digitized_signature/readme/USAGE.rst
@@ -0,0 +1,6 @@
To use this module, you need to:

#. Go to a any sale order. A block to enter customer signature are shown in
**Order lines** tab on editing sales order.
#. You can clear customer signature in any moment to reenter it again, and you
can send by mail sale order report, and signature is printed.
2 changes: 1 addition & 1 deletion sale_order_digitized_signature/report/report_saleorder.xml
Expand Up @@ -6,7 +6,7 @@
<p>
<strong>Customer acceptance:</strong>
<span t-if="doc.customer_signature">
<img class="image" t-att-src="'data:image/png;base64,%s' % doc.customer_signature" style="border:auto;"/>
<img class="image" t-att-src="'data:image/png;base64,%s' % to_text(doc.customer_signature)" style="border:auto;"/>
</span>
</p>
</xpath>
Expand Down

0 comments on commit 9ebc69b

Please sign in to comment.