Browse Source

Pylint and flake8 bugfix.

pull/23/head
Nikolina Todorova 8 years ago
parent
commit
f3c3ffae5e
  1. 2
      pdf_form_fill/__openerp__.py
  2. 2
      pdf_form_fill/pdf_form_fill.py
  3. 2
      pdf_form_fill/security/ir.model.access.csv
  4. 2
      pdf_form_fill_test/__openerp__.py
  5. 2
      pdf_form_fill_test/security/ir.model.access.csv

2
pdf_form_fill/__openerp__.py

@ -3,7 +3,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
'name': 'Pdf form fill',
'version': '0.1.0',
'version': '7.0.1.0',
'author': 'initOS GmbH, Odoo Community Association (OCA)',
'description': """
The user should be able to fill .pdf form by mapping the fields from a record.

2
pdf_form_fill/pdf_form_fill.py

@ -12,6 +12,7 @@ import subprocess
import base64
import os
class pdf_form_fill(orm.Model):
_name = 'pdf.form.fill'
@ -44,7 +45,6 @@ class pdf_form_fill(orm.Model):
return (k, v)
fields = map(_transform_field, fields)
# create the fdf file for filling the form
if not forge_fdf:
raise orm.except_orm(

2
pdf_form_fill/security/ir.model.access.csv

@ -1,2 +1,2 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_pdf_form_fill,access.pdf.form.fill,model_pdf_form_fill,base.group_user,1,1,1,1
access_pdf_form_fill,access.pdf.form.fill,model_pdf_form_fill,base.group_user,1,1,1,1

2
pdf_form_fill_test/__openerp__.py

@ -3,7 +3,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Pdf Form Fill Test",
"version": "1.0",
"version": "7.0.1.0",
"depends": [
"base",
"pdf_form_fill"

2
pdf_form_fill_test/security/ir.model.access.csv

@ -1,2 +1,2 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_pdf_form_fill_test,access.pdf.form.fill.test,model_pdf_form_fill_test,base.group_user,1,1,1,1
access_pdf_form_fill_test,access.pdf.form.fill.test,model_pdf_form_fill_test,base.group_user,1,1,1,1
Loading…
Cancel
Save