Browse Source

FIX style

pull/267/head
eLBati 9 years ago
parent
commit
7f8e41a6e3
  1. 2
      web_widget_digital_signature/__init__.py
  2. 8
      web_widget_digital_signature/__openerp__.py
  3. 9
      web_widget_digital_signature_sale_order/__openerp__.py
  4. BIN
      web_widget_digital_signature_sale_order/images/so_signature.png
  5. 5
      web_widget_digital_signature_sale_order/models/sale_order.py
  6. 2
      web_widget_digital_signature_user/__init__.py
  7. 8
      web_widget_digital_signature_user/__openerp__.py
  8. 2
      web_widget_digital_signature_user/models/__init__.py
  9. 7
      web_widget_digital_signature_user/models/users.py

2
web_widget_digital_signature/__init__.py

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
##############################################################################
#
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 OpenERP SA (<http://www.openerp.com>)
# Copyright (C) 2011-2015 Serpent Consulting Services Pvt. Ltd.

8
web_widget_digital_signature/__openerp__.py

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
##############################################################################
#
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 OpenERP SA (<http://www.openerp.com>)
# Copyright (C) 2011-2015 Serpent Consulting Services Pvt. Ltd.
@ -12,9 +12,9 @@
##############################################################################
{
"name" : "Web Digital Signature",
"version" : "8.0.1.0.0",
"author" : "Serpent Consulting Services Pvt. Ltd., "
"name": "Web Digital Signature",
"version": "8.0.1.0.0",
"author": "Serpent Consulting Services Pvt. Ltd., "
"Odoo Community Association (OCA)",
"category": 'web',
"license": "AGPL-3",

9
web_widget_digital_signature_sale_order/__openerp__.py

@ -8,9 +8,9 @@
##############################################################################
{
"name" : "Web Digital Signature for sale orders",
"version" : "8.0.1.0.0",
"author" : "Agile Business Group, "
"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",
@ -18,6 +18,9 @@
'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

After

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

5
web_widget_digital_signature_sale_order/models/sale_order.py

@ -7,9 +7,10 @@
#
##############################################################################
from openerp import models, fields, api
from openerp import models, fields
class Users(models.Model):
_inherit = 'sale.order'
signature_image= fields.Binary(string='Signature')
signature_image = fields.Binary(string='Signature')

2
web_widget_digital_signature_user/__init__.py

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
##############################################################################
#
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 OpenERP SA (<http://www.openerp.com>)
# Copyright (C) 2011-2015 Serpent Consulting Services Pvt. Ltd.

8
web_widget_digital_signature_user/__openerp__.py

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
##############################################################################
#
#
# Copyright (C) 2011-2015 Serpent Consulting Services Pvt. Ltd.
# (<http://www.serpentcs.com>).
# Copyright 2015 Lorenzo Battistini - Agile Business Group
@ -10,9 +10,9 @@
##############################################################################
{
"name" : "Web Digital Signature for users",
"version" : "8.0.1.0.0",
"author" : "Serpent Consulting Services Pvt. Ltd., "
"name": "Web Digital Signature for users",
"version": "8.0.1.0.0",
"author": "Serpent Consulting Services Pvt. Ltd., "
"Odoo Community Association (OCA)",
"category": 'web',
"license": "AGPL-3",

2
web_widget_digital_signature_user/models/__init__.py

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
##############################################################################
#
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 OpenERP SA (<http://www.openerp.com>)
# Copyright (C) 2011-2015 Serpent Consulting Services Pvt. Ltd.

7
web_widget_digital_signature_user/models/users.py

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
##############################################################################
#
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 OpenERP SA (<http://www.openerp.com>)
# Copyright (C) 2011-2015 Serpent Consulting Services Pvt. Ltd.
@ -10,10 +10,11 @@
#
##############################################################################
from openerp import models, fields, api
from openerp import models, fields
class Users(models.Model):
_name = 'res.users'
_inherit = 'res.users'
signature_image= fields.Binary(string='Signature')
signature_image = fields.Binary(string='Signature')
Loading…
Cancel
Save