#
# etudesetchantiersidf module for OpenERP, Custom module for Étude et
# Chantiers île-de-France
-# Copyright (C) 2014-2018 etudesetchantiersidf
+# Copyright (C) 2014-2019 etudesetchantiersidf
# (<http://etudesetchantiersiledefrance.unarec.org/>)
#
# This file is a part of etudesetchantiersidf
#
# etudesetchantiersidf module for OpenERP, Custom module for Études et
# Chantiers Île-de-France
-# Copyright (C) 2014-2018 etudesetchantiersidf
+# Copyright (C) 2014-2019 etudesetchantiersidf
# (<http://etudesetchantiersiledefrance.unarec.org/>)
#
# This file is a part of etudesetchantiersidf
#
# etudesetchantiersidf module for OpenERP, Custom module for Étude et
# Chantiers île-de-France
-# Copyright (C) 2014-2017 etudesetchantiersidf
+# Copyright (C) 2014-2019 etudesetchantiersidf
# (<http://etudesetchantiersiledefrance.unarec.org/>)
#
# This file is a part of etudesetchantiersidf
#
# etudesetchantiersidf module for OpenERP, Custom module for Étude et
# Chantiers île-de-France
-# Copyright (C) 2014-2018 etudesetchantiersidf
+# Copyright (C) 2014-2019 etudesetchantiersidf
# (<http://etudesetchantiersiledefrance.unarec.org/>)
#
# This file is a part of etudesetchantiersidf
#
# etudesetchantiersidf module for OpenERP, Custom module for Étude et
# Chantiers île-de-France
-# Copyright (C) 2014-2018 etudesetchantiersidf
+# Copyright (C) 2014-2019 etudesetchantiersidf
# (<http://etudesetchantiersiledefrance.unarec.org/>)
#
# This file is a part of etudesetchantiersidf
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)
#
# etudesetchantiersidf module for OpenERP, Custom module for Étude et
# Chantiers île-de-France
-# Copyright (C) 2014-2018 etudesetchantiersidf
+# Copyright (C) 2014-2019 etudesetchantiersidf
# (<http://etudesetchantiersiledefrance.unarec.org/>)
#
# This file is a part of etudesetchantiersidf
#
# etudesetchantiersidf module for OpenERP, Custom module for Étude et
# Chantiers île-de-France
-# Copyright (C) 2014-2017 etudesetchantiersidf
+# Copyright (C) 2014-2019 etudesetchantiersidf
# (<http://etudesetchantiersiledefrance.unarec.org/>)
#
# This file is a part of etudesetchantiersidf
#
# etudesetchantiersidf module for OpenERP, Custom module for Étude et
# Chantiers île-de-France
-# Copyright (C) 2014-2018 etudesetchantiersidf
+# Copyright (C) 2014-2019 etudesetchantiersidf
# (<http://etudesetchantiersiledefrance.unarec.org/>)
#
# This file is a part of etudesetchantiersidf