[FIX] account_voucher : clean comment
bzr revid: tfr@openerp.com-20101027084857-hd7sxyw27t2khkn8
This commit is contained in:
@@ -147,13 +147,10 @@ class purchase_line_invoice(osv.osv_memory):
|
||||
|
||||
res = []
|
||||
for result in invoices.values():
|
||||
#order = result[0][0].order_id
|
||||
il = map(lambda x: x[1], result)
|
||||
orders = list(set(map(lambda x : x[0].order_id, result)))
|
||||
|
||||
res.append(make_invoice_by_partner(orders[0].partner_id, orders, il))
|
||||
#debug
|
||||
print res
|
||||
|
||||
return {
|
||||
'domain': "[('id','in', ["+','.join(map(str,res))+"])]",
|
||||
|
||||
@@ -157,7 +157,6 @@ class stock_partial_move(osv.osv_memory):
|
||||
|
||||
move_ids = context.get('active_ids', False)
|
||||
partial = self.browse(cr, uid, ids[0], context)
|
||||
#print partial.date
|
||||
partial_datas = {
|
||||
'delivery_date' : partial.date
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<field name="product_id" readonly="1" />
|
||||
<field name="quantity" ></field>
|
||||
<field name="product_uom"></field>
|
||||
<field name="prodlot_id" domain="[('product_id', '=', product_id)]" ></field>
|
||||
<field name="prodlot_id" domain="[('product_id', '=', product_id)]" groups="base.group_extended" ></field>
|
||||
<field name="cost"></field>
|
||||
<field name="currency" ></field>
|
||||
</tree>
|
||||
@@ -37,7 +37,7 @@
|
||||
<field name="product_id" readonly="1" />
|
||||
<field name="quantity" ></field>
|
||||
<field name="product_uom"></field>
|
||||
<field name="prodlot_id" domain="[('product_id', '=', product_id)]"></field>
|
||||
<field name="prodlot_id" domain="[('product_id', '=', product_id)]" groups="base.group_extended" ></field>
|
||||
<field name="cost"></field>
|
||||
<field name="currency"></field>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user