Initial commit: Odoomates Odoo packages (12 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:49:21 +02:00
commit 3b38c49bf0
526 changed files with 34983 additions and 0 deletions

View file

@ -0,0 +1,47 @@
# Sale,Purchase Mass Confirm and Cancel
Allow To Cancel and Confirm the Sales and Purchase From the Tree View
## Installation
```bash
pip install odoo-bringout-odoomates-om_mass_confirm_cancel
```
## Dependencies
This addon depends on:
- sale
- purchase
## Manifest Information
- **Name**: Sale,Purchase Mass Confirm and Cancel
- **Version**: 1.0.0
- **Category**: Generic Modules/Others
- **License**: LGPL-3
- **Installable**: True
## Source
Custom addon from bringout-odoomates vendor, addon `om_mass_confirm_cancel`.
## License
This package maintains the original LGPL-3 license from the addon.
## Documentation
- Overview: doc/OVERVIEW.md
- Architecture: doc/ARCHITECTURE.md
- Models: doc/MODELS.md
- Controllers: doc/CONTROLLERS.md
- Wizards: doc/WIZARDS.md
- Reports: doc/REPORTS.md
- Security: doc/SECURITY.md
- Install: doc/INSTALL.md
- Usage: doc/USAGE.md
- Configuration: doc/CONFIGURATION.md
- Dependencies: doc/DEPENDENCIES.md
- Troubleshooting: doc/TROUBLESHOOTING.md
- FAQ: doc/FAQ.md

View file

@ -0,0 +1,32 @@
# Architecture
```mermaid
flowchart TD
U[Users] -->|HTTP| V[Views and QWeb Templates]
V --> C[Controllers]
V --> W[Wizards Transient Models]
C --> M[Models and ORM]
W --> M
M --> R[Reports]
DX[Data XML] --> M
S[Security ACLs and Groups] -. enforces .-> M
subgraph Om_mass_confirm_cancel Module - om_mass_confirm_cancel
direction LR
M:::layer
W:::layer
C:::layer
V:::layer
R:::layer
S:::layer
DX:::layer
end
classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px
```
Notes
- Views include tree/form/kanban templates and report templates.
- Controllers provide website/portal routes when present.
- Wizards are UI flows implemented with `models.TransientModel`.
- Data XML loads data/demo records; Security defines groups and access.

View file

@ -0,0 +1,3 @@
# Configuration
Refer to Odoo settings for om_mass_confirm_cancel. Configure related models, access rights, and options as needed.

View file

@ -0,0 +1,3 @@
# Controllers
This module does not define custom HTTP controllers.

View file

@ -0,0 +1,6 @@
# Dependencies
This addon depends on:
- [sale](../../odoo-bringout-oca-ocb-sale)
- [purchase](../../odoo-bringout-oca-ocb-purchase)

View file

@ -0,0 +1,4 @@
# FAQ
- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged).
- Q: How to enable? A: Start server with --addon om_mass_confirm_cancel or install in UI.

View file

@ -0,0 +1,7 @@
# Install
```bash
pip install odoo-bringout-odoomates-om_mass_confirm_cancel"
# or
uv pip install odoo-bringout-odoomates-om_mass_confirm_cancel"
```

View file

@ -0,0 +1,11 @@
# Models
Detected core models and extensions in om_mass_confirm_cancel.
```mermaid
classDiagram
```
Notes
- Classes show model technical names; fields omitted for brevity.
- Items listed under _inherit are extensions of existing models.

View file

@ -0,0 +1,6 @@
# Overview
Packaged Odoo addon: om_mass_confirm_cancel. Provides features documented in upstream Odoo 16 under this addon.
- Source: OCA/OCB 16.0, addon om_mass_confirm_cancel
- License: LGPL-3

View file

@ -0,0 +1,3 @@
# Reports
This module does not define custom reports.

View file

@ -0,0 +1,8 @@
# Security
This module does not define custom security rules or access controls beyond Odoo defaults.
Default Odoo security applies:
- Base user access through standard groups
- Model access inherited from dependencies
- No custom row-level security rules

