首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >库存定量lot_id中的Odoo列排序错误,单击列名

库存定量lot_id中的Odoo列排序错误,单击列名
EN

Stack Overflow用户
提问于 2016-05-26 23:14:36
回答 1查看 330关注 0票数 1

我有一列似乎排序不正确。我不能通过单击列名来按序列号排序。它看起来是随机排序的。谈到其他列,比如quantity、product_creation_date或product,我可以通过单击quantity或product_creation_date列来对desc/asc进行排序。

我找不到哪里不对劲..

代码语言:javascript
复制
<record model="ir.ui.view" id="view_stock_quant_splius_tree">
    <field name="name">stock.quant.splius.tree</field>
    <field name="model">stock.quant</field>
    <field eval="1" name="priority"/>
    <field name="arch" type="xml">
        <tree string="Quants" create="0" delete="0">
            <field name="location_id"/>
            <field name="product_id"/>
            <field name="qty"/>
            <field name="product_uom_id" string="Uom"/>
            <field name="lot_id"/>
            <field name="in_date"/>
        </tree>
    </field>
</record>

sorting by clicking on column names

EN

回答 1

Stack Overflow用户

发布于 2016-05-27 14:05:00

据我所知,您不能对关系字段(o2m、m2o、m2m)进行排序。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/37464844

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档