콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

I have this in xml:

    record id="inokap_product_template_search_view" model="ir.ui.view"
        field name="name"> product.template.search /field
        field name="model"> product.template /field
        field name="inherit_id" ref="product.product_template_search_view"/
        field name="priority" eval="16"/
        field name="arch" type="xml"
            search
                group expand="1" string="Group By"
                    filter string="Article spécial" name="group_product_type" domain="[]" context="{'group_by': 'product_type', 'search_default_group_product_type': True}"/
                    filter name="cam" string="CAM" domain="[('product_type', '=', 'camera')]" context="{'product_type': 'camera', 'search_default_product_type_camera': 1}"/
                /group
            /search
        /field
    /record

I already add search_default_ but it doesn't work, or even I try with this:

'search_default_group_product_type': 0

I also already tried to add for the action like this:

    record id="action_product_template_tree" model="ir.actions.act_window"
        field name="name" Product Template Tree /field
        field name="res_model" product.template /field
        field name="view_mode" tree,form /field
        field name="view_id" ref="product.product_template_tree_view"/
        field name="context" {'search_default_group_product_type': True} /field>
    /record



아바타
취소
관련 게시물 답글 화면 활동
1
6월 22
4015
1
12월 19
4698
0
1월 18
4899
0
5월 16
5354
1
7월 25
815