~camptocamp/openerp-connector/7.0-e-commerce-addons-onchange-lines-commands

Viewing all changes in revision 316.

  • Committer: Guewen Baconnier
  • Date: 2013-04-15 09:13:25 UTC
  • mfrom: (315.1.2 e-commerce-addons)
  • Revision ID: guewen.baconnier@camptocamp.com-20130415091325-52tg3zy4729850ne
[ADD] on_product_price_changed Event, fired when the price of a product could have changed

As the price is a fields.function based on the contextual pricelist, we can never be sure
that a price has changed, it depends on the context.

So we search all the base fields used to compute the price, and if one of these has changed,
the event is fired.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: