Andrzej(pian) 1f2f329421 [IMP] sale_project: Include Archived Projects in Stat Button View
[Context]
Sales Order can be connected to projects. Before this commit archived projects
were counted in the stat-button, but not in the related to stat-button project kanban view.
We want to show archived (i.e. "non active") projects in both.

[Reproduce behaviour before this commit]:
- run odoo 15 with: sale_management,project,timesheet_grid
- In Project, create:
	- project A
	- project B
- In Sales/Products/Products, create:
	- product A (set: type="Service", Create on Order="Task", project="project A")
	- product B (set: type="Service", Create on Order="Task", project="project B")
- In Salse/Orders/Quotations:
	- Create Quotation
		- add "product A" and "product B"
		- save & Confirm
		- OBSERVE: stat-button "projects" shows 2 projects
		- Click on: stat-button "projects"
		- OBSERVE: kanban view shows 2 projects
- Archive one of project
	- go Project/"Project A"/Edit/Action/Archive (require debug mode)
- Go back to created Quotation
	- OBSERVE (Desired): stat-button "projects" shows 2 projects
	- Click on: stat-button "projects" and OBSERVE
	- OBSERVE (Not-Desired): kanban view shows 1 projects (it excluded archived one)

[Fix]
Modified domain in the function/action related to the stat-button.

opw-3500711

closes odoo/odoo#140364

X-original-commit: eef4506f32f09dcda9990556e55131bc17855dcc
Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
2023-10-31 07:11:45 +00:00
2023-10-27 08:36:16 +00:00
…
…
…

Build Status Tech Doc Help Nightly Builds

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

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%