From 2b52cd1ffb4eb7a39e982d7e3957637bfe31dddf Mon Sep 17 00:00:00 2001 From: "Meera Trambadia (OpenERP)" Date: Fri, 7 Oct 2011 12:36:06 +0530 Subject: [PATCH] [IMP] account:removed assigned payment term on partner and tax on account in yml bzr revid: mtr@tinyerp.com-20111007070606-8l80xittmd05oabb --- .../test/account_validate_account_move.yml | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/addons/account/test/account_validate_account_move.yml b/addons/account/test/account_validate_account_move.yml index f0d1a52b1fd..bb12d881fb0 100644 --- a/addons/account/test/account_validate_account_move.yml +++ b/addons/account/test/account_validate_account_move.yml @@ -6,27 +6,6 @@ !record {model: account.tax.code, id: account_tax_code_0}: name : Tax Code Test sign : 1.00 -- - I assign Payment term on partner -- - !python {model: res.partner}: | - ids = self.search(cr, uid, [('id', '=', ref('base.res_partner_desertic_hispafuentes'))]) - payment = self.write(cr, uid, ids, {'property_payment_term':1}, context=context) - assert payment, "Payment term is not assigned on the partner" -- - I create a tax -- - !record {model: account.tax, id: tax_10}: - name: Tax_10 - amount: 10 - type: fixed - sequence: 1 - type_tax_use: all -- - I assign tax on account -- - !python {model: account.account}: | - cr.execute('insert into account_account_tax_default_rel (account_id, tax_id) values (%s,%s)', (ref('a_recv'), ref('tax_10'))) - In order to test the 'Post Journal Entries' wizard in OpenERP, I created an account move -