diff --git a/addons/account_payment/payment.py b/addons/account_payment/payment.py index 7b110f8635a..23b0b40140e 100644 --- a/addons/account_payment/payment.py +++ b/addons/account_payment/payment.py @@ -438,7 +438,7 @@ class payment_line(osv.osv): if move_line_id: line = self.pool.get('account.move.line').browse(cr,uid,move_line_id) data['amount_currency']=line.amount_to_pay - res = self.onchange_amount(cr, uid, ids, data['amount_currency'], currency, company_currency, + #res = self.onchange_amount(cr, uid, ids, data['amount_currency'], currency, company_currency, if res: data['amount'] = res['value']['amount'] data['partner_id']=line.partner_id.id diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml index a5d0c6f0500..2718dbefd7d 100644 --- a/addons/mrp/mrp_view.xml +++ b/addons/mrp/mrp_view.xml @@ -677,7 +677,7 @@ form - + Draft procurements @@ -706,7 +706,7 @@ tree,form [('state','=','exception')] - + Exceptions procurements to fix @@ -735,7 +735,7 @@ form form,tree - + diff --git a/addons/sale/sale.py b/addons/sale/sale.py index 7de48d9370c..b427a0588cb 100644 --- a/addons/sale/sale.py +++ b/addons/sale/sale.py @@ -214,7 +214,7 @@ class sale_order(osv.osv): 'partner_shipping_id':fields.many2one('res.partner.address', 'Shipping Address', readonly=True, required=True, states={'draft':[('readonly',False)]}), 'incoterm': fields.selection(_incoterm_get, 'Incoterm',size=3), - 'picking_policy': fields.selection([('direct','Partial Delivery'),('one','Complete Delivery')], 'Packing Policy', required=True ), + 'picking_policy': fields.selection([('direct','Partial Delivery'),('one','Complete Delivery')], 'Packing Policy', required=True), 'order_policy': fields.selection([ ('prepaid','Payment before delivery'), ('manual','Shipping & Manual Invoice'), @@ -241,7 +241,7 @@ class sale_order(osv.osv): 'amount_untaxed': fields.function(_amount_untaxed, method=True, string='Untaxed Amount'), 'amount_tax': fields.function(_amount_tax, method=True, string='Taxes'), 'amount_total': fields.function(_amount_total, method=True, string='Total'), - 'invoice_quantity': fields.selection([('order','Ordered Quantities'),('procurement','Shipped Quantities')], 'Invoice on', help="The sale order will automatically create the invoice proposition (draft invoice). Ordered and delivered quantities may not be the same. You have to choose if you invoice based on ordered or shipped quantities. If the product is a service, shipped quantities means hours spent on the associated tasks."), + 'invoice_quantity': fields.selection([('order','Ordered Quantities'),('procurement','Shipped Quantities')], 'Invoice on', help="The sale order will automatically create the invoice proposition (draft invoice). Ordered and delivered quantities may not be the same. You have to choose if you invoice based on ordered or shipped quantities. If the product is a service, shipped quantities means hours spent on the associated tasks.",required=True), 'payment_term' : fields.many2one('account.payment.term', 'Payment Term'), } _defaults = { diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml index 13523bb86ed..d4b6f973de8 100644 --- a/addons/sale/sale_view.xml +++ b/addons/sale/sale_view.xml @@ -101,7 +101,6 @@ - diff --git a/addons/sale_journal/sale_journal_view.xml b/addons/sale_journal/sale_journal_view.xml index be96302c583..7647a7b2bfb 100644 --- a/addons/sale_journal/sale_journal_view.xml +++ b/addons/sale_journal/sale_journal_view.xml @@ -1,283 +1,295 @@ - - sale_journal.invoice.type.form - sale_journal.invoice.type - form - -
- - - - - - - -
- - sale_journal.invoice.type.tree - sale_journal.invoice.type - tree - - - - - - - - - sale_journal.invoice.type - form - tree,form - - - + + sale_journal.invoice.type.form + sale_journal.invoice.type + form + +
+ + + + + + + +
+ + sale_journal.invoice.type.tree + sale_journal.invoice.type + tree + + + + + + + + + sale_journal.invoice.type + form + tree,form + + + - - sale_journal.sale.journal.form - sale_journal.sale.journal - form - -
- - - - - - - - - - - - -