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.
Cette question a été signalée
1
Répondre
580
Vues
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!
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
2
mai 26
|
683 | ||
|
|
0
févr. 24
|
3330 | ||
|
|
1
oct. 23
|
4538 | ||
|
|
0
févr. 21
|
6378 | ||
|
|
1
mars 23
|
1983 |
Also - this Action is available via the List View of Purchase Orders (not RFQ's).