[MERGE] delivery: clarified behavior when saving a delivery.carrier. We want to keep...
authorThibault Delavallée <tde@openerp.com>
Tue, 14 Feb 2012 14:16:18 +0000 (15:16 +0100)
committerThibault Delavallée <tde@openerp.com>
Tue, 14 Feb 2012 14:16:18 +0000 (15:16 +0100)
commit90f2502429441a4766657dfebb5c5d5c0fbb186c
tree8eb1a89987379bc1db209cc5b9810cf7d91778ce
parent64d0bdfb4ab9bc020a560cf8cde69cacd828c45f
parent6ec72e3ad4204ded0a6535dacde7c0ede5ea38a6
[MERGE] delivery: clarified behavior when saving a delivery.carrier. We want to keep the behavior of writing normal_price and free_if_more_than delivery lines. However, we also want to keep user modifications. The module now differentiates if it uses advanced pricing per destination or not. It using it, the user is responsible of the delivery grid and lines. None will be overrided. If not using it, the default behavior is used, unlinking previous lines to set normal_price and free_if_more_than.

lp bug: https://launchpad.net/bugs/927415 fixed

bzr revid: tde@openerp.com-20120214141618-w5c6ybouaqj87tqx