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
回复
640
查看
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!
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
|
2
5月 26
|
782 | ||
|
|
0
2月 24
|
3450 | ||
|
|
1
10月 23
|
4615 | ||
|
|
0
2月 21
|
6476 | ||
|
|
1
3月 23
|
2013 |
Also - this Action is available via the List View of Purchase Orders (not RFQ's).