最小包装
- 
找到了: 
 product.py 128行 :
 
 amount = rounding(amount * to_unit.factor, to_unit.rounding) 四舍五入了。
 对于Minimum Package的情况,改成这样就行了:
 amount = amount // (1.0 / to_unit.factor) + 1
 先在前面这样做:
 设置采购单位是盘, 1盘=2000 片(片是Default UoM)by set Rate = 0.0005, note : rate is stored in table as factor.
 再把Rounding Precission 设成1.0
 
 感谢 Shelly 和 wjfonhand。 要不是你们的帮忙,OpenERP也许在我们公司就夭折了,要是那样,我可怎么混啊。

