diff --git a/addons/crm/crm_claim.py b/addons/crm/crm_claim.py
index d9296c41352..ac628a4bd82 100644
--- a/addons/crm/crm_claim.py
+++ b/addons/crm/crm_claim.py
@@ -46,11 +46,10 @@ class crm_claim(osv.osv):
'partner_mobile': fields.char('Mobile', size=32),
'partner_phone': fields.char('Phone', size=32),
'stage_id': fields.many2one ('crm.case.stage', 'Stage', domain="[('section_id','=',section_id),('object_id.model', '=', 'crm.claim')]"),
- 'probability': fields.float('Probability (%)'),
}
_defaults = {
- 'priority': lambda *a: crm.AVAILABLE_PRIORITIES[2][0],
+ 'priority': lambda *a: crm.AVAILABLE_PRIORITIES[2][0],
}
crm_claim()
diff --git a/addons/crm/crm_claims_view.xml b/addons/crm/crm_claims_view.xml
index 02407e4f207..c9b7ac5a825 100644
--- a/addons/crm/crm_claims_view.xml
+++ b/addons/crm/crm_claims_view.xml
@@ -36,9 +36,8 @@
-
+
-
@@ -68,11 +67,10 @@
-
+
-
@@ -209,14 +207,18 @@
-
-
+
-
+
+
+
+
+
-
+
diff --git a/addons/crm/crm_fund_view.xml b/addons/crm/crm_fund_view.xml
index 8d552ff3320..64672428080 100644
--- a/addons/crm/crm_fund_view.xml
+++ b/addons/crm/crm_fund_view.xml
@@ -76,7 +76,7 @@
-
+
diff --git a/addons/crm/crm_helpdesk_view.xml b/addons/crm/crm_helpdesk_view.xml
index 9a8bcbe5679..70b14fb4a12 100644
--- a/addons/crm/crm_helpdesk_view.xml
+++ b/addons/crm/crm_helpdesk_view.xml
@@ -41,7 +41,7 @@
-
+
@@ -71,9 +71,7 @@
-
-
@@ -126,10 +124,9 @@
-
+
-
-
+
@@ -163,34 +160,39 @@
search
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/addons/crm/crm_meeting_view.xml b/addons/crm/crm_meeting_view.xml
index 2e07e58f407..40b9f7ecef8 100644
--- a/addons/crm/crm_meeting_view.xml
+++ b/addons/crm/crm_meeting_view.xml
@@ -58,7 +58,7 @@
string="Contact"
on_change="onchange_partner_address_id(partner_address_id, email_from)" />
-
+
diff --git a/addons/crm/crm_opportunity_view.xml b/addons/crm/crm_opportunity_view.xml
index 2b9831aa8bd..80618891a29 100644
--- a/addons/crm/crm_opportunity_view.xml
+++ b/addons/crm/crm_opportunity_view.xml
@@ -63,7 +63,7 @@
-
+
diff --git a/addons/crm/crm_phonecall_view.xml b/addons/crm/crm_phonecall_view.xml
index 9ae2533c85c..aca018fc7d7 100644
--- a/addons/crm/crm_phonecall_view.xml
+++ b/addons/crm/crm_phonecall_view.xml
@@ -45,9 +45,10 @@
-
+
+ name="%(wizard_crm_phonecall_meeting_set)d" type="action" />
@@ -64,9 +65,10 @@
-
+
+ name="%(wizard_crm_phonecall_meeting_set)d" type="action" />
@@ -77,64 +79,60 @@
crm.phonecall
form
-
+
diff --git a/addons/crm_project/crm_bugs_view.xml b/addons/crm_project/crm_bugs_view.xml
index 8eeab9805e0..8f910a4d78e 100644
--- a/addons/crm_project/crm_bugs_view.xml
+++ b/addons/crm_project/crm_bugs_view.xml
@@ -57,7 +57,7 @@
-
+
diff --git a/addons/hr/hr.py b/addons/hr/hr.py
index d3f4da23475..abd9e668a2e 100755
--- a/addons/hr/hr.py
+++ b/addons/hr/hr.py
@@ -74,10 +74,12 @@ class hr_employee(osv.osv):
'gender': fields.selection([('',''),('male','Male'),('female','Female')], 'Gender'),
'marital': fields.many2one('hr.employee.marital.status', 'Marital Status'),
+ 'partner_id' : fields.related('company_id', 'partner_id', type='many2one', relation='res.partner', readonly=True),
+
'address_id': fields.many2one('res.partner.address', 'Working Address'),
'address_home_id': fields.many2one('res.partner.address', 'Home Address'),
'work_phone': fields.related('address_id', 'phone', type='char', string='Work Phone'),
- 'work_email': fields.related('address_id', 'email', type='char', string='Work E-mail'),
+ 'work_email': fields.related('address_id', 'email', type='char', size=240, string='Work E-mail'),
'work_location': fields.char('Office Location', size=32),
'notes': fields.text('Notes'),
diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml
index 773697c62cd..cf5f6dd80e6 100644
--- a/addons/hr/hr_view.xml
+++ b/addons/hr/hr_view.xml
@@ -55,7 +55,8 @@
-
+
+
diff --git a/addons/mrp/mrp.py b/addons/mrp/mrp.py
index 170ee9cec4d..86938ac6f08 100644
--- a/addons/mrp/mrp.py
+++ b/addons/mrp/mrp.py
@@ -783,7 +783,7 @@ class mrp_procurement(osv.osv):
_description = "Procurement"
_order = 'priority,date_planned'
_columns = {
- 'name': fields.char('Name', size=64, required=True, help='Requisition name.'),
+ 'name': fields.char('Reason', size=64, required=True, help='Requisition name.'),
'origin': fields.char('Source Document', size=64,
help="Reference of the document that created this Requisition.\n"
"This is automatically completed by Open ERP."),
diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml
index f29d5a2272b..b79a62719f7 100644
--- a/addons/mrp/mrp_view.xml
+++ b/addons/mrp/mrp_view.xml
@@ -473,7 +473,21 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -540,11 +554,11 @@
-
-
-
+
+
+
-
+
@@ -666,8 +680,8 @@
+ Procurement
+ -->
mrp.procurement.tree
@@ -675,8 +689,8 @@
tree
+
-
@@ -760,10 +774,10 @@
-
-
-
-
+
+
+
+
diff --git a/addons/mrp/mrp_wizard.xml b/addons/mrp/mrp_wizard.xml
index 935c556a93c..0bb41f1355c 100644
--- a/addons/mrp/mrp_wizard.xml
+++ b/addons/mrp/mrp_wizard.xml
@@ -4,7 +4,6 @@
-
@@ -25,19 +24,19 @@
-
+
-
+
diff --git a/addons/mrp/wizard/wizard_orderpoint_procurement.py b/addons/mrp/wizard/wizard_orderpoint_procurement.py
index 00fb232d5f5..a4fa57bb9a8 100644
--- a/addons/mrp/wizard/wizard_orderpoint_procurement.py
+++ b/addons/mrp/wizard/wizard_orderpoint_procurement.py
@@ -58,7 +58,7 @@ class procurement_compute(wizard.interface):
states = {
'init': {
'actions': [],
- 'result': {'type': 'form', 'arch':parameter_form, 'fields': parameter_fields, 'state':[('end','Cancel'),('compute','Compute Requisitions')]}
+ 'result': {'type': 'form', 'arch':parameter_form, 'fields': parameter_fields, 'state':[('end','Cancel'),('compute','Compute Stock')]}
},
'compute': {
'actions': [_procure_calculation],
diff --git a/addons/mrp/wizard/wizard_schedulers_all.py b/addons/mrp/wizard/wizard_schedulers_all.py
index 54a96383f79..e93e31c0599 100644
--- a/addons/mrp/wizard/wizard_schedulers_all.py
+++ b/addons/mrp/wizard/wizard_schedulers_all.py
@@ -51,7 +51,7 @@ class procurement_compute(wizard.interface):
states = {
'init': {
'actions': [],
- 'result': {'type': 'form', 'arch':parameter_form, 'fields': parameter_fields, 'state':[('end','Cancel'),('compute','Compute Requisitions') ]}
+ 'result': {'type': 'form', 'arch':parameter_form, 'fields': parameter_fields, 'state':[('end','Cancel'),('compute','Compute Stock') ]}
},
'compute': {
'actions': [_procure_calculation],
diff --git a/addons/sale/sale.py b/addons/sale/sale.py
index 1a8f934a2e5..056ef50fd66 100644
--- a/addons/sale/sale.py
+++ b/addons/sale/sale.py
@@ -195,8 +195,8 @@ class sale_order(osv.osv):
('invoice_except', 'Invoice Exception'),
('done', 'Done'),
('cancel', 'Cancelled')
- ], 'Order State', readonly=True, help="Gives the state of the quotation or sale order. The exception state is automatically set when a cancel operation occurs in the invoice validation (Invoice Exception) or in the picking list process (Shipping Exception). The 'Waiting Schedule' state is set when the invoice is confirmed but waiting for the scheduler to run on the date 'Date Ordered'.", select=True),
- 'date_order': fields.date('Date Ordered', required=True, readonly=True, states={'draft': [('readonly', False)]}),
+ ], 'Order State', readonly=True, help="Gives the state of the quotation or sale order. The exception state is automatically set when a cancel operation occurs in the invoice validation (Invoice Exception) or in the picking list process (Shipping Exception). The 'Waiting Schedule' state is set when the invoice is confirmed but waiting for the scheduler to run on the date 'Ordered Date'.", select=True),
+ 'date_order': fields.date('Ordered Date', required=True, readonly=True, states={'draft': [('readonly', False)]}),
'user_id': fields.many2one('res.users', 'Salesman', states={'draft': [('readonly', False)]}, select=True),
'partner_id': fields.many2one('res.partner', 'Customer', readonly=True, states={'draft': [('readonly', False)]}, required=True, change_default=True, select=True),