[IMP] auction: View improvements. Wizard improved.
bzr revid: uco@tinyerp.com-20100921121857-000n5w01kep9spym
This commit is contained in:
parent
91e5b3a058
commit
3b0db681ab
|
@ -15,7 +15,8 @@
|
|||
<label string="(Keep empty for automatic number)" colspan="2"/>
|
||||
</group>
|
||||
<separator string="" colspan="4"/>
|
||||
<group colspan="4" col="6">
|
||||
<group colspan="2" col="2"/>
|
||||
<group colspan="2" col="2">
|
||||
<button icon="gtk-close" special="cancel" string="Close"/>
|
||||
<button icon="gtk-yes" string="Create invoices" name="makeInvoices" type="object"/>
|
||||
</group>
|
||||
|
|
|
@ -30,7 +30,8 @@
|
|||
<field name="statement_id3" domain="[('state','=','draft')]"/>
|
||||
</group>
|
||||
<separator string="" colspan="4" />
|
||||
<group colspan="4" col="6">
|
||||
<group colspan="2" col="2"/>
|
||||
<group colspan="2" col="2">
|
||||
<button icon="gtk-close" special="cancel" string="Close"/>
|
||||
<button icon="gtk-yes" string="Pay" name="pay_and_reconcile" type="object"/>
|
||||
</group>
|
||||
|
|
|
@ -53,7 +53,7 @@ class auction_taken(osv.osv_memory):
|
|||
lot_obj = self.pool.get('auction.lots')
|
||||
for current in self.browse(cr, uid, ids, context):
|
||||
for lot in current.lot_ids:
|
||||
lot_obj.write(cr, uid, lot.id, {'state':'taken_away'})
|
||||
lot_obj.write(cr, uid, lot.id, {'state':'taken_away', 'ach_emp': True})
|
||||
return {'lot_ids': []}
|
||||
|
||||
auction_taken()
|
||||
|
|
Loading…
Reference in New Issue