Browse Source

[FIX] API confusion on override monkeypatched method

pull/225/head
Stefan Rijnhart 7 years ago
committed by Sylvain LE GAL
parent
commit
dc921e686b
  1. 2
      pos_pricelist/models/pos_order_patch.py

2
pos_pricelist/models/pos_order_patch.py

@ -4,8 +4,10 @@
# flake8: noqa # flake8: noqa
# pylint: skip-file # pylint: skip-file
from openerp.tools.translate import _ from openerp.tools.translate import _
from openerp import api
@api.cr_uid_ids_context
def _create_account_move_line(self, cr, uid, ids, session=None, move_id=None, context=None): def _create_account_move_line(self, cr, uid, ids, session=None, move_id=None, context=None):
""" Monkeypatch for this method's version on pos.order in the point_of_sale """ Monkeypatch for this method's version on pos.order in the point_of_sale
module. Only change is to refer to the line's taxes instead of the module. Only change is to refer to the line's taxes instead of the

Loading…
Cancel
Save