Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hi, I am making a hotel management module.
In this module I have a menu that contains all the expenditures like meals, internet, room service, etc listed out along with their costs.
Also, I have defined rooms as products, so sale price of room will be the rent.
Now I want to create a 'checkout' button which will add (sale price of room*no. of days) with the sum of expenditures from expenditure menu.
Can someone tell me how to add these values and how to get the sum of expenditures?
Here is my py code:
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 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
|Asked: 5/15/15, 1:55 AM|
|Seen: 406 times|
|Last updated: 5/15/15, 1:55 AM|