@ -31,4 +31,5 @@
],
'post_init_hook': "set_pos_line_taxes",
'installable': True,
'license': 'AGPL-3',
}
@ -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
@ -2,6 +2,7 @@
# Copyright: Odoo S.A.
# License: AGPL-3
# flake8: noqa
# pylint: skip-file
from openerp.tools.translate import _