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

Insurance payment

By
mohamed
on 5/27/15, 3:45 AM 440 views

Hi , i  want to do some change in einvoicing module (account) , i will add insurance ratio for the customer ,so  he will pay:

  •   customer payment =   subtotal - insured amount

  •    insurance payment = insured amount 

my issues is how can i generate two invoice in same validation (one for customer and other for insurance company).

did you check this?

Axel Mendoza
on 12/8/15, 8:15 PM
0

Axel Mendoza

--Axel Mendoza--
10195
| 7 7 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full time employee trying to understand what to do an how

Reach me at aekroft@gmail.com

Axel Mendoza
On 12/3/15, 3:39 PM

Hi @mohamed

You could review the code of my module that do that features among others at:

https://github.com/aek/odoo_public/tree/8.0/addons/medical_invoice

Maybe you need to adapt to your medical customization, I just share the medical_invoice module and there will be some models that don't exist in that module so don't use as is.

The idea is that you invoice from Sale Orders and in the Create Invoice wizard there are some fields related to the co-payment method of invoice. The co-payment method means that if the Patient have an Insurance then you could create Invoices to the Patient and the Insurance by the following rules:

1- Invoice the Complete Sale Order with co-payment

2- Select the lines to Invoice with co-payment

In those 2 methods of invoice you will be able to select if:

- Invoice all the amount to the Insurance, that will create only one Invoice with the Insurance as Client

- Invoice an amount to the Insurance and the rest to the Patient, that will create 2 Invoices, one for the Insurance and one for the Patient with their respective amounts

For the Insurance Invoices there will be no Tax included in the generated Invoice lines. All the Invoices are generated with draft state, so you could customized latter

Please vote if you find it helpful

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: 5/27/15, 3:45 AM
Seen: 440 times
Last updated: 12/3/15, 3:44 PM