From 5e6bec7de67fb48825c5487974ebe27f6c664df4 Mon Sep 17 00:00:00 2001 From: "Mayur Maheshwari (OpenERP)" Date: Tue, 10 Jan 2012 16:10:57 +0530 Subject: [PATCH] [FIX]crm,hr_contract,hr_timesheet_sheet,lunch: remove a user_id from record in yml lp bug: https://launchpad.net/bugs/827287 fixed bzr revid: mma@tinyerp.com-20120110104057-p16tjp48u1xdp072 --- addons/crm/test/process/action_rule.yml | 1 - addons/hr_contract/test/test_hr_contract.yml | 1 - addons/hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml | 2 -- addons/lunch/test/test_lunch.yml | 2 -- 4 files changed, 6 deletions(-) diff --git a/addons/crm/test/process/action_rule.yml b/addons/crm/test/process/action_rule.yml index f96c1eb7391..b13c9b086cc 100644 --- a/addons/crm/test/process/action_rule.yml +++ b/addons/crm/test/process/action_rule.yml @@ -12,7 +12,6 @@ - !record {model: crm.lead, id: crm_lead_test_rules_id}: name: 'Test lead rules' - user_id: base.user_root partner_id: base.res_partner_asus - I check record rule is apply and responsible is changed. diff --git a/addons/hr_contract/test/test_hr_contract.yml b/addons/hr_contract/test/test_hr_contract.yml index bd39e091d8b..ad60e4e0930 100644 --- a/addons/hr_contract/test/test_hr_contract.yml +++ b/addons/hr_contract/test/test_hr_contract.yml @@ -9,7 +9,6 @@ company_id: base.main_company gender: male name: Mark Johnson - user_id: base.user_root children: 2 marital: 'married' place_of_birth: Belgium diff --git a/addons/hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml b/addons/hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml index 25f3cc36843..8363815010e 100644 --- a/addons/hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml +++ b/addons/hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml @@ -73,7 +73,6 @@ amount: -90.00 product_id: product.product_consultant general_account_id: account.a_expense - user_id: base.user_root journal_id: hr_timesheet.analytic_journal - I confirm my Timesheet at end of period by click on "Confirm" button, @@ -100,7 +99,6 @@ amount: -90.00 product_id: product.product_consultant general_account_id: account.a_expense - user_id: base.user_root journal_id: hr_timesheet.analytic_journal - I tried again to confirm the timesheet after modification. diff --git a/addons/lunch/test/test_lunch.yml b/addons/lunch/test/test_lunch.yml index ae41c7f20ab..7cb23f52dbf 100644 --- a/addons/lunch/test/test_lunch.yml +++ b/addons/lunch/test/test_lunch.yml @@ -30,7 +30,6 @@ date: !eval time.strftime('%Y-%m-%d') product: 'lunch_product_club1' price: 2.75 - user_id: base.user_root - | I check that lunch order is on draft state after having created it. @@ -69,7 +68,6 @@ date: !eval "(datetime.now() + timedelta(2)).strftime('%Y-%m-%d')" product: 'lunch_product_club1' price: 2.75 - user_id: base.user_root - | I confirm this order.open wizard and select "Employee Cashbox".