2acd0903a1901e03a1d43ffead5c27728b74b02c
Before this commit, when the project has a SO related, the 'Sales Order' stat button is shown in right side panel in project update even if the allow_billable=False in this project. If `allow_billable=False` then the project should be non billable and thus this stat button should not be visible. This commit hides the stat button when the project is non billable. Steps to reproduce: ================== 1) Install sale_timesheet module 2) Create a billable Project 3) Edit the project to set a SOL (Set a customer and a SOL) and save. 4) Edit the project and set `allow_billable` to `False`. 5) Go to the kanban view of the Project Update. Expected Behaviour: ================== The 'x Sales Orders' stat button should not be visible. Actual Behaviour: ================ The 'x Sales Orders' stat button is visible. Part of task-2710808 Closes #81940 X-original-commit: bc0226583a48f9eefc79c3e2a8e7069d6181f8ea Part-of: odoo/odoo#82284
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%