[IMP] improve yml strings

bzr revid: fka@tinyerp.com-20130318055412-se3c890mlckxd8ty
This commit is contained in:
Foram Katharotiya (OpenERP) 2013-03-18 11:24:12 +05:30
parent 093f0f771a
commit 2496811ec4
4 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
-
Salesman can also cancel order therfore test with that user which have salesman rights,
Salesman can also cancel order therefore test with that user which have salesman rights,
-
!context
uid: 'res_users_salesman'

View File

@ -1,5 +1,5 @@
-
Sales manager can only delete order therfore test with that user which have sales manager rights,
Sales manager can only delete order therefore test with that user which have sales manager rights,
-
!context
uid: 'res_users_salesmanager'

View File

@ -11,7 +11,7 @@
-
!python {model: stock.picking}: |
delivery_orders = self.search(cr, uid, [('sale_id','=',ref("sale.sale_order_8"))])
first_picking = self.browse(cr, uid, delivery_orders[0], context=None)
first_picking = self.browse(cr, uid, delivery_orders[0])
if first_picking.force_assign(cr, uid, first_picking):
first_move = first_picking.move_lines[0]
values = {'move%s'%(first_move.id): {'product_qty': 2, 'product_uom':ref('product.product_uom_unit')}}
@ -24,7 +24,7 @@
last_delivery_order_id = delivery_orders[0]
self.pool.get('stock.picking').signal_button_cancel(cr, uid, [last_delivery_order_id])
-
Only Stock User can change data related warehouse therfore test with that user which have stcok user rights,
Only Stock User can change data related warehouse therefore test with that user which have stcok user rights,
-
!context
uid: 'res_stock_user'
@ -35,7 +35,7 @@
self.run_scheduler(cr, uid)
-
Salesman can also check order therfore test with that user which have salesman rights,
Salesman can also check order therefore test with that user which have salesman rights,
-
!context
uid: 'res_sale_stock_salesman'

View File

@ -37,7 +37,7 @@
assert procurement.product_uom.id == order_line.product_uom.id, "UOM is not correspond."
assert procurement.procure_method == order_line.type, "Procurement method is not correspond."
-
Only Stock User can change data related warehouse therfore test with that user which have stcok user rights,
Only Stock User can change data related warehouse therefore test with that user which have stcok user rights,
-
!context
uid: 'res_stock_user'
@ -47,7 +47,7 @@
!python {model: procurement.order}: |
self.run_scheduler(cr, uid)
-
Salesman can also check order therfore test with that user which have salesman rights,
Salesman can also check order therefore test with that user which have salesman rights,
-
!context
uid: 'res_sale_stock_salesman'
@ -142,7 +142,7 @@
assert inv_line.quantity == (so_line.product_uos and so_line.product_uos_qty) or so_line.product_uom_qty , "Product qty is not correspond."
assert inv_line.price_subtotal == so_line.price_subtotal, "Price sub total is not correspond."
-
Only Stock manager can open the Invoice therfore test with that user which have stock manager rights,
Only Stock manager can open the Invoice therefore test with that user which have stock manager rights,
-
!context
uid: 'res_stock_manager'