产品审批流程,Product Approval
产品必须过审才可用,未审批产品不可见 / Products must be approved before becoming visible and usable
为产品模块引入完整审批工作流,确保只有通过审批的产品才在系统中可见和可用
Introduce full approval workflow to product module, ensuring only approved products are visible and usable
功能概述 / Overview
app_product_approve 为 Odoo 产品模块引入完整的审批工作流。产品从创建到可用需经过草稿→送审→待审批→已审批→完成的完整生命周期。默认仅显示已审批/已完成状态的产品,有效防止未审核产品被误用。安装时自动将现有产品设为已审批状态,无缝集成。
app_product_approve introduces a complete approval workflow for Odoo product module. Products go through draft → sent → to_approve → approved → done lifecycle. Only approved/done products are visible by default, preventing unapproved products from being misused. Existing products are auto-approved on install for seamless integration.
核心亮点 / Key Highlights
为什么选择这个模块 / Why Choose This Module
1. 审批工作流集成 / Approval Workflow
Full Lifecycle Management
产品经过完整审批生命周期(草稿→送审→待审批→已审批→完成)后才激活可见,确保产品质量与合规性。
2. 智能可见性控制 / Smart Visibility
Approved-Only Display
默认仅显示已审批/已完成状态的产品,通过 _approved_show_only 标记和 search_fetch 重写确保未审批产品不出现。
3. 管理员强制操作 / Force Actions
Emergency Override
支持强制审批、强制完成、强制取消、强制退回草稿等操作,管理员可紧急处理特殊场景。
4. 双模型覆盖 / Dual Model Coverage
Template & Variant
同时扩展 product.template 和 product.product,product.product 状态操作委托至模板,确保一致性。
5. 安装自动审批 / Auto-Approval on Install
Seamless Migration
post_init_hook 安装时自动将所有现有产品设为已审批状态,无需手动处理历史数据,防止丢失。
6. 状态工作流继承 / State Workflow
Standardized Framework
基于 mixin.state.workflow 实现标准化状态管理,与其他审批模块共享统一的工作流架构。
界面截图 / Screenshots
核心功能界面一览
产品审批流程 / Product approval workflow
超管可以重置状态 / Reset to draft if you are IT administrator
仅过审产品可见 / Only approved products visible
多语言支持 / Multi-language support
通用特性 / General Features
多语言与多公司
Multi-Language & Multi-Company
完整的多语言翻译支持,适配全球化企业部署。原生多公司架构,数据严格隔离。
全版本兼容
Full Version Support
支持 Odoo 19,18,17,16,15,14,13,12,EE/CE/.SH,兼容企业版、社区版及在线 SaaS。
代码完全开源
Full Open Source
基于 OPL-1 协议开源,代码透明可审计,支持二次开发与定制。
使用流程 / How It Works
4步启用产品审批 / 4 Steps to Enable Product Approval
1. 安装模块
Install the module
2. 自动审批现有产品
Auto-approve existing products
3. 产品审批流程
Product approval workflow - Apply for approval
Product approval workflow - Reset to draft if you are IT administrator
4. 仅过审产品可见
Only approved products visible
多语言支持
Multi-language support
支持与依赖模块 / Supported & Dependent Modules
- app_base_admin - 基础管理模块 / Base Admin Module
- app_mixin_state_workflow - 状态工作流Mixin / State Workflow Mixin
本模块依赖 mixin.state.workflow 抽象模型提供标准化状态管理,与产品模块原生功能无缝集成。
odooai.cn
专业Odoo服务伙伴-开发实施咨询培训全套解决方案 / Professional Odoo Solutions
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Contacts (contacts)
• Employees (hr) • Inventory (stock) • Purchase (purchase) • Discuss (mail) • Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 10456 |
| Technical Name |
app_product_approve |
| License | OPL-1 |
| Website | https://www.odooai.cn |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module