Browse Source

[FIX] RST syntax; add license key; Flake8; disable pylint on the patch file as well

pull/99/head
Stefan Rijnhart 9 years ago
parent
commit
8dbab7a5bd
  1. 1
      pos_pricelist/__openerp__.py
  2. 1
      pos_pricelist/models/point_of_sale.py
  3. 1
      pos_pricelist/models/pos_order_patch.py

1
pos_pricelist/__openerp__.py

@ -31,4 +31,5 @@
],
'post_init_hook': "set_pos_line_taxes",
'installable': True,
'license': 'AGPL-3',
}

1
pos_pricelist/models/point_of_sale.py

@ -162,7 +162,6 @@ class PosOrder(models.Model):
orders.compute_tax_detail()
_logger.info("%d orders computed installing module.", len(orders))
def _register_hook(self, cr):
res = super(PosOrder, self)._register_hook(cr)
base_order._create_account_move_line = _create_account_move_line

1
pos_pricelist/models/pos_order_patch.py

@ -2,6 +2,7 @@
# Copyright: Odoo S.A.
# License: AGPL-3
# flake8: noqa
# pylint: skip-file
from openerp.tools.translate import _

Loading…
Cancel
Save