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.
To pytanie dostało ostrzeżenie
1
Odpowiedz
584
Widoki
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!
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
|
2
maj 26
|
687 | ||
|
|
0
lut 24
|
3331 | ||
|
|
1
paź 23
|
4538 | ||
|
|
0
lut 21
|
6381 | ||
|
|
1
mar 23
|
1984 |
Also - this Action is available via the List View of Purchase Orders (not RFQ's).