实际上,我试图在采摘的线条中显示颜色,只是在采摘时才显示颜色,但我无法区分状态,也不知道区分它的字段是哪个
<xpath expr="//field[@name='move_ids_without_package']/tree" position="attributes">
<attribute name="decoration-success">picking_code == 'internal' and quantity_done >= product_uom_qty</attribute>
</xpath>但是picking_code 'internal‘是针对打包和分拣两种状态的,我如何区分分拣、打包和分拣?
发布于 2021-09-29 16:28:20
使用store=True添加新的字符字段,并与picking_id.picking_type_id.sequence_code相关
sequence_code将帮助我们识别挑选和打包类型的库存文件。
将代码中的字段从picking_code更改为新字段。
JFI,picking_code将在内部进行拣选和装箱操作。因此,该字段不会对您有所帮助。
https://stackoverflow.com/questions/69370072
复制相似问题