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

Replace sales_price with cost_price in product list

Subscribe

Get notified when there's activity on this post

This question has been flagged
productpricecost_pricecostsales_price
2 Replies
4731 Views
Avatar
Scott Hart

Is there a way to edit the internal product list to show cost and not sales price? We don't use sales price, because we use cost + formulation, so it doesn't factor into our equation. Basically replace sales_price with cost_price.

0
Avatar
Discard
Avatar
William Brugger
Best Answer

Perhaps you could be more specific in what you are trying to accomplish by using an example?  But to hazard a guess,  it seems you need to create a pricelist that will handle the equation for you.  A pricelist will look at either cost, sale price or event other pricelists, and then create a new sales price based on a computation (fixed, percentage or formula).


If you have already done this and you'd just like to prevent certain users from seeing certain fields you can accomplish this with permissions.  I believe you can restrict the user groups that can see a certain field or group of fields by inheriting the view in question and adding permissions to the field(s).   For example, in the calendar event form you can find this:

  <page string="Invitations" groups="base.group_no_one">

 This restricts everyone but the admin from seeing this.  






0
Avatar
Discard
Scott Hart
Author

Thank you William. Here is my desired outcome: 1st, we have a Purchase Pricelist that adds % onto Supplier cost, that we don't want the salesman to see. This % markup pays for the warehouse functions, so I don't want them thinking there is extra money to be had in the commision structure. Example: Product "x" costs $10. PAD is 15%. I would only like to allow the salesman to see only the $11.50 calculated cost. 2nd, I'd like the products list/tree (sales > products) to only show the calculated cost_price + the above mentioned calculated cost. Currently Odoo only shows the sales_price and I'd like to replace that value with what I had suggested. Obviously, each customer/ product category would have their individual pricelists which would calculate under quotations/ invoices.

Scott Hart
Author

I guess if I use , how can I replace the viewable "sales_price" with "cost_price" on the product view? It's basically when you view the products on block, not the list.

Avatar
Scott Hart
Author Best Answer

Technically, I'd like to only show cost_price + purchase pricelist, so the salesman will never view received cost.

0
Avatar
Discard
William Brugger

So it seems you want your formulated cost to show up as the cost on the product page? And you want to be able to enter the real cost $10 into the Cost field and have it appear as $11.50 to the sales reps? If you don't have a lot of products, you could the calculation yourself (i.e. just enter 11.50) If you have a lot, you could set up a Bill of Materials for the products. This is were you would put the PAD. This method is probably too complicated for a simple 15% increase, but there is an app called product_extended that calculates a products cost based on BOM. Probably the easiest way to do this is to extend sale module and create a calculated field (i.e. my_real_cost) that would grab the value you entered in cost and multiply it by 1.15%. There is a lot of documentation on how to do this. Then remove the cost field from the tree view and make in the form view make sure only you can see it by adding groups="base.group_no_one" to the cost field. This will hide the field from everyone but the admin. If you want others to see it, you can use a group that your sales_reps aren't in. Also, be sure to add the calculated field "my_real_cost" to both the form and tree views. Also, that field in form view should be readonly.

Scott Hart
Author

Hello Amy. Thank you for your response. We aren't calculating anything complicated. It's simply a base of 12.5% globally. Didn't want to go into BOM module because that's a lot of steps I don't need to jump through. Maybe I'm wrong.

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
Cost Price on Product Template Solved
product templates price cost
Avatar
Avatar
Avatar
2
Nov 16
7967
Product Cost is negative
product price cost negative averagecost
Avatar
Avatar
Avatar
2
Nov 22
5257
Do not want to display decimals for Sales Price in Products
product sales_price
Avatar
Avatar
Avatar
Avatar
Avatar
5
Jul 24
5704
Is it possible to calculate product cost by default? Solved
cost_price cost
Avatar
Avatar
1
Jul 19
5521
V10 CE - unable to set cost price for imported products
product cost_price
Avatar
0
May 17
3061
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