[IMP] purchase, sale, sale_layout: usability improvements

bzr revid: qdp-launchpad@tinyerp.com-20101220094717-qjkkm53m79u2hdzk
This commit is contained in:
qdp-launchpad@tinyerp.com 2010-12-20 10:47:17 +01:00
parent 1970e5fbca
commit 989de6d98a
3 changed files with 2 additions and 3 deletions

View File

@ -162,7 +162,7 @@
<group colspan="2" col="2">
<separator string="Invoice Control" colspan="2"/>
<field name="invoice_method"/>
<field name="invoice_id" groups="base.group_extended" context="{'journal_type':'purchase', 'type':'in_invoice'}"/>
<field name="invoice_id" groups="base.group_extended" readonly="1" context="{'journal_type':'purchase', 'type':'in_invoice'}"/>
<field name="fiscal_position" widget="selection"/>
</group>
<newline/>

View File

@ -724,7 +724,6 @@ class sale_order(osv.osv):
})
proc_ids.append(proc_id)
self.pool.get('sale.order.line').write(cr, uid, [line.id], {'procurement_id': proc_id})
if order.state == 'shipping_except':
for pick in order.picking_ids:
for move in pick.move_lines:

View File

@ -27,7 +27,7 @@
This module provides features to improve the layout of the Sales Order.
It gives you the possibility to
* order all the lines of an sales order
* order all the lines of a sales order
* add titles, comment lines, sub total lines
* draw horizontal lines and put page breaks