Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
286 Visninger

Vendor Bill can nomore be created by the purhcase app,

this for me is an important regression and move from a lean approach to a silos approach.

the purchase office is the responsible with relation with supplier.

It interacts with the supplier in handling all the aspect. Including price, quantity and payment

if the draft vendor bill is created by the buyer, it can reflect all those interactions.

when the real bill arrives, typically to accounting, the accounting can match it with the draft.

if the vendor bill is created by accounting then we retuns to have accounting people asking to the buyer explanation on differences.

Another point is that with exception of very small organization the vendor bill are sent to the accounting office or are left to logistic and not sent to buyer. So, the upload vendor bill button is not where it is needed.

there si any way to restore the create vendor bill button in purhcase order?

Avatar
Kassér
Bedste svar

Via Odoo Studio, you can add a button to the Purchase Order that creates the Bill.


1. Create the following Server Action:

# code updated to add Vendor (which will add Payment Terms)

bill = env['account.move'].create({
    'move_type': 'in_invoice',
'partner_id': record.partner_id.id,
})

bill._add_purchase_order_lines(record.order_line)

action = {
        "type": "ir.actions.act_window",
        "res_model": "account.move",
        "res_id": bill.id,       
        "view_mode": "form",       
        "target": "current",     
    }


2. Add a New Button to the Purchase Order Form View:



Your Odoo Consultant or Odoo Partner can help you if you need support with this customization.

Avatar
Kassér
Forfatter

Thank you.
I hilight again this point to ODOO team, It is a sustantial change in the workflow,
the change on the workflow have to be an option, and the previous way have to be kept as default, at least in the update of the release.

Forfatter

I have tested your code,
it does not autofill the following fields
Referece, payment reference, and most important payment terms.

I updated the code to add the Vendor, which will also bring over the Payment Terms. Reference and Payment Reference are not set by the Odoo 18.0 Create Bill button - these normally come from the Vendor. You are free to extend this example to add more information on the Bill.

Forfatter

Thank you, unfortunately seems that it is fetching the payment terms from the vendor. they can be different on the specifc purchase order

Bedste svar

Hi,


You’ve highlighted what feels like a regression in Odoo’s workflow: in recent versions, vendor bills can no longer be created directly from the Purchase app. Traditionally, buyers—who manage the supplier relationship, prices, and quantities—could draft the vendor bill themselves. This allowed accounting to later validate the bill against what was agreed with the supplier, reducing back-and-forth.


Now, with vendor bills created only by the accounting team, it shifts responsibility away from the buyers and creates inefficiency. Accounting staff may have to chase buyers to resolve discrepancies, which undermines the lean, end-to-end approach where purchase officers managed the whole supplier process.


You also point out a practical issue: in most organizations, vendor bills are received directly by the accounting office (or sometimes logistics), not by buyers. Yet the “Upload Vendor Bill” function is located where the buyer doesn’t typically work. This creates friction, as the functionality isn’t aligned with the real-life flow of documents between departments.


In short: the change moves Odoo from a lean, integrated workflow to a more siloed approach, where purchase and accounting are less connected, creating unnecessary inefficiencies.


Hope it helps


Avatar
Kassér
Forfatter

Thanks to highlight properly.

I strongly suggestvto make pressure on ODOO to review this responsability shift.

I will suggest my partner not to move to 18.3 or later

Related Posts Besvarelser Visninger Aktivitet
1
sep. 25
275
1
jul. 25
1777
2
maj 25
2689
2
mar. 25
1895
0
dec. 22
2174