diff --git a/pos_journal_image/__openerp__.py b/pos_journal_image/__openerp__.py index ff329353..d9949d67 100644 --- a/pos_journal_image/__openerp__.py +++ b/pos_journal_image/__openerp__.py @@ -3,30 +3,21 @@ # @author: Sylvain LE GAL (https://twitter.com/legalsylvain) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { - 'name': "Point of Sale - Journal Image", - 'summary': "Add images on Account Journals available in the PoS", - 'version': '8.0.1.0.0', - 'category': 'Point of Sale', - 'author': 'GRAP', - 'website': 'http://www.grap.coop', - 'license': 'AGPL-3', - 'depends': [ - 'point_of_sale', + "name": "Point of Sale - Journal Image", + "summary": "Add images on Account Journals available in the PoS", + "version": "8.0.1.0.0", + "category": "Point of Sale", + "author": "GRAP", + "website": "http://www.grap.coop", + "license": "AGPL-3", + "depends": ["point_of_sale"], + "data": ["views/templates.xml", "views/view_account_journal.xml"], + "qweb": ["static/src/xml/pos_journal_image.xml"], + "demo": ["demo/account_journal.xml"], + "images": [ + "static/description/account_journal_form.png", + "static/description/pos_payment_list_image.png", + "static/description/pos_paypad_image.png", ], - 'data': [ - 'views/templates.xml', - 'views/view_account_journal.xml', - ], - 'qweb': [ - 'static/src/xml/pos_journal_image.xml', - ], - 'demo': [ - 'demo/account_journal.xml', - ], - 'images': [ - 'static/description/account_journal_form.png', - 'static/description/pos_payment_list_image.png', - 'static/description/pos_paypad_image.png', - ], - 'installable': False, + "installable": False, } diff --git a/pos_journal_image/models/account_journal.py b/pos_journal_image/models/account_journal.py index 89e8407f..13df7042 100644 --- a/pos_journal_image/models/account_journal.py +++ b/pos_journal_image/models/account_journal.py @@ -6,7 +6,7 @@ from openerp import fields, models class AccountJournal(models.Model): - _inherit = 'account.journal' + _inherit = "account.journal" # Columns section - pos_image = fields.Binary(string='PoS Image') + pos_image = fields.Binary(string="PoS Image")