Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
9601 มุมมอง

I want to Purchase module is before sales module how can i change, this changes was not in a database, only inherit code how can i do it.

Thanks Sridharan G

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

You need to overwrite the sequence value of this record with a smaller value than 20 (sales menu sequence) by installing a module having the following XML file.

<openerp>
    <data>
        <menuitem id="base.menu_purchase_root" sequence="19"/>
    </data>
</openerp>

Hope this will help you..%

อวตาร
ละทิ้ง

@Taji, please where did you find the sale sequence ?, I don't found it on sale_view.xml

(I have updated the answer)

You can find it under base/res/res_partner_view.xml

คำตอบที่ดีที่สุด

Go to Settings --> Technical --> User Interface --> Menu Items : Purchases and set Sequence to 10.

อวตาร
ละทิ้ง