diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml
index 8c3742d7f8d..2034583ed02 100644
--- a/addons/account/account_invoice_view.xml
+++ b/addons/account/account_invoice_view.xml
@@ -327,14 +327,14 @@
-
+
-
-
-
-
-
+
+
+
+
+
@@ -349,18 +349,6 @@
{'type':'out_invoice'}
-
-
- Panding Invoice
- account.invoice
- form
- tree,form,calendar,graph
-
- {'type':'out_invoice'}
- [('state','=','draft')]
-
-
-
tree
@@ -372,7 +360,7 @@
-
+
Customer Invoices
diff --git a/addons/delivery/delivery_view.xml b/addons/delivery/delivery_view.xml
index 60d0603356e..5a8047b4d9b 100644
--- a/addons/delivery/delivery_view.xml
+++ b/addons/delivery/delivery_view.xml
@@ -169,18 +169,5 @@
-
- Generate Draft Invoices On Receptions
- stock.picking
- ir.actions.act_window
- form
- tree,form
- [('invoice_state','=','2binvoiced'),('state','=','done'),('type','=','in')]
-
- {'contact_display': 'partner'}
-
-
-
-
diff --git a/addons/document_change/document_change.py b/addons/document_change/document_change.py
index 7d6c614482c..c6dc9989135 100644
--- a/addons/document_change/document_change.py
+++ b/addons/document_change/document_change.py
@@ -258,18 +258,15 @@ class document_change_process(osv.osv):
for phase_type_id in process.process_model_id.phase_type_ids:
new_doc_ids = []
for document_type_id in phase_type_id.document_type_ids:
- print 'Creating', phase_type_id.name, document_type_id.name
document_ids = document_obj.search(cr, uid, [
('parent_id','in',directory_ids),
('change_type_id','=',document_type_id.id)
])
for document_id in document_ids:
- print 'Found Some...'
vals = {}
new_doc_ids.append(document_obj.copy(cr, uid, document_id, vals))
if not document_ids:
if document_type_id.template_document_id:
- print 'Copy'
new_doc_ids.append(document_obj.copy(cr, uid, document_type_id.template_document_id.id, {
'name': document_type_id.template_document_id.name,
'datas_fname': document_type_id.template_document_id.datas_fname,
@@ -277,7 +274,6 @@ class document_change_process(osv.osv):
'change_type_id': document_type_id.id
}))
else:
- print 'Create'
new_doc_ids.append(document_obj.create(cr, uid, {
'name': document_type_id.filename,
'datas_fname': document_type_id.filename,
@@ -363,9 +359,10 @@ class document_file(osv.osv):
'state': 'in_production'
},
context=context)
+ file('/tmp/debug.png','wb+').write(base64.decodestring(attach.target))
self.write(cr, uid, [attach.id], {
- 'target': False,
- 'datas': base64.encodestring(attach.target),
+ #'target': False,
+ 'datas': attach.target,
'state': 'in_production'
})
return True
diff --git a/addons/document_change/document_change_report.py b/addons/document_change/document_change_report.py
index 20c5a5993ba..949f2685321 100644
--- a/addons/document_change/document_change_report.py
+++ b/addons/document_change/document_change_report.py
@@ -28,7 +28,6 @@ class document_change_report(osv.osv):
def _amount_all(self, cr, uid, ids, field_name, arg, context):
res = {}
for id in ids:
- print context
dir, type = id.split(' ')
att = self.pool.get('ir.attachment')
fids = att.search(cr, uid, [('parent_id','child_of',[int(dir)]),('change_type_id','=',int(type))], context=context)
diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml
index 6a3d7af6423..f8a388cc561 100644
--- a/addons/sale/sale_view.xml
+++ b/addons/sale/sale_view.xml
@@ -411,17 +411,6 @@
-
- Sales Order Lines
- ir.actions.act_window
- sale.order.line
- form
-
-
-
-
-
Uninvoiced Lines
ir.actions.act_window
@@ -466,7 +455,7 @@
Set the policies selected by default when creating a new
sale order."/>
+ string="Configure Sale Order Logistic"/>
diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml
index 9d0c9016e05..66c7af2aa59 100644
--- a/addons/stock/stock_view.xml
+++ b/addons/stock/stock_view.xml
@@ -817,19 +817,7 @@
calendar
-
-
- Calendar of Deliveries
- stock.picking
- ir.actions.act_window
- form
- calendar,tree,form
- [('state','=','assigned'),('type','=','delivery')]
- {'contact_display': 'partner'}
-
-
-
#
# Sending Products