Odoo Help

0

How to duplicate invoices with new prices

By
Ralf Schäfer
on 18-2-7 上午9:20 203 views

Situation:

  • Customers get annual invoices, there is no quotation or order left

  • Invoice was written in 2017

  • Some Prices have been changed in the meantime.

  • New invoice can be written now.

  • To save time, we want to duplicate the old invoice. But the new invoice gets the old prices again.

Is there any possibility to create a new invoice with the duplicate function with new prices?

you can override copy() function

Hilar AK
on 18-2-7 下午8:12

Thanks

Can you tell me where to find it? I also had this idea, but I have searched for hours, and didn't find it yet.

Ralf Schäfer
on 18-2-8 上午1:55
1

Sudhir Arya (ERP Harbor Consulting Services)

--Sudhir Arya (ERP Harbor Consulting Services)--
11131
| 6 8 8
Ahmedabad, 印度
--Sudhir Arya (ERP Harbor Consulting Services)--

• Co-Founder & Co-Owner at ERP Harbor Consulting Services

• ERP Consultant / ERP Customization / TechnoFunctional Expert

• Sound knowledge in Python, Odoo (Open ERP), XML, PostgreSQL

• Domain knowledge of Sale Management, Purchase Management, Warehouse Management, Manufacturing, Multi Company Configuration & Management, HR Management, Medical Management, Construction Management, Education Management, Point of Sale, Third Party Integrations

• Positive attitude and quick Learner

• Good analytical skill, quick bug and issue tracing and find the solution

• Good knowledge and experience in payment gateway integration with Odoo

• Ready to accept new challenges

Top 10 Odoo contributor On Stackoverflow 

LinkedIn

Blog

Stackoverflow

Sudhir Arya
ERP Harbor Consulting Services
skype: 
sudhir@erpharbor.com 
Sudhir Arya (ERP Harbor Consulting Services)
On 18-2-8 上午2:18

Hi Ralf,

You can either override copy method and manually call the product onchange method.
It would be better if you create a new button and call the copy method for existing invoice and also call the product onchange meanwhile that will add the latest price in a new invoice.

Contact me for any customization or development.

Sudhir Arya
ERP Harbor Consulting Services
skype: 
sudhir@erpharbor.com  website: http://www.erpharbor.com

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 18-2-7 上午9:20
Seen: 203 times
Last updated: 18-2-9 下午12:49