~unifield-team/unifield-addons/uf-1261

« back to all changes in this revision

Viewing changes to sale/test/postpaid_order_policy.yml

UF-1050 [DEV] Field Order flow
lp:~unifield-team/unifield-addons/uf-1050

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    picking_policy: direct
25
25
    pricelist_id: product.list0
26
26
    shop_id: sale.shop
 
27
    yml_module_name: sale
27
28
-
28
29
  I confirm the Sale Order.
29
30
-
283
284
    so = sale_order_obj.browse(cr, uid, ref("sale_order_so8"))
284
285
    invoice_id = self.search(cr, uid, [('origin','=',so.name),('state','=','open')])
285
286
    self.pay_and_reconcile(cr, uid, invoice_id,
286
 
        100000.0, ref('account.cash'), ref('account.period_8'),
 
287
        so.amount_total, ref('account.cash'), ref('account.period_8'),
287
288
        ref('sale.account_journal_bankjournal0'), ref('account.cash'),
288
289
        ref('account.period_8'), ref('sale.account_journal_bankjournal0'),
289
290
        name='test')