View file

@ -0,0 +1,5 @@
# Troubleshooting
- Ensure Python and Odoo environment matches repo guidance.
- Check database connectivity and logs if startup fails.
- Validate that dependent addons listed in DEPENDENCIES.md are installed.

View file

@ -0,0 +1,7 @@
# Usage
Start Odoo including this addon (from repo root):
```bash
python3 scripts/nix_odoo_web_server.py --db-name mydb --addon om_mass_confirm_cancel
```

View file

@ -0,0 +1,3 @@
# Wizards
This module does not include UI wizards.

View file

@ -0,0 +1,30 @@
=====================================
Sale,Purchase Mass Confirm and Cancel
=====================================
Allow To Cancel and Confirm the Sales and Purchase From the Tree View
Usage
=====
* In Sale and Purchase Tree View
Bug Tracker
===========
In case of any trouble using this module, please get in touch with us.
Authors
~~~~~~~
Odoo Mates
Support
=======
Email : odoomates@gmail.com
Maintainers
~~~~~~~~~~~
This module is maintained by the Odoo Mates.

View file

@ -0,0 +1 @@
# -*- coding: utf-8 -*-

View file

@ -0,0 +1,26 @@
{
'name': 'Sale,Purchase Mass Confirm and Cancel',
'version': '1.0.0',
'category': 'Generic Modules/Others',
'description': 'Allow To Cancel and Confirm the Sales and Purchase From the Tree View',
'summary': 'Allow To Cancel and Confirm the Sales and Purchase From the Tree View',
'author': 'Odoo Mates',
'maintainer': 'Odoo Mates',
'website': 'http://odoomates.tech',
'support': 'odoomates@gmail.com',
'license': 'LGPL-3',
'depends': [
'sale',
'purchase'
],
'data': [
'views/sale_view.xml',
'views/purchase_view.xml',
],
'images': ['static/description/banner.png'],
'demo': [],
'test': [],
'installable': True,
'application': False,
'auto_install': False,
}

View file

@ -0,0 +1,7 @@
## Module <om_mass_confirm_cancel>
#### 10.12.2021
#### Version 15.0.1.0.0
##### ADD
- initial commit

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

View file

@ -0,0 +1,83 @@
<section class="oe_container oe_dark">
<div class="col-md-12">
<h2 class="oe_slogan" style="font-size: 35px;color:#2C0091"><b>Sale/Purchase Mass Confirm And Cancel</b></h2>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<div style="text-align:center;">
<h1 style=" text-align: center;">
<span align="center" style="color:#148963;">
<span class="fa fa-star fa-spin">
</span>
Features:</span>
</h1>
<p class="fa fa-hand-o-right" style="color:CRIMSON;font-size: 25px;">
<span style="color:#2dd280;font-size: 15px;">Allow to Mass Confirm/Cancel Sale Orders.</span>
</p><br/>
<p class="fa fa-hand-o-right" style="color:CRIMSON;font-size: 25px;">
<span style="color:#2dd280;font-size: 15px;">Allow to Mass Confirm/Cancel Purchase Orders.</span>
</p><br/>
</div>
<br/>
</div>
</section>
<p style="text-align:center;"><a target="_blank" href="https://www.gnu.org/licenses/lgpl-3.0"><img src="https://img.shields.io/badge/License-LGPL%20v3-blue.svg" alt="License: LGPL v3"></a><br>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h3 class="oe_slogan" style="color:olive;">Sale Order</h3>
<div class="oe_span12">
<div class="oe_demo oe_picture oe_screenshot">
<img src="sale_order.png">
</div>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h3 class="oe_slogan" style="color:olive;">Purchase Order</h3>
<div class="oe_span12">
<div class="oe_demo oe_picture oe_screenshot">
<img src="purchase_order.png">
</div>
</div>
</div>
</section>
<hr style="width: 100%;height: 4px;background: #2C0091;margin: 0px 0px;">
<hr style="width: 100%;height: 4px;background: #148963;margin: 0px 0px;">
<section class="oe_container oe_dark">
<div class="oe_row ">
<div class="oe_slogan text-center">
<img src="odoo_mates.png"/>
<div style="color:#269900;">
<h3 style="color:#2C0091;font-size: 25px;">If you need any help or want more features, just contact us:</h3><br>
<h3 style="color:#2C0091;font-size: 20px;">Email: <a href="odoomates@gmail.com">odoomates@gmail.com</a> <br></h3>
</div>
<div class="oe_slogan">
<h2>
<a target="_blank" href="https://www.facebook.com/odoomate/" target="new">
<i class="fa fa-facebook-square" style="font-size:38px;"></i>
</a>
<a target="_blank" href="https://twitter.com/odoomates/" target="new">
<i class="fa fa-twitter" style="font-size:38px;"></i>
</a>
<a href="#" target="_blank">
<i class="fa fa-linkedin" style="font-size:38px;"></i>
</a>
<a target="_blank" href="https://www.youtube.com/channel/UCVKlUZP7HAhdQgs-9iTJklQ">
<i class="fa fa-youtube-play" style="font-size:38px;"></i>
</a>
</h2>
</div>
</div>
</div>
</section>
<hr style="width: 100%;height: 4px;background: #148963;margin: 0px 0px;">
<hr style="width: 100%;height: 4px;background: #2C0091;margin: 0px 0px;">

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

View file

@ -0,0 +1,29 @@
<odoo>
<data>
<record id="action_purchase_confirm" model="ir.actions.server">
<field name="name">Confirm RFQ</field>
<field name="model_id" ref="purchase.model_purchase_order"/>
<field name="binding_model_id" ref="purchase.model_purchase_order"/>
<field name="state">code</field>
<field name="code">
if records:
for rec in records:
rec.button_confirm()
</field>
</record>
<record id="action_purchase_cancel" model="ir.actions.server">
<field name="name">Cancel RFQ</field>
<field name="model_id" ref="purchase.model_purchase_order"/>
<field name="binding_model_id" ref="purchase.model_purchase_order"/>
<field name="state">code</field>
<field name="code">
if records:
for rec in records:
rec.button_cancel()
</field>
</record>
</data>
</odoo>

View file

@ -0,0 +1,29 @@
<odoo>
<data>
<record id="action_sale_confirm" model="ir.actions.server">
<field name="name">Confirm Quotation</field>
<field name="model_id" ref="sale.model_sale_order"/>
<field name="binding_model_id" ref="sale.model_sale_order"/>
<field name="state">code</field>
<field name="code">
if records:
for rec in records:
rec.action_confirm()
</field>
</record>
<record id="action_sale_cancel" model="ir.actions.server">
<field name="name">Cancel Sale/Quotation</field>
<field name="model_id" ref="sale.model_sale_order"/>
<field name="binding_model_id" ref="sale.model_sale_order"/>
<field name="state">code</field>
<field name="code">
if records:
for rec in records:
rec.action_cancel()
</field>
</record>
</data>
</odoo>

View file

@ -0,0 +1,43 @@
[project]
name = "odoo-bringout-odoomates-om_mass_confirm_cancel"
version = "16.0.0"
description = "Sale,Purchase Mass Confirm and Cancel - Allow To Cancel and Confirm the Sales and Purchase From the Tree View"
authors = [
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
]
dependencies = [
"odoo-bringout-oca-ocb-sale>=16.0.0",
"odoo-bringout-oca-ocb-purchase>=16.0.0",
"requests>=2.25.1"
]
readme = "README.md"
requires-python = ">= 3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business",
]
[project.urls]
homepage = "https://github.com/bringout/0"
repository = "https://github.com/bringout/0"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["om_mass_confirm_cancel"]
[tool.rye]
managed = true
dev-dependencies = [
"pytest>=8.4.1",
]