Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Create Customer Payment without creating invoice, and based on delivery order openerp v7

By
Yassine TEIMI
on 12/5/14, 11:07 AM 1,879 views

In some cases, I would like to save the customer payment, when the goods are delivered, and after, create the invoice based on the delivery order, and then relate ( reconcile ) the payment with the just created invoice.

To made myself clear, here is the process that I want (For some exceptionnal cases) : 

Sale Order -- Delivery Order -- Customer Payment -- Create Invoice -- Link invoice with Payment first created

Obviously, I can create Invoices based on delivery orders, but I'm wondering how to create Voucher payments on delivery orders, and then link it with the Invoice created ?

1

Ray Carnes

--Ray Carnes--
15717
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

Ray Carnes
On 12/5/14, 3:56 PM

Create the Customer payment - since there is no invoice to reconcile against (yet) this will post as unreconciled.

When you create the invoice, create another payment of $0 and both the invoice from the delivery order and the credit (original payment) will show up.  Choose to apply the full payment balance to the invoice balance.  If the original payment is for the full amount, the invoice will be closed and reconciled against the original payment.  If there is a balance due, then the invoice will remain open, but reduced by the amount of the original payment.

0
elkafil
On 12/8/14, 7:23 PM

you can do that when you pay a pos order

0
Yassine TEIMI
On 12/8/14, 5:48 PM

@Mohammed : Thank your for your answer, I'm using this process because of strategic reasons, I want to separate the commercial side from the financial side, tracking payments more efficientlty, and avoid some kind of errors.

@Ray: Thank your for your answer, i've tested it,and it worked.

@Ray + Mohammed : now I want to add a one2many field on account.voucher object, into stock.picking.out like this :

'bls_to_pay': fields.one2many('stock.picking.out','bl_id','BLS to pay'),

I added a many2one field on both stock.picking.out and stok.picking liek this : 

'bl_id': fields.many2one('account.voucher','BLs to pay'),

On xml I did :     <page string="bls">
                            <field name="bls_to_pay">
                                <tree string="BLs to pay">
                                    <field name="num_bl"/>
                                </tree>
                            </field>
                        </page>

But a parse error occured saying that it can't find field 'num_bl' on model account.voucher, knowing that num_bl is a field from stock.picking.out, but I'm making a one2many relation with the stock.picking.out object, could you please figure this out ? 

 

 

0
Mohamed Essakali
On 12/5/14, 3:59 PM

There is no direct link between Delivery order and voucher, you can achieve an automated process by using a custom module which change the existing workflows. Otherwise, you can create the payment using "customer pyments" and save the Delivery Order number in the memo field for example, and when the invoice will genrated you can reconcile it with that payment based on the origin field on invoice and memo field.

However, this is a strange process in my opinion, the customer payment must be based on an invoice, so in this case I think the best way is :

1- do a partial delivery

2- generate the invoice based on this delivery

3- create the payment based on this invoice 

This way payments are linked to invoices whitch are linked to Delivery orders whitch are linked to sale orders properly.

Hope it helps!

 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 12/5/14, 11:07 AM
Seen: 1879 times
Last updated: 3/16/15, 8:10 AM