I would like to bring the "Create a bill" button back on a PO just like older version. This bill should be connected to the PO and all other logic should seamlessly flow like in older versions. I should not have to upload the bill everytime since I dont always have a physical bill.
คำถามนี้ถูกตั้งค่าสถานะ
1
ตอบกลับ
643
มุมมอง
Adding this xml code in the PO form view (purchase.order.form) does the magic:
<button name="action_create_invoice" string="Create Bill" type="object" context="{'create_bill':True}" visible="state not in ('purchase', 'done') or invoice_status not in ('no', 'invoiced') or not order_line" data-hotkey="w"/>

If we can get in an inherited view, that will be our safest bet!
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
|
2
พ.ค. 26
|
783 | ||
|
|
0
ก.พ. 24
|
3463 | ||
|
|
1
ต.ค. 23
|
4615 | ||
|
|
0
ก.พ. 21
|
6482 | ||
|
|
1
มี.ค. 23
|
2015 |
Also - this Action is available via the List View of Purchase Orders (not RFQ's).