[REM] sale_stock: unused demo file

This commit is contained in:
Thibault Delavallée
2016-07-12 17:53:11 +02:00
parent b755ee80a5
commit 3bf3d15fc5
-12
View File
@@ -1,12 +0,0 @@
-
Actions that need an income account are done here
-
!python {model: ir.model.data} : |
account_id = self.pool.get('account.account').search(cr, uid, [('user_type_id', '=', ref('account.data_account_type_revenue'))])
if account_id:
vals = {
'warehouse_id': ref('stock.warehouse0'),
}
self._update(cr, uid, 'sale.order', 'sale', vals, 'sale_order_4')
self.pool.get('sale.order').signal_workflow(cr, uid, [ref('sale.sale_order_1')], 'order_confirm')