İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
5521 Görünümler

For a company that sells airline tickets, there's no "stock" of the products, i.e. tickets. When a ticket is sold, money is also being paid to the airline, i.e. vendor.

So, when an invoice is being validated, I want a vendor bill for the product added against the vendor. How can I do that? I can create many2one relation on account.invoice.line to the account.invoice model, but I don't know how to automatically let it generate a vendor bill with the product.

Ideally, I want to add vendor and cost price fields to the product row in invoice so a vendor bill can be generated to that vendor with the product added at the cost price.

Avatar
Vazgeç

Vendor Bill is itself an Invoice and it is already linked with invoice lines.

Would you please explain your requirement in more details?

Üretici

Product added to customer invoice is money received. For every product on invoice, I need vendor bill to pay to vendor.

For example, customer A purchases Air India ticket from us. Customer pays 450 dollars to us for ticket, and we pay 400 dollars to Air India. That's two invoice: one customer invoice, one vendor bill for same product. When I add product (air ticket) to customer invoice and validate, that product needs to be purchased from vendor (Air India).

En İyi Yanıt

I don't know if this is the valid case.

Normally vendor bill is being sent by vendor and then we record in our system.

So, in case of Airlines....

You create Sales Order for your customer and at same time you have to trigger purchase order for your vendor. And once you receive the confirmation then only you can deliver to your vendor.

But if you have specific case then you go through the solution as you mentioned. Add two more fields on invoice line, Vendor and Cost price and on confirmation generate vendor bill.

Avatar
Vazgeç
Üretici

Then I got the use of Vendor Bill wrong. This is a tiny establishment, and I'm just the IT guy with zero knowledge of accounting terminology.

Anyway, yes, so how do I trigger a Purchase Order as soon as I make an invoice?

Üretici

And the thing about Vendor Bill is, if I'm creating an invoice for customer, then it means I've already paid the vendor.

İlgili Gönderiler Cevaplar Görünümler Aktivite
10
Haz 20
5146
1
Şub 18
3322
1
Eki 25
11703
2
Tem 24
3345
1
Haz 24
5728