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

good afternoon to all, what is the view that has to be inherited to add a field in the detail of the invoice, model: account_invoice_line.

I am currently inheriting:

<field name = "model"> account.invoice </field>


<field name = "inherit_id" ref = "account.invoice_form" />

but the change is not reflected.

odoo12: release

 <record model="ir.ui.view" id="e.view_account_invoice_mobile">

            <field name="name">Cambios en al vista de mobile de Invoice</field>

            <field name="model">account.invoice</field>

            <field name="inherit_id" ref="account.invoice_form"/>

            <field name="arch" type="xml">

               <xpath expr="//kanban[@class='o_kanban_mobile']" position="replace">

            <kanban class="o_kanban_mobile">

    --code

</kanban>

</xpath>

       </field>

        </record>

아바타
취소

See inheritance in model and views: https://goo.gl/4Zyc9d

작성자

Something strange happens to me, I edit the view manually to verify if it is the correct view, and no changes are reflected either. Everything indicates that it is not the view that adds an item to the detail of the facura (in mobile mode)