Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
2795 Lượt xem

I have replaced the sale view with my own using this method:

<record id="sale.view_order_form" model="ir.ui.view">
    <field name="name">acu.sale.order.form</field>
    <field name="model">sale.order</field>
    <field name="priority" eval="100"/>
    <field name="arch" type="xml">
        form...
    </field>
</record>

I kept all the original fields in order for other xpaths to work, and kept them in a very similar structure. However i have now noticed once this view is installed i can't update the sale, sale_crm or sale_purchase (probably any others which require sale).
update log:  pastebin.com/YHxsa3HY

The only solution I have found is to add a dependency of my module to e.g. sale_purchase, which is less than convenient.

Ảnh đại diện
Huỷ bỏ

Why don't you try to make changes inside the sale form using the Xpath ?

Tác giả

Quite a lot of view changes

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 9 22
4313
6
thg 5 19
6447
1
thg 12 16
7930
3
thg 5 23
4596
2
thg 12 22
2967