Openerp “如何隐藏”;“自动对账”;Odoo10中Qweb的按钮?

Openerp “如何隐藏”;“自动对账”;Odoo10中Qweb的按钮?,openerp,qwebview,odoo-10,qweb,odoo-view,Openerp,Qwebview,Odoo 10,Qweb,Odoo View,转到会计=>会计仪表板=>单击对账按钮 下面是Qweb视图 在Qweb视图中,我们如何隐藏“自动对账”按钮 我尝试了以下操作,但没有成功: <templates xml:space="preserve"> <!-- 1st try --> <t t-name="automatic_reconciliation_1st" t-extend="reconciliation"> <t t-jquery=".btn" t-o

转到会计=>会计仪表板=>单击对账按钮

下面是Qweb视图

在Qweb视图中,我们如何隐藏“自动对账”按钮

我尝试了以下操作,但没有成功:

<templates xml:space="preserve">

    <!-- 1st try -->
    <t t-name="automatic_reconciliation_1st" t-extend="reconciliation">
        <t t-jquery=".btn" t-operation="replace"></t>
    </t>

    <!-- 2nd try -->
    <t t-name="automatic_reconciliation_2nd" t-extend="reconciliation">
        <t t-jquery=".js_automatic_reconciliation" t-operation="replace"></t>
    </t>

    <!-- 3rd try -->
    <t t-name="automatic_reconciliation_3rd" t-extend="reconciliation">
        <t t-jquery=".oe_form_sheet oe_form_sheet_width o_form_sheet" t-operation="replace">
            <div class="oe_form_sheet oe_form_sheet_width o_form_sheet">
                <h1><t t-esc="title"/></h1>
                <div t-if="! hide_progress" class="progress progress-striped">
                    <div class="progress-text"><span class="valuenow">0</span> / <span class="valuemax"><t t-esc="total_lines"/></span></div>
                    <div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" t-att-aria-valuemax="total_lines" style="width: 0%;">
                    </div>
                </div>
                <div class="oe_clear o_clear"></div>
                <div class="notification_area"></div>
                <div class="interface_options oe_form o_form"></div>
                <div class="reconciliation_lines_container"></div>
                <div class="show_more_container"><button class="show_more btn btn-default btn-sm">Show more... (<span class="num_items_remaining"></span> remaining)</button></div>
                <p class="o_protip text-muted" align="right">Tip: Hit CTRL-Enter to reconcile all the balanced items in the sheet.</p>
            </div>
        </t>
    </t>

</templates>

0 / 
显示更多。。。(剩余)

提示:点击CTRL-Enter键以协调工作表中的所有平衡项

试试这个

<t t-name="account.reconciliation">
    <div class="o_form_view"><div class="oe_form_sheetbg o_form_sheet_bg"><div class="oe_form_sheet oe_form_sheet_width o_form_sheet">
        <h1><t t-esc="title"/></h1>
        <div t-if="! hide_progress" class="progress progress-striped">
            <div class="progress-text"><span class="valuenow">0</span> / <span class="valuemax"><t t-esc="total_lines"/></span></div>
            <div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" t-att-aria-valuemax="total_lines" style="width: 0%;">
            </div>
        </div>
        <div class="oe_clear clearer"></div>
        <div class="notification_area"></div>
        <div class="interface_options oe_form o_form"></div>
        <div class="reconciliation_lines_container"></div>
        <div class="show_more_container"><button class="show_more btn btn-default btn-sm">Show more... (<span class="num_items_remaining"></span> remaining)</button></div>
        <p class="o_protip text-muted" align="right">Tip: Hit CTRL-Enter to reconcile all the balanced items in the sheet.</p>
    </div></div></div>
</t>
试试这个

<t t-name="account.reconciliation">
    <div class="o_form_view"><div class="oe_form_sheetbg o_form_sheet_bg"><div class="oe_form_sheet oe_form_sheet_width o_form_sheet">
        <h1><t t-esc="title"/></h1>
        <div t-if="! hide_progress" class="progress progress-striped">
            <div class="progress-text"><span class="valuenow">0</span> / <span class="valuemax"><t t-esc="total_lines"/></span></div>
            <div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" t-att-aria-valuemax="total_lines" style="width: 0%;">
            </div>
        </div>
        <div class="oe_clear clearer"></div>
        <div class="notification_area"></div>
        <div class="interface_options oe_form o_form"></div>
        <div class="reconciliation_lines_container"></div>
        <div class="show_more_container"><button class="show_more btn btn-default btn-sm">Show more... (<span class="num_items_remaining"></span> remaining)</button></div>
        <p class="o_protip text-muted" align="right">Tip: Hit CTRL-Enter to reconcile all the balanced items in the sheet.</p>
    </div></div></div>
</t>

谢谢你的回答。我试过你的答案,但输出仍然是一样的。您有其他解决方案吗?.js_自动_对账{display:none;}谢谢您的回答。我试过你的答案,但输出仍然是一样的。您有其他解决方案吗?.js_自动_对账{display:none;}