osbzr/gooderp_addons

View on GitHub
top_tree_widget/static/src/xml/widget.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>

<templates id="template" xml:space="preserve">
    <img t-name="ListView.row.image"
         t-att-height="widget.height || 16"
         t-att-src="src" />


    <span t-name="ListView.row.bgcolor" t-att-class="'label label-'+widget.bgcolor" >
        <t t-esc="value"/>
    </span>

    <t t-extend="ListView">
        <t t-jquery=".o_list_record_delete" t-operation="inner">
            <span name="delete_select" class="fa fa-trash-o"/>
        </t>
    </t>

    <!--<t t-extend="ListView">-->
        <!--<t t-jquery=".o_list_view" t-operation="before">-->
            <!--<ul class="nav nav-tabs" role="tablist">-->
                <!--<li>-->
                    <!--<a role="presentation" aria-expanded="false" href="#notebook_page_36" data-toggle="tab" disable_anchor="true">-->
                        <!--全部<span class="badge">42</span>-->
                    <!--</a>-->
                <!--</li><li class="active">-->
                    <!--<a role="presentation" aria-expanded="true" href="#notebook_page_37" data-toggle="tab" disable_anchor="true">-->
                        <!--待审核<span class="badge">41</span>-->
                    <!--</a>-->
                <!--</li><li>-->
                    <!--<a role="presentation" href="#notebook_page_38" data-toggle="tab" disable_anchor="true">-->
                        <!--已审核<span class="badge">1</span>-->
                    <!--</a>-->
                <!--</li>-->
            <!--</ul>-->
        <!--</t>-->
    <!--</t>-->

</templates>