diff --git a/addons/account/project/project.py b/addons/account/project/project.py index b4cc3468e5f..0f33c79944d 100644 --- a/addons/account/project/project.py +++ b/addons/account/project/project.py @@ -166,7 +166,9 @@ class account_analytic_account(osv.osv): 'type' : lambda *a : 'normal', 'company_id': _default_company, 'state' : lambda *a : 'draft', - 'user_id' : lambda self,cr,uid,ctx : uid + 'user_id' : lambda self,cr,uid,ctx : uid, + 'partner_id': lambda self,cr, uid, ctx: ctx.get('partner_id', False), + 'contact_id': lambda self,cr, uid, ctx: ctx.get('contact_id', False), } def check_recursion(self, cr, uid, ids, parent=None): diff --git a/addons/account/project/project_view.xml b/addons/account/project/project_view.xml index 74ce6a354e9..cb71e1c1091 100644 --- a/addons/account/project/project_view.xml +++ b/addons/account/project/project_view.xml @@ -60,7 +60,8 @@ - + + diff --git a/addons/account_date_check/account_date_check_view.xml b/addons/account_date_check/account_date_check_view.xml index e411cbd53aa..b82fbba2490 100644 --- a/addons/account_date_check/account_date_check_view.xml +++ b/addons/account_date_check/account_date_check_view.xml @@ -2,17 +2,17 @@ - - account.journal.form.inherit2 - account.journal - form - - - - - - - + + account.journal.form.inherit2 + account.journal + form + + + + + + + diff --git a/addons/account_followup/followup_view.xml b/addons/account_followup/followup_view.xml index 81298dbf24d..789282c9362 100644 --- a/addons/account_followup/followup_view.xml +++ b/addons/account_followup/followup_view.xml @@ -72,8 +72,8 @@ - + diff --git a/addons/account_tax_include/invoice_tax_incl.xml b/addons/account_tax_include/invoice_tax_incl.xml index d3762f0bb94..87e1dba37e0 100644 --- a/addons/account_tax_include/invoice_tax_incl.xml +++ b/addons/account_tax_include/invoice_tax_incl.xml @@ -9,8 +9,8 @@ - + diff --git a/addons/analytic_journal_billing_rate/analytic_journal_billing_rate_view.xml b/addons/analytic_journal_billing_rate/analytic_journal_billing_rate_view.xml index 626710597d2..0927251dfcb 100644 --- a/addons/analytic_journal_billing_rate/analytic_journal_billing_rate_view.xml +++ b/addons/analytic_journal_billing_rate/analytic_journal_billing_rate_view.xml @@ -1,83 +1,83 @@ - + - - - analytic_journal_rate_grid.tree - analytic_journal_rate_grid - tree - - - - - - - + + + analytic_journal_rate_grid.tree + analytic_journal_rate_grid + tree + + + + + + + - - analytic_journal_rate_grid.form - analytic_journal_rate_grid - form - -
- - - - -
+ + analytic_journal_rate_grid.form + analytic_journal_rate_grid + form + +
+ + + + +
- - - account.analytic.account.form - account.analytic.account - form - - - - - - - - + + + account.analytic.account.form + account.analytic.account + form + + + + + + + + - - - hr.timesheet.sheet.form - hr_timesheet_sheet.sheet - form - - - - - - - + + + hr.timesheet.sheet.form + hr_timesheet_sheet.sheet + form + + + + + + + - - - hr.analytic.timesheet.form - hr.analytic.timesheet - form - - - - - - - + + + hr.analytic.timesheet.form + hr.analytic.timesheet + form + + + + + + + - - hr.analytic.timesheet.form - hr.analytic.timesheet - form - - - - - - - + + hr.analytic.timesheet.form + hr.analytic.timesheet + form + + + + + + + -
+
diff --git a/addons/analytic_user_function/analytic_user_function_view.xml b/addons/analytic_user_function/analytic_user_function_view.xml index 340d255f182..1f7f0c07b10 100644 --- a/addons/analytic_user_function/analytic_user_function_view.xml +++ b/addons/analytic_user_function/analytic_user_function_view.xml @@ -1,109 +1,109 @@ - + - - - analytic_user_funct_grid.tree - analytic_user_funct_grid - tree - - - - - - - + + + analytic_user_funct_grid.tree + analytic_user_funct_grid + tree + + + + + + + - - analytic_user_funct_grid.form - analytic_user_funct_grid - form - -
- - - - -
+ + analytic_user_funct_grid.form + analytic_user_funct_grid + form + +
+ + + + +
- - - account.analytic.account.form - account.analytic.account - form - - - - - - - - - + + + account.analytic.account.form + account.analytic.account + form + + + + + + + + + - - - hr.timesheet.sheet.form - hr_timesheet_sheet.sheet - form - - - - - - - - + + + hr.timesheet.sheet.form + hr_timesheet_sheet.sheet + form + + + + + + + + - - - hr.analytic.timesheet.form - hr.analytic.timesheet - form - - - - - - - + + + hr.analytic.timesheet.form + hr.analytic.timesheet + form + + + + + + + - - hr.analytic.timesheet.form - hr.analytic.timesheet - form - - - - - - - + + hr.analytic.timesheet.form + hr.analytic.timesheet + form + + + + + + + - - hr.analytic.timesheet.tree - hr.analytic.timesheet - tree - - - - - - - + + hr.analytic.timesheet.tree + hr.analytic.timesheet + tree + + + + + + + - - hr.analytic.timesheet.tree - hr.analytic.timesheet - tree - - - - - - - + + hr.analytic.timesheet.tree + hr.analytic.timesheet + tree + + + + + + + -
+
diff --git a/addons/base_vat/base_vat_data.xml b/addons/base_vat/base_vat_data.xml index d0f1de72732..9d900c4adaf 100644 --- a/addons/base_vat/base_vat_data.xml +++ b/addons/base_vat/base_vat_data.xml @@ -8,11 +8,11 @@ - + diff --git a/addons/delivery/delivery_view.xml b/addons/delivery/delivery_view.xml index a29fdde7ac8..52bf075ad65 100644 --- a/addons/delivery/delivery_view.xml +++ b/addons/delivery/delivery_view.xml @@ -137,8 +137,8 @@ - + @@ -150,8 +150,8 @@ - + @@ -161,7 +161,7 @@ stock.picking ir.actions.act_window form - tree,form + tree,form [('invoice_state','=','2binvoiced'),('state','=','done'),('type','=','out')] diff --git a/addons/hr_attendance/hr_attendance_view.xml b/addons/hr_attendance/hr_attendance_view.xml index fe2b1e6f0dc..cf32eaef485 100644 --- a/addons/hr_attendance/hr_attendance_view.xml +++ b/addons/hr_attendance/hr_attendance_view.xml @@ -1,8 +1,8 @@ - - + + hr.attendance.form hr.attendance form @@ -91,12 +91,12 @@ - -