Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

How to add conditions to a quotation

Subscribe

Get notified when there's activity on this post

This question has been flagged
quotationconditions
2 Replies
4679 Views
Avatar
Erwin Janszen

I am looking for a possibility to add a number of conditions to an offer that must be met before the offer can actually be converted into an order.

In my case it is a quote for building garden sheds. Drawing up the quotation is not a problem and is neatly sent to the customer.
Converting the quotation to an order (to actually plan to build the garden shed) must meet the following conditions:

  1. Quotation has been approved by the customer (signature)

  2. A down payment by the customer  

  3. An approved building plan (via another internal department)

  4. In some cases: a building permit (based on the approved building plan)

NB: It could take up to 10 weeks in durations before all these conditions will  be met.

The intention is that on the relevant quotation page a few buttons are added with which the status of these conditions can be indicated. Only when all these conditions are  satisfied, it becomes possible to place an order for it.

How can I realize this in Odoo (v12)?

1
Avatar
Discard
faOtools

Perhaps, this app - https://apps.odoo.com/apps/modules/12.0/sale_order_checklist/ - will let you reach your goal.

Avatar
Erwin Janszen
Author Best Answer

Thanks Niyas for your reply. 

But how do I do that? Could you give me an example of such a piece of code?

Regards, Erwin.

0
Avatar
Discard
Niyas Raphy (Walnut Software Solutions)

first of all you have to fix which way you are going to do this, once it is done you can start making changes, for inheriting the view you can refer the link i have added in the answer, other things you want to know should be about the workflow: https://www.cybrosys.com/blog/defining-header-statusbar-and-buttons-in-odoo-v12

Niyas Raphy (Walnut Software Solutions)

Most simple option is just add four new boolean fields to check whether these steps are completed, then super the action if the confirm button and check whether all the four fields are ticked or not. If not block the flow.

Avatar
Niyas Raphy (Walnut Software Solutions)
Best Answer

Hi,

In many ways you can do it. Either you can override the Confirm buttons action and check whether the all above conditions are met or not. If not you can raise warning and ask to complete these steps. There should be enough changes made in the view and code to understand whether the all steps is finished or not.


The other options are you can add new buttons for the above steps, and display each button when the previous one is completed, finally when all the above is completed you can show the confirm button.


To customize and make changes in existing form, refer this, even though it is for v12, same for the v10 too : Customize existing View

Thanks

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Multiple lines in the quotation calculator
quotation
Avatar
0
Nov 25
940
Design Quotation Template with dynamic variables
quotation
Avatar
0
Apr 25
3303
quote template
quotation
Avatar
0
Jul 24
2400
How to configure Salary Rules CONDITIONS Based on Solved
conditions
Avatar
Avatar
1
May 24
2620
Can I change the currency symbol position from right to left? Solved
quotation
Avatar
Avatar
1
Jun 21
5338
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now