Mayur Maheshwari(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-827287-mma into 
lp:openobject-addons.

Requested reviews:
  Rucha (Open ERP) (rpa-openerp)
Related bugs:
  Bug #827287 in OpenERP Addons: "yml - must not run as root"
  https://bugs.launchpad.net/openobject-addons/+bug/827287

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-827287-mma/+merge/88033

Hello,


      crm,hr_contract,hr_timesheet_sheet,lunch: I Have a remove a user_id from 
record in yml

Thanks.
Mayur Mahehswari [ mma ]
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-827287-mma/+merge/88033
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-827287-mma.
=== modified file 'crm/test/process/action_rule.yml'
--- crm/test/process/action_rule.yml	2011-12-16 12:53:12 +0000
+++ crm/test/process/action_rule.yml	2012-01-10 10:49:37 +0000
@@ -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.

=== modified file 'hr_contract/test/test_hr_contract.yml'
--- hr_contract/test/test_hr_contract.yml	2011-04-08 17:31:29 +0000
+++ hr_contract/test/test_hr_contract.yml	2012-01-10 10:49:37 +0000
@@ -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

=== modified file 'hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml'
--- hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml	2012-01-10 08:34:50 +0000
+++ hr_timesheet_sheet/test/test_hr_timesheet_sheet.yml	2012-01-10 10:49:37 +0000
@@ -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.

=== modified file 'lunch/test/test_lunch.yml'
--- lunch/test/test_lunch.yml	2011-05-02 18:46:43 +0000
+++ lunch/test/test_lunch.yml	2012-01-10 10:49:37 +0000
@@ -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".

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to