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.
Câu hỏi này đã bị gắn cờ
1
Trả lời
648
Lượt xem
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!
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký| Bài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
|---|---|---|---|---|
|
|
2
thg 5 26
|
793 | ||
|
|
0
thg 2 24
|
3477 | ||
|
|
1
thg 10 23
|
4619 | ||
|
|
0
thg 2 21
|
6485 | ||
|
|
1
thg 3 23
|
2020 |
Also - this Action is available via the List View of Purchase Orders (not RFQ's).