X-Git-Url: http://git.cyclocoop.org/?p=burette%2Fetudesetchantiersidf.git;a=blobdiff_plain;f=point_of_sale.py;fp=point_of_sale.py;h=776c52f3d6f3b76b01d44db3c7f589e461aae78e;hp=0457bbd5297e91bcfa56a27e362f1d67b4d3abdc;hb=2188df4fe1be244aa42c5cb57b0380ecc8de56e3;hpb=ad5afe5412362f71fbb05f916b26df96e426d75e diff --git a/point_of_sale.py b/point_of_sale.py index 0457bbd..776c52f 100644 --- a/point_of_sale.py +++ b/point_of_sale.py @@ -3,7 +3,7 @@ # # etudesetchantiersidf module for OpenERP, Custom module for Étude et # Chantiers île-de-France -# Copyright (C) 2014-2018 etudesetchantiersidf +# Copyright (C) 2014-2019 etudesetchantiersidf # () # # This file is a part of etudesetchantiersidf @@ -35,6 +35,8 @@ class pos_order_line(orm.Model): product_id = vals['product_id'] products_obj = self.pool.get('product.product') product = products_obj.browse(cr, uid, product_id, context=context) + import pdb + pdb.set_trace() if product.is_fixed_price: vals['price_unit'] = product.list_price res = super(pos_order_line, self).create(cr, uid, vals, context=context)