odoo/addons/sale_margin
Guewen Baconnier 3a314780c0 [FIX] sale_*, delivery: more consistent ignore of cancelled SO lines
Sales Order lines have a cancelled state, but this state is not
always considered when looping over lines. This check is
done in some places already and this patch's aim is to do it in the
remaining places.

- Cancel the procurement of a sale line in sale.order.line
instead of sale.order, so a line canceled individually with
sale_order_line.button_cancel will properly cancel it
procurement.
- Sale report: uses the state of lines instead of Sales order,
so canceled lines of not-canceled orders are correctly represented
in the analysis.
- test: do not create invoices lines for canceled sale lines
- test: creation of moves with canceled lines
- test: check if lines are still canceled when sale order is done

Closes #6036
2015-04-24 17:29:51 +02:00
..
i18n [I18N] Update translations from Launchpad 8.0 branches 2015-01-26 16:36:51 +01:00
security [IMP] Security Rule: removed duplicates due to inheritancies of groups 2011-12-12 19:11:13 +01:00
test [FIX]sale_margin: remove field type from sol since it does not exist anymore 2013-09-11 15:02:47 +02:00
__init__.py
__openerp__.py [DEL] Cleaning: key 'images' removed from all __openerp__.py 2015-01-06 14:20:38 +01:00
sale_margin.py [FIX] sale_*, delivery: more consistent ignore of cancelled SO lines 2015-04-24 17:29:51 +02:00
sale_margin_demo.xml [IMP] Sale : value of cost price field added as demo data file in sale_margin 2012-10-05 12:45:01 +05:30
sale_margin_view.xml [FIX]Hide the margin in SO if you see SO as a customer through portal, if 'Display margin on sale orders' is activated 2013-05-31 14:53:11 +05:30