diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/README.md b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/README.md deleted file mode 100644 index 95f4d8d0..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/README.md +++ /dev/null @@ -1,46 +0,0 @@ -# Product weekly sales hint - -Odoo addon: product_sold_by_delivery_week - -## Installation - -```bash -pip install odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week -``` - -## Dependencies - -This addon depends on: -- sale_stock - -## Manifest Information - -- **Name**: Product weekly sales hint -- **Version**: 16.0.1.0.1 -- **Category**: Sale -- **License**: AGPL-3 -- **Installable**: False - -## Source - -Based on [OCA/sale-reporting](https://github.com/OCA/sale-reporting) branch 16.0, addon `product_sold_by_delivery_week`. - -## License - -This package maintains the original AGPL-3 license from the upstream Odoo project. - -## 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 diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/ARCHITECTURE.md b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/ARCHITECTURE.md deleted file mode 100644 index 2e01c656..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/ARCHITECTURE.md +++ /dev/null @@ -1,32 +0,0 @@ -# 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 Product_sold_by_delivery_week Module - product_sold_by_delivery_week - 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. diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/CONFIGURATION.md b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/CONFIGURATION.md deleted file mode 100644 index 84e864db..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/CONFIGURATION.md +++ /dev/null @@ -1,3 +0,0 @@ -# Configuration - -Refer to Odoo settings for product_sold_by_delivery_week. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/CONTROLLERS.md b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/CONTROLLERS.md deleted file mode 100644 index f628e770..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/CONTROLLERS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Controllers - -This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/DEPENDENCIES.md b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/DEPENDENCIES.md deleted file mode 100644 index 560e43bf..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/DEPENDENCIES.md +++ /dev/null @@ -1,5 +0,0 @@ -# Dependencies - -This addon depends on: - -- [sale_stock](https://github.com/bringout/oca-ocb-sale/tree/681dc8d5fff638cb0862a34e48091a2098d091f8/odoo-bringout-oca-ocb-sale_stock) diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/FAQ.md b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/FAQ.md deleted file mode 100644 index 0206e5ee..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/FAQ.md +++ /dev/null @@ -1,4 +0,0 @@ -# FAQ - -- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). -- Q: How to enable? A: Start server with --addon product_sold_by_delivery_week or install in UI. diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/INSTALL.md b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/INSTALL.md deleted file mode 100644 index ebc44a23..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/INSTALL.md +++ /dev/null @@ -1,7 +0,0 @@ -# Install - -```bash -pip install odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week" -# or -uv pip install odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week" -``` diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/MODELS.md b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/MODELS.md deleted file mode 100644 index 1bb09140..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/MODELS.md +++ /dev/null @@ -1,15 +0,0 @@ -# Models - -Detected core models and extensions in product_sold_by_delivery_week. - -```mermaid -classDiagram - class product_product - class product_template - class sale_order_line - class stock_move -``` - -Notes -- Classes show model technical names; fields omitted for brevity. -- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/OVERVIEW.md b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/OVERVIEW.md deleted file mode 100644 index b5b439d5..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/OVERVIEW.md +++ /dev/null @@ -1,6 +0,0 @@ -# Overview - -Packaged Odoo addon: product_sold_by_delivery_week. Provides features documented in upstream Odoo 16 under this addon. - -- Source: OCA/OCB 16.0, addon product_sold_by_delivery_week -- License: LGPL-3 diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/REPORTS.md b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/REPORTS.md deleted file mode 100644 index e0ea35fb..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/REPORTS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Reports - -This module does not define custom reports. diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/SECURITY.md b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/SECURITY.md deleted file mode 100644 index 3d6ac40f..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/SECURITY.md +++ /dev/null @@ -1,68 +0,0 @@ -# Security - -Access control and security definitions in product_sold_by_delivery_week. - -## Access Control Lists (ACLs) - -Model access permissions defined in: -- **[bosnian_translations.json](../bosnian_translations.json)** - - 50 model access rules -- **[bosnian_translations_output.json](../bosnian_translations_output.json)** - - 444 model access rules -- **[CHANGELOG.md](../CHANGELOG.md)** - - 132 model access rules -- **[delete_odoo_addons.sh](../delete_odoo_addons.sh)** - - 44 model access rules -- **[doc](../doc)** -- **[docker](../docker)** -- **[input](../input)** -- **[nix](../nix)** -- **[odoo.conf](../odoo.conf)** - - 58 model access rules -- **[odoo_packages_bez_l10n.txt](../odoo_packages_bez_l10n.txt)** - - 1947 model access rules -- **[odoo_packages_bringout.txt](../odoo_packages_bringout.txt)** - - 1947 model access rules -- **[odoo_packages.txt](../odoo_packages.txt)** - - 2085 model access rules -- **[output](../output)** -- **[packages](../packages)** -- **[PACKAGES.md](../PACKAGES.md)** - - 298 model access rules -- **[README.md](../README.md)** - - 338 model access rules -- **[scripts](../scripts)** -- **[temp](../temp)** -- **[TRANSLATION_BS_SUMMARY.md](../TRANSLATION_BS_SUMMARY.md)** - - 146 model access rules - -## Record Rules - -Row-level security rules defined in: - -## Security Groups & Configuration - -Security groups and permissions defined in: -- **[product_sold_by_delivery_week_security.xml](../product_sold_by_delivery_week/security/product_sold_by_delivery_week_security.xml)** - - 2 security groups defined - -```mermaid -graph TB - subgraph "Security Layers" - A[Users] --> B[Groups] - B --> C[Access Control Lists] - C --> D[Models] - B --> E[Record Rules] - E --> F[Individual Records] - end -``` - -Security files overview: -- **[product_sold_by_delivery_week_security.xml](../product_sold_by_delivery_week/security/product_sold_by_delivery_week_security.xml)** - - Security groups, categories, and XML-based rules - -Notes -- Access Control Lists define which groups can access which models -- Record Rules provide row-level security (filter records by user/group) -- Security groups organize users and define permission sets -- All security is enforced at the ORM level by Odoo diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/TROUBLESHOOTING.md deleted file mode 100644 index 56853cb7..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/TROUBLESHOOTING.md +++ /dev/null @@ -1,5 +0,0 @@ -# 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. diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/USAGE.md b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/USAGE.md deleted file mode 100644 index 63b0a961..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/USAGE.md +++ /dev/null @@ -1,7 +0,0 @@ -# Usage - -Start Odoo including this addon (from repo root): - -```bash -python3 scripts/nix_odoo_web_server.py --db-name mydb --addon product_sold_by_delivery_week -``` diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/WIZARDS.md b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/WIZARDS.md deleted file mode 100644 index 48e790dc..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/doc/WIZARDS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Wizards - -This module does not include UI wizards. diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/README.rst b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/README.rst deleted file mode 100644 index ef784915..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/README.rst +++ /dev/null @@ -1,132 +0,0 @@ -========================= -Product weekly sales hint -========================= - -.. - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:5c23b69bd0cac593b37140cf67786cb580904f8876975980260f9823ffa7712e - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png - :target: https://odoo-community.org/page/development-status - :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--reporting-lightgray.png?logo=github - :target: https://github.com/OCA/sale-reporting/tree/16.0/product_sold_by_delivery_week - :alt: OCA/sale-reporting -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-reporting-16-0/sale-reporting-16-0-product_sold_by_delivery_week - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-reporting&target_branch=16.0 - :alt: Try me on Runboat - -|badge1| |badge2| |badge3| |badge4| |badge5| - -This module allows to compute a graphical hint, stored in the product itself, -to display whether that product was sold and delivered in recent weeks. - -.. image:: https://raw.githubusercontent.com/OCA/sale-reporting/16.0/product_sold_by_delivery_week/static/description/sold_by_week_hint.png - -**Table of contents** - -.. contents:: - :local: - -Configuration -============= - -Some variables can be configured using config parameter keys: - -- For hint characters: - - - For the sold char: `product_sold_by_delivery_week.sold_char` - - For the not sold: `product_sold_by_delivery_week.not_sold_char` - - For weeks length: `product_sold_by_delivery_week.weeks_to_consider` - -Assign the security group 'Weekly selling info in order lines' and/or -'Weekly selling info in product list' to users that should see weekly -sales info in product lists or in order lines. (If you want to see the -info in other views like product recommendations, this is not needed.) - -Usage -===== - -Once configured, hints will appear as an optional column in sale order -lines or in products tree. - -In the general products view, general sales info is shown. Meanwhile, in the -sale lines field we can see this field in context by simply filtering partner -sales. - -Only salespeople can access this information. - -Known issues / Roadmap -====================== - -* Services are not taken into consideration. -* A widget could be created on top of the main field to have nicer icons and - probably colors. -* For the near future, a configurable granularity would be desirable, so - behavior could be changed to years, months or days as the period of choice. - To simplify this module, only weekly periods will be considered for now. - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -~~~~~~~ - -* Tecnativa - -Contributors -~~~~~~~~~~~~ - -* `Tecnativa `_: - - * David Vidal - * Carlos Dauden - * César A. Sánchez - * Luis D. Lafaurie - -* Jairo Llopis ([Moduon](https://www.moduon.team/)) - -Maintainers -~~~~~~~~~~~ - -This module is maintained by the OCA. - -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org - -OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use. - -.. |maintainer-chienandalu| image:: https://github.com/chienandalu.png?size=40px - :target: https://github.com/chienandalu - :alt: chienandalu - -Current `maintainer `__: - -|maintainer-chienandalu| - -This module is part of the `OCA/sale-reporting `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/__init__.py b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/__init__.py deleted file mode 100644 index cc6b6354..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ -from . import models -from .hooks import post_init_hook diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/__manifest__.py b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/__manifest__.py deleted file mode 100644 index a8df7c49..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/__manifest__.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 2021 Tecnativa - David Vidal -# Copyright 2021 Tecnativa - Carlos Dauden -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -{ - "name": "Product weekly sales hint", - "summary": "Adds a field that graphically hints the weekly product sales", - "version": "16.0.1.0.1", - "development_status": "Beta", - "category": "Sale", - "website": "https://github.com/OCA/sale-reporting", - "author": "Tecnativa, Odoo Community Association (OCA)", - "maintainers": ["chienandalu"], - "license": "AGPL-3", - "depends": ["sale_stock"], - "data": [ - "data/ir_cron.xml", - "security/product_sold_by_delivery_week_security.xml", - "views/product_views.xml", - "views/sale_views.xml", - ], - "post_init_hook": "post_init_hook", -} diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/data/ir_cron.xml b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/data/ir_cron.xml deleted file mode 100644 index 6dcf264f..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/data/ir_cron.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - Recalculate Weekly Delivered Products - 1 - weeks - -1 - - - model._action_recalculate_all_weekly_sold_delivered() - code - - diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/hooks.py b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/hooks.py deleted file mode 100644 index 19f4b8ac..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/hooks.py +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright 2017-2018 Tecnativa - Pedro M. Baeza -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo import SUPERUSER_ID, api - - -def post_init_hook(cr, registry): - env = api.Environment(cr, SUPERUSER_ID, {}) - env["product.product"]._action_recalculate_all_weekly_sold_delivered() diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/i18n/bs.po b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/i18n/bs.po deleted file mode 100644 index 5f6b6fb7..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/i18n/bs.po +++ /dev/null @@ -1,63 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * product_sold_by_delivery_week -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: product_sold_by_delivery_week -#: model:ir.model,name:product_sold_by_delivery_week.model_product_template -msgid "Product" -msgstr "Artikal" - -#. module: product_sold_by_delivery_week -#: model:ir.model,name:product_sold_by_delivery_week.model_product_product -msgid "Product Variant" -msgstr "Varijanta proizvoda" - -#. module: product_sold_by_delivery_week -#: model:ir.actions.server,name:product_sold_by_delivery_week.ir_cron_recalculate_all_weekly_sold_delivered_ir_actions_server -#: model:ir.cron,cron_name:product_sold_by_delivery_week.ir_cron_recalculate_all_weekly_sold_delivered -msgid "Recalculate Weekly Delivered Products" -msgstr "Recalculate Weekly Delivered Products" - -#. module: product_sold_by_delivery_week -#: model:ir.model,name:product_sold_by_delivery_week.model_sale_order_line -msgid "Sales Order Line" -msgstr "Stavka prodajne narudžbe" - -#. module: product_sold_by_delivery_week -#: model:ir.model,name:product_sold_by_delivery_week.model_stock_move -msgid "Stock Move" -msgstr "Skladišno kretanje" - -#. module: product_sold_by_delivery_week -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_product_product__weekly_sold_delivered_shown -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_product_template__weekly_sold_delivered_shown -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_sale_order_line__weekly_sold_delivered_shown -msgid "Weekly Sold" -msgstr "Sedmično prodano" - -#. module: product_sold_by_delivery_week -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_product_product__weekly_sold_delivered -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_product_template__weekly_sold_delivered -msgid "Weekly Sold Delivered" -msgstr "Sedmično prodano i isporučeno" - -#. module: product_sold_by_delivery_week -#: model:res.groups,name:product_sold_by_delivery_week.group_weekly_selling_order_line -msgid "Weekly selling info in order lines" -msgstr "Weekly selling info in order lines" - -#. module: product_sold_by_delivery_week -#: model:res.groups,name:product_sold_by_delivery_week.group_weekly_selling_product_list -msgid "Weekly selling info in product list" -msgstr "Weekly selling info in product list" diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/i18n/es.po b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/i18n/es.po deleted file mode 100644 index 2cac9a24..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/i18n/es.po +++ /dev/null @@ -1,70 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * product_sold_by_delivery_week -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 13.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-17 18:34+0000\n" -"PO-Revision-Date: 2023-09-03 13:40+0000\n" -"Last-Translator: Ivorra78 \n" -"Language-Team: \n" -"Language: es\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" - -#. module: product_sold_by_delivery_week -#: model:ir.model,name:product_sold_by_delivery_week.model_product_template -msgid "Product" -msgstr "Producto" - -#. module: product_sold_by_delivery_week -#: model:ir.model,name:product_sold_by_delivery_week.model_product_product -msgid "Product Variant" -msgstr "Variante del producto" - -#. module: product_sold_by_delivery_week -#: model:ir.actions.server,name:product_sold_by_delivery_week.ir_cron_recalculate_all_weekly_sold_delivered_ir_actions_server -#: model:ir.cron,cron_name:product_sold_by_delivery_week.ir_cron_recalculate_all_weekly_sold_delivered -msgid "Recalculate Weekly Delivered Products" -msgstr "Recalcular productos entregados semanalmente" - -#. module: product_sold_by_delivery_week -#: model:ir.model,name:product_sold_by_delivery_week.model_sale_order_line -msgid "Sales Order Line" -msgstr "Línea de pedido de venta" - -#. module: product_sold_by_delivery_week -#: model:ir.model,name:product_sold_by_delivery_week.model_stock_move -msgid "Stock Move" -msgstr "Movimiento de existencias" - -#. module: product_sold_by_delivery_week -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_product_product__weekly_sold_delivered_shown -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_product_template__weekly_sold_delivered_shown -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_sale_order_line__weekly_sold_delivered_shown -msgid "Weekly Sold" -msgstr "Venta semanal" - -#. module: product_sold_by_delivery_week -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_product_product__weekly_sold_delivered -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_product_template__weekly_sold_delivered -msgid "Weekly Sold Delivered" -msgstr "Vendidos y entregados semanalmente" - -#. module: product_sold_by_delivery_week -#: model:res.groups,name:product_sold_by_delivery_week.group_weekly_selling_order_line -msgid "Weekly selling info in order lines" -msgstr "Información de venta semanal en líneas de pedido" - -#. module: product_sold_by_delivery_week -#: model:res.groups,name:product_sold_by_delivery_week.group_weekly_selling_product_list -msgid "Weekly selling info in product list" -msgstr "Información de venta semanal en lista de productos" - -#~ msgid "Product Template" -#~ msgstr "Plantilla de producto" diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/i18n/it.po b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/i18n/it.po deleted file mode 100644 index 9f7e08e8..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/i18n/it.po +++ /dev/null @@ -1,66 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * product_sold_by_delivery_week -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2023-12-12 11:34+0000\n" -"Last-Translator: mymage \n" -"Language-Team: none\n" -"Language: it\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" - -#. module: product_sold_by_delivery_week -#: model:ir.model,name:product_sold_by_delivery_week.model_product_template -msgid "Product" -msgstr "Prodotto" - -#. module: product_sold_by_delivery_week -#: model:ir.model,name:product_sold_by_delivery_week.model_product_product -msgid "Product Variant" -msgstr "Variante prodotto" - -#. module: product_sold_by_delivery_week -#: model:ir.actions.server,name:product_sold_by_delivery_week.ir_cron_recalculate_all_weekly_sold_delivered_ir_actions_server -#: model:ir.cron,cron_name:product_sold_by_delivery_week.ir_cron_recalculate_all_weekly_sold_delivered -msgid "Recalculate Weekly Delivered Products" -msgstr "Ricalcolo prdotti consegnati settimanalmente" - -#. module: product_sold_by_delivery_week -#: model:ir.model,name:product_sold_by_delivery_week.model_sale_order_line -msgid "Sales Order Line" -msgstr "Riga ordine di vendita" - -#. module: product_sold_by_delivery_week -#: model:ir.model,name:product_sold_by_delivery_week.model_stock_move -msgid "Stock Move" -msgstr "Movimento di magazzino" - -#. module: product_sold_by_delivery_week -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_product_product__weekly_sold_delivered_shown -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_product_template__weekly_sold_delivered_shown -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_sale_order_line__weekly_sold_delivered_shown -msgid "Weekly Sold" -msgstr "Venduto settimanale" - -#. module: product_sold_by_delivery_week -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_product_product__weekly_sold_delivered -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_product_template__weekly_sold_delivered -msgid "Weekly Sold Delivered" -msgstr "Cnsegnato vendite settimanali" - -#. module: product_sold_by_delivery_week -#: model:res.groups,name:product_sold_by_delivery_week.group_weekly_selling_order_line -msgid "Weekly selling info in order lines" -msgstr "Informazioni vendite settimanali nelle righe ordine" - -#. module: product_sold_by_delivery_week -#: model:res.groups,name:product_sold_by_delivery_week.group_weekly_selling_product_list -msgid "Weekly selling info in product list" -msgstr "Informazioni vendite settimanali nell'elenco prodotti" diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/i18n/product_sold_by_delivery_week.pot b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/i18n/product_sold_by_delivery_week.pot deleted file mode 100644 index f40ce882..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/i18n/product_sold_by_delivery_week.pot +++ /dev/null @@ -1,63 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * product_sold_by_delivery_week -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: product_sold_by_delivery_week -#: model:ir.model,name:product_sold_by_delivery_week.model_product_template -msgid "Product" -msgstr "" - -#. module: product_sold_by_delivery_week -#: model:ir.model,name:product_sold_by_delivery_week.model_product_product -msgid "Product Variant" -msgstr "" - -#. module: product_sold_by_delivery_week -#: model:ir.actions.server,name:product_sold_by_delivery_week.ir_cron_recalculate_all_weekly_sold_delivered_ir_actions_server -#: model:ir.cron,cron_name:product_sold_by_delivery_week.ir_cron_recalculate_all_weekly_sold_delivered -msgid "Recalculate Weekly Delivered Products" -msgstr "" - -#. module: product_sold_by_delivery_week -#: model:ir.model,name:product_sold_by_delivery_week.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: product_sold_by_delivery_week -#: model:ir.model,name:product_sold_by_delivery_week.model_stock_move -msgid "Stock Move" -msgstr "" - -#. module: product_sold_by_delivery_week -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_product_product__weekly_sold_delivered_shown -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_product_template__weekly_sold_delivered_shown -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_sale_order_line__weekly_sold_delivered_shown -msgid "Weekly Sold" -msgstr "" - -#. module: product_sold_by_delivery_week -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_product_product__weekly_sold_delivered -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_product_template__weekly_sold_delivered -msgid "Weekly Sold Delivered" -msgstr "" - -#. module: product_sold_by_delivery_week -#: model:res.groups,name:product_sold_by_delivery_week.group_weekly_selling_order_line -msgid "Weekly selling info in order lines" -msgstr "" - -#. module: product_sold_by_delivery_week -#: model:res.groups,name:product_sold_by_delivery_week.group_weekly_selling_product_list -msgid "Weekly selling info in product list" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/i18n/pt_BR.po b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/i18n/pt_BR.po deleted file mode 100644 index c2e2b58b..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/i18n/pt_BR.po +++ /dev/null @@ -1,67 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * product_sold_by_delivery_week -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2024-05-29 16:37+0000\n" -"Last-Translator: Rodrigo Macedo \n" -"Language-Team: none\n" -"Language: pt_BR\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.17\n" - -#. module: product_sold_by_delivery_week -#: model:ir.model,name:product_sold_by_delivery_week.model_product_template -msgid "Product" -msgstr "Produto" - -#. module: product_sold_by_delivery_week -#: model:ir.model,name:product_sold_by_delivery_week.model_product_product -msgid "Product Variant" -msgstr "Variante do Produto" - -#. module: product_sold_by_delivery_week -#: model:ir.actions.server,name:product_sold_by_delivery_week.ir_cron_recalculate_all_weekly_sold_delivered_ir_actions_server -#: model:ir.cron,cron_name:product_sold_by_delivery_week.ir_cron_recalculate_all_weekly_sold_delivered -msgid "Recalculate Weekly Delivered Products" -msgstr "Recalcular produtos entregues semanalmente" - -#. module: product_sold_by_delivery_week -#: model:ir.model,name:product_sold_by_delivery_week.model_sale_order_line -msgid "Sales Order Line" -msgstr "Linha de ordem de venda" - -#. module: product_sold_by_delivery_week -#: model:ir.model,name:product_sold_by_delivery_week.model_stock_move -msgid "Stock Move" -msgstr "Movimento de estoque" - -#. module: product_sold_by_delivery_week -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_product_product__weekly_sold_delivered_shown -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_product_template__weekly_sold_delivered_shown -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_sale_order_line__weekly_sold_delivered_shown -msgid "Weekly Sold" -msgstr "Vendido semanalmente" - -#. module: product_sold_by_delivery_week -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_product_product__weekly_sold_delivered -#: model:ir.model.fields,field_description:product_sold_by_delivery_week.field_product_template__weekly_sold_delivered -msgid "Weekly Sold Delivered" -msgstr "Vendido semanalmente entregue" - -#. module: product_sold_by_delivery_week -#: model:res.groups,name:product_sold_by_delivery_week.group_weekly_selling_order_line -msgid "Weekly selling info in order lines" -msgstr "Informações de vendas semanais em linhas de pedidos" - -#. module: product_sold_by_delivery_week -#: model:res.groups,name:product_sold_by_delivery_week.group_weekly_selling_product_list -msgid "Weekly selling info in product list" -msgstr "Informações de vendas semanais na lista de produtos" diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/models/__init__.py b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/models/__init__.py deleted file mode 100644 index 67a036c4..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/models/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -from . import product_product -from . import product_template -from . import sale_order -from . import stock_move diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/models/product_product.py b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/models/product_product.py deleted file mode 100644 index 05b905b8..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/models/product_product.py +++ /dev/null @@ -1,169 +0,0 @@ -# Copyright 2021 Tecnativa - David Vidal -# Copyright 2021 Tecnativa - Carlos Dauden -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -from babel.dates import DateTimeFormat - -from odoo import api, fields, models -from odoo.tools import date_utils - - -class ProductProduct(models.Model): - _inherit = "product.product" - - weekly_sold_delivered = fields.Char( - company_dependent=True, - groups="sales_team.group_sale_salesman", - ) - weekly_sold_delivered_shown = fields.Char( - string="Weekly Sold", - compute="_compute_weekly_sold_delivered_shown", - groups="sales_team.group_sale_salesman", - ) - - @api.model - def _format_weekly_string(self, weekly_string): - params = self.env["ir.config_parameter"].sudo() - sold_char = params.get_param("product_sold_by_delivery_week.sold_char", "●") - not_sold_char = params.get_param( - "product_sold_by_delivery_week.not_sold_char", "◌" - ) - return weekly_string and "".join( - [int(c) and sold_char or not_sold_char for c in weekly_string] - ) - - @api.depends("weekly_sold_delivered") - def _compute_weekly_sold_delivered_shown(self): - """This field is meant to be used only for display purposes so we can use custom - characters show the sales stream. We want to keep the stored one as base 2 - string so we can perform bitwise operations easily""" - services = self.filtered(lambda x: x.type == "service") - services.weekly_sold_delivered_shown = False - for product in self - services: - product.weekly_sold_delivered_shown = self._format_weekly_string( - product.weekly_sold_delivered - ) - - def _weekly_sold_delivered_domain(self, date_start, date_end): - warehouse_id = self.env.context.get("weekly_warehouse_id") - partner_id = self.env.context.get("weekly_partner_id") - # Previous search to improve performance instead of using the ORM huge ids sql - picking_type_domain = [ - ("company_id", "=", self.env.company.id), - ("code", "=", "outgoing"), - ] - if warehouse_id: - picking_type_domain += [("warehouse_id", "=", warehouse_id)] - picking_types = self.env["stock.picking.type"].search(picking_type_domain) - picking_domain = [ - ("date_done", ">=", date_start), - ("date_done", "<", date_end), - ("picking_type_id", "in", picking_types.ids), - ] - if partner_id: - picking_domain += [("partner_id", "child_of", partner_id)] - pickings = self.env["stock.picking"].search(picking_domain) - domain = [ - ("product_id", "in", self.ids), - ("picking_id", "in", pickings.ids), - ("state", "=", "done"), - ("sale_line_id", "!=", False), - ] - return domain - - def _weekly_sold_delivered(self): - params = self.env["ir.config_parameter"].sudo() - weeks_to_consider = int( - params.get_param("product_sold_by_delivery_week.weeks_to_consider", 6) - ) - delta_one_week = date_utils.get_timedelta(1, "week") - start_of_this_week = date_utils.start_of(fields.Datetime.today(), "week") - start_of_next_week = start_of_this_week + delta_one_week - start_of_period = start_of_this_week - date_utils.get_timedelta( - weeks_to_consider - 1, "week" - ) - date_range = date_utils.date_range( - start_of_period, start_of_next_week, delta_one_week - ) - # We'll reuse this dictionary to obtain the final string - week_dates_dict = {} - for week_position in range(weeks_to_consider): - locale_date = DateTimeFormat( - next(date_range), locale=self.env.user.lang or "en_US" - ) - week_dates_dict[week_position] = ( - int(locale_date["w"]), - int(locale_date["y"]), - ) - # Get all the results in a single query - sold_grouped = self.env["stock.move"].read_group( - self._weekly_sold_delivered_domain(start_of_period, start_of_next_week), - ["date", "product_id"], - ["date:week", "product_id"], - lazy=False, - ) - if not sold_grouped: - return {p: "0" * weeks_to_consider for p in self} - weekly_product_ids = {} - for date_product in sold_grouped: - (int(date_product["date:week"][1:3]), int(date_product["date:week"][-4:])) - week_year_tuple = ( - int(date_product["date:week"][1:3]), - int(date_product["date:week"][-4:]), - ) - weekly_product_ids.setdefault(week_year_tuple, []) - weekly_product_ids[week_year_tuple].append(date_product["product_id"][0]) - # We'll get a dict like this - # { - # product.product(1,): '000000', - # product.product(2,): '010110', - # product.product(3,): '000010', - # } - products_weekly = {} - for product in self: - products_weekly[product] = "".join( - [ - product.id in weekly_product_ids.get(w, []) and "1" or "0" - for p, w in week_dates_dict.items() - ] - ) - return products_weekly - - def _recalculate_weekly_sold_delivered(self): - """Over this recordset recalculate the whole strings. We end up with something - like '010111'. Later we can transform it into something nicer for the user.""" - products_weekly = self._weekly_sold_delivered() - # But we want to group by string result so we can minimize the final records - # writes. The number of writes will depends on the variety of the weekly sales - # up to a maximum given by the parameter `weeks_to_consider` allows us in bits. - # So for 8 weeks, a maximum of 256 writes would be made. - weekly_result_dict = {} - for product, weekly_string in products_weekly.items(): - weekly_result_dict.setdefault(weekly_string, self.env["product.product"]) - weekly_result_dict[weekly_string] |= product - for weekly_string, product_recordset in weekly_result_dict.items(): - if not product_recordset: - continue - product_recordset.with_company(self.env.company).write( - {"weekly_sold_delivered": weekly_string} - ) - - @api.model - def _action_recalculate_all_weekly_sold_delivered(self): - """To be launched by the cron or the init hook""" - companies = self.env["res.company"].search([]) - for company in companies: - products = ( - self.env["product.product"] - .search( - [ - ("type", "!=", "service"), - "|", - ("company_id", "=", company.id), - ("company_id", "=", False), - ] - ) - .with_company(company) - ) - if not products: - continue - products._recalculate_weekly_sold_delivered() diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/models/product_template.py b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/models/product_template.py deleted file mode 100644 index 7ff1d3f9..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/models/product_template.py +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 2021 Tecnativa - David Vidal -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -from odoo import api, fields, models - - -class ProductTemplate(models.Model): - _inherit = "product.template" - - weekly_sold_delivered = fields.Char( - compute="_compute_weekly_sold_delivered", - groups="sales_team.group_sale_salesman", - readonly=True, - ) - weekly_sold_delivered_shown = fields.Char( - string="Weekly Sold", - compute="_compute_weekly_sold_delivered_shown", - groups="sales_team.group_sale_salesman", - ) - - @api.depends("weekly_sold_delivered") - def _compute_weekly_sold_delivered_shown(self): - """This fields is meant to be used only for display purposes so we can - use custom characters show the sales stream. We want to keep the stored - one as base 2 string so we can perform bitwise operations easily""" - params = self.env["ir.config_parameter"].sudo() - sold_char = params.get_param("product_sold_by_delivery_week.sold_char", "●") - not_sold_char = params.get_param( - "product_sold_by_delivery_week.not_sold_char", "◌" - ) - not_service_products = self.filtered(lambda x: x.type != "service") - (self - not_service_products).weekly_sold_delivered_shown = False - for product in self.filtered(lambda x: x.type != "service"): - product.weekly_sold_delivered_shown = ( - product.weekly_sold_delivered - and "".join( - [ - int(c) and sold_char or not_sold_char - for c in product.weekly_sold_delivered - ] - ) - ) - - @api.depends_context("company") - @api.depends("product_variant_ids.weekly_sold_delivered") - def _compute_weekly_sold_delivered(self): - """Perform a bitwise operation over the variant values to easily check - whether or not any of them has been sold""" - params = self.env["ir.config_parameter"].sudo() - weeks_to_consider = params.get_param( - "product_sold_by_delivery_week.weeks_to_consider", 6 - ) - self.weekly_sold_delivered = False - for product in self.filtered(lambda x: x.type != "service"): - if len(product.product_variant_ids) == 1: - product.weekly_sold_delivered = ( - product.product_variant_ids.weekly_sold_delivered - ) - variants_weekly_sold_delivered = product.product_variant_ids.mapped( - "weekly_sold_delivered" - ) - if not variants_weekly_sold_delivered: - continue - # The computed value is stored in the form of '0' and '1' strings so - # bitwise operations are easilly done. - weekly_sold_delivered = int( - variants_weekly_sold_delivered.pop() or "0", base=2 - ) - while variants_weekly_sold_delivered: - weekly_sold_delivered = weekly_sold_delivered | int( - variants_weekly_sold_delivered.pop() or "0", base=2 - ) - product.weekly_sold_delivered = "{:0{}b}".format( - weekly_sold_delivered, weeks_to_consider - ) diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/models/sale_order.py b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/models/sale_order.py deleted file mode 100644 index 2cadd4b0..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/models/sale_order.py +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2021 Tecnativa - David Vidal -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -from collections import defaultdict - -from odoo import api, fields, models - - -class SaleOrderLine(models.Model): - _inherit = "sale.order.line" - - weekly_sold_delivered_shown = fields.Char( - string="Weekly Sold", - compute="_compute_weekly_sold_delivered_shown", - ) - - def get_partner_for_reporting(self): - """get partner from line taking into account context parameters""" - if self.env.context.get("use_delivery_address", False): - return self.order_id.partner_shipping_id - return self.order_id.partner_id.commercial_partner_id - - @api.depends("order_id.partner_id", "order_id.warehouse_id", "product_id") - def _compute_weekly_sold_delivered_shown(self): - """Compute dinamically in the view""" - _format_weekly_string = self.env["product.product"]._format_weekly_string - self.weekly_sold_delivered_shown = False - partner_products_dic = defaultdict(lambda: self.env["product.product"].browse()) - to_process_lines = self.filtered( - lambda x: not x.display_type and x.product_id.type != "service" - ) - # Create dict with products by partner - for line in to_process_lines: - partner = line.get_partner_for_reporting() - partner_products_dic[partner] |= line.product_id - partner_products_weekly = {} - # Create dict with partner and product sold delivered info - for partner, products in partner_products_dic.items(): - partner_products_weekly[partner] = products.with_context( - weekly_partner_id=partner.id, - )._weekly_sold_delivered() - for line in to_process_lines: - partner = line.get_partner_for_reporting() - line.weekly_sold_delivered_shown = _format_weekly_string( - partner_products_weekly[partner].get(line.product_id) - ) diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/models/stock_move.py b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/models/stock_move.py deleted file mode 100644 index c9c9cf68..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/models/stock_move.py +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2021 Tecnativa - David Vidal -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -from odoo import models - - -class StockMove(models.Model): - _inherit = "stock.move" - - def _action_done(self, cancel_backorder=False): - """We don't need to recompute the whole string we just set the last char on as - it is the only possible truth. The cron well be in charge of reseting them every - week anyway.""" - moves_todo = super()._action_done(cancel_backorder=cancel_backorder) - products = ( - moves_todo.filtered( - lambda x: x.sale_line_id and x.picking_code == "outgoing" - ) - .mapped("product_id") - .with_company(self.company_id) - ) - for product in products.filtered( - lambda x: x.weekly_sold_delivered and x.weekly_sold_delivered[-1:] == "0" - ): - product.sudo().weekly_sold_delivered = ( - product.weekly_sold_delivered[:-1] + "1" - ) - return moves_todo diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/readme/CONFIGURE.rst b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/readme/CONFIGURE.rst deleted file mode 100644 index 88c7e299..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/readme/CONFIGURE.rst +++ /dev/null @@ -1,12 +0,0 @@ -Some variables can be configured using config parameter keys: - -- For hint characters: - - - For the sold char: `product_sold_by_delivery_week.sold_char` - - For the not sold: `product_sold_by_delivery_week.not_sold_char` - - For weeks length: `product_sold_by_delivery_week.weeks_to_consider` - -Assign the security group 'Weekly selling info in order lines' and/or -'Weekly selling info in product list' to users that should see weekly -sales info in product lists or in order lines. (If you want to see the -info in other views like product recommendations, this is not needed.) diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/readme/CONTRIBUTORS.rst deleted file mode 100644 index 709988a3..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,8 +0,0 @@ -* `Tecnativa `_: - - * David Vidal - * Carlos Dauden - * César A. Sánchez - * Luis D. Lafaurie - -* Jairo Llopis ([Moduon](https://www.moduon.team/)) diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/readme/DESCRIPTION.rst b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/readme/DESCRIPTION.rst deleted file mode 100644 index 1bfc0485..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/readme/DESCRIPTION.rst +++ /dev/null @@ -1,4 +0,0 @@ -This module allows to compute a graphical hint, stored in the product itself, -to display whether that product was sold and delivered in recent weeks. - -.. image:: ../static/description/sold_by_week_hint.png diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/readme/ROADMAP.rst b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/readme/ROADMAP.rst deleted file mode 100644 index 52ff4ecb..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/readme/ROADMAP.rst +++ /dev/null @@ -1,6 +0,0 @@ -* Services are not taken into consideration. -* A widget could be created on top of the main field to have nicer icons and - probably colors. -* For the near future, a configurable granularity would be desirable, so - behavior could be changed to years, months or days as the period of choice. - To simplify this module, only weekly periods will be considered for now. diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/readme/USAGE.rst b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/readme/USAGE.rst deleted file mode 100644 index 8a6c0e1b..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/readme/USAGE.rst +++ /dev/null @@ -1,8 +0,0 @@ -Once configured, hints will appear as an optional column in sale order -lines or in products tree. - -In the general products view, general sales info is shown. Meanwhile, in the -sale lines field we can see this field in context by simply filtering partner -sales. - -Only salespeople can access this information. diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/security/product_sold_by_delivery_week_security.xml b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/security/product_sold_by_delivery_week_security.xml deleted file mode 100644 index 6f8720b0..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/security/product_sold_by_delivery_week_security.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - Weekly selling info in order lines - - - - Weekly selling info in product list - - - diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/static/description/icon.png b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/static/description/icon.png deleted file mode 100644 index 4947d4e3..00000000 Binary files a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/static/description/icon.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/static/description/index.html b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/static/description/index.html deleted file mode 100644 index d34c2296..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/static/description/index.html +++ /dev/null @@ -1,472 +0,0 @@ - - - - - -Product weekly sales hint - - - -
-

Product weekly sales hint

- - -

Beta License: AGPL-3 OCA/sale-reporting Translate me on Weblate Try me on Runboat

-

This module allows to compute a graphical hint, stored in the product itself, -to display whether that product was sold and delivered in recent weeks.

-https://raw.githubusercontent.com/OCA/sale-reporting/16.0/product_sold_by_delivery_week/static/description/sold_by_week_hint.png -

Table of contents

- -
-

Configuration

-

Some variables can be configured using config parameter keys:

-
    -
  • For hint characters:
  • -
-
-
    -
  • For the sold char: product_sold_by_delivery_week.sold_char
  • -
  • For the not sold: product_sold_by_delivery_week.not_sold_char
  • -
  • For weeks length: product_sold_by_delivery_week.weeks_to_consider
  • -
-
-

Assign the security group ‘Weekly selling info in order lines’ and/or -‘Weekly selling info in product list’ to users that should see weekly -sales info in product lists or in order lines. (If you want to see the -info in other views like product recommendations, this is not needed.)

-
-
-

Usage

-

Once configured, hints will appear as an optional column in sale order -lines or in products tree.

-

In the general products view, general sales info is shown. Meanwhile, in the -sale lines field we can see this field in context by simply filtering partner -sales.

-

Only salespeople can access this information.

-
-
-

Known issues / Roadmap

-
    -
  • Services are not taken into consideration.
  • -
  • A widget could be created on top of the main field to have nicer icons and -probably colors.
  • -
  • For the near future, a configurable granularity would be desirable, so -behavior could be changed to years, months or days as the period of choice. -To simplify this module, only weekly periods will be considered for now.
  • -
-
-
-

Bug Tracker

-

Bugs are tracked on GitHub Issues. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

-

Do not contact contributors directly about support or help with technical issues.

-
-
-

Credits

-
-

Authors

-
    -
  • Tecnativa
  • -
-
-
-

Contributors

- -
-
-

Maintainers

-

This module is maintained by the OCA.

-Odoo Community Association -

OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use.

-

Current maintainer:

-

chienandalu

-

This module is part of the OCA/sale-reporting project on GitHub.

-

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

-
-
-
- - diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/static/description/sold_by_week_hint.png b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/static/description/sold_by_week_hint.png deleted file mode 100644 index 1bd21c64..00000000 Binary files a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/static/description/sold_by_week_hint.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/tests/__init__.py b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/tests/__init__.py deleted file mode 100644 index dd7691bf..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/tests/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import test_product_sold_by_delivery_week diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/tests/test_product_sold_by_delivery_week.py b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/tests/test_product_sold_by_delivery_week.py deleted file mode 100644 index 62617d04..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/tests/test_product_sold_by_delivery_week.py +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 2021 Camptocamp SA -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl) -from odoo.tests import TransactionCase, new_test_user - - -class TestProductSoldByDeliveryWeek(TransactionCase): - @classmethod - def setUpClass(cls): - super().setUpClass() - cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) - cls.partner = cls.env["res.partner"].create( - { - "name": "Partner for testing", - } - ) - cls.product = cls.env["product.product"].create( - { - "name": "Test product", - "detailed_type": "consu", - } - ) - cls.product_expense_product = cls.env["product.product"].create( - { - "name": "expense product for test", - "detailed_type": "service", - } - ) - cls.product.weekly_sold_delivered = "000000" - cls.product_expense_product.weekly_sold_delivered = "000000" - # Tests should pass with basic sale and stock access rights - cls.env = cls.env( - user=new_test_user( - cls.env, - login="test_user", - groups="stock.group_stock_user,sales_team.group_sale_salesman", - ) - ) - cls.order = cls.env["sale.order"].create( - { - "partner_id": cls.partner.id, - "order_line": [ - ( - 0, - 0, - { - "product_id": cls.product.id, - "product_uom": cls.product.uom_id.id, - "product_uom_qty": 3.0, - }, - ), - (0, 0, {"display_type": "line_section", "name": "Section"}), - ( - 0, - 0, - { - "product_id": cls.product_expense_product.id, - "product_uom": cls.product_expense_product.uom_id.id, - "product_uom_qty": 3.0, - }, - ), - ], - } - ) - - def test_01_check_delivered_message_without_parameters(self): - """Test the return message depending on the type of the product.""" - self.assertEqual(self.order.order_line[0].weekly_sold_delivered_shown, "◌◌◌◌◌◌") - self.assertEqual(self.order.order_line[1].weekly_sold_delivered_shown, False) - - def test_02_check_delivered_message_with_parameters(self): - """Test the definition of config parameters.""" - self.env["ir.config_parameter"].sudo().create( - [ - { - "key": "product_sold_by_delivery_week.sold_char", - "value": "R", - }, - { - "key": "product_sold_by_delivery_week.not_sold_char", - "value": "M", - }, - ] - ) - self.assertEqual(self.order.order_line[0].weekly_sold_delivered_shown, "MMMMMM") - self.assertEqual(self.order.order_line[1].weekly_sold_delivered_shown, False) - - def test_03_sale_stock_delivery_partial(self): - """Test a SO with a product on delivery.""" - # initial order - self.order.action_confirm() - self.assertTrue( - self.order.picking_ids, - 'Sale Stock: no picking created for "invoice on delivery" storable products', - ) - pick = self.order.picking_ids - pick.move_ids.write({"quantity_done": 3}) - pick.button_validate() - for line in pick.move_ids: - line._action_done() - self.assertEqual(line.product_id.weekly_sold_delivered, "000001") - self.assertEqual(line.product_id.weekly_sold_delivered_shown, "◌◌◌◌◌●") diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/views/product_views.xml b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/views/product_views.xml deleted file mode 100644 index d20697b3..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/views/product_views.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - product.template - - - - - - - - - - product.product - - - - - - - - - diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/views/sale_views.xml b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/views/sale_views.xml deleted file mode 100644 index 3848ef20..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/product_sold_by_delivery_week/views/sale_views.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - sale.order - - - - - - - - - diff --git a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/pyproject.toml b/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/pyproject.toml deleted file mode 100644 index 9f099559..00000000 --- a/odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week/pyproject.toml +++ /dev/null @@ -1,42 +0,0 @@ -[project] -name = "odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week" -version = "16.0.0" -description = "Product weekly sales hint - Adds a field that graphically hints the weekly product sales" -authors = [ - { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } -] -dependencies = [ - "odoo-bringout-oca-sale-reporting-sale_stock>=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 = ["product_sold_by_delivery_week"] - -[tool.rye] -managed = true -dev-dependencies = [ - "pytest>=8.4.1", -] diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/README.md b/odoo-bringout-oca-sale-reporting-sale_comment_template/README.md deleted file mode 100644 index 5bb6a6ab..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/README.md +++ /dev/null @@ -1,47 +0,0 @@ -# Sale Comments - -Odoo addon: sale_comment_template - -## Installation - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_comment_template -``` - -## Dependencies - -This addon depends on: -- sale -- account_comment_template - -## Manifest Information - -- **Name**: Sale Comments -- **Version**: 16.0.1.0.1 -- **Category**: Sale -- **License**: AGPL-3 -- **Installable**: True - -## Source - -Based on [OCA/sale-reporting](https://github.com/OCA/sale-reporting) branch 16.0, addon `sale_comment_template`. - -## License - -This package maintains the original AGPL-3 license from the upstream Odoo project. - -## 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/ARCHITECTURE.md b/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/ARCHITECTURE.md deleted file mode 100644 index f9232578..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/ARCHITECTURE.md +++ /dev/null @@ -1,32 +0,0 @@ -# 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 Sale_comment_template Module - sale_comment_template - 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/CONFIGURATION.md b/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/CONFIGURATION.md deleted file mode 100644 index cb07d154..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/CONFIGURATION.md +++ /dev/null @@ -1,3 +0,0 @@ -# Configuration - -Refer to Odoo settings for sale_comment_template. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/CONTROLLERS.md b/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/CONTROLLERS.md deleted file mode 100644 index f628e770..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/CONTROLLERS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Controllers - -This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/DEPENDENCIES.md b/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/DEPENDENCIES.md deleted file mode 100644 index 95415435..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/DEPENDENCIES.md +++ /dev/null @@ -1,6 +0,0 @@ -# Dependencies - -This addon depends on: - -- [sale](https://github.com/bringout/oca-ocb-sale/tree/681dc8d5fff638cb0862a34e48091a2098d091f8/odoo-bringout-oca-ocb-sale) -- [account_comment_template](https://github.com/bringout/oca-technical) diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/FAQ.md b/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/FAQ.md deleted file mode 100644 index be800e4e..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/FAQ.md +++ /dev/null @@ -1,4 +0,0 @@ -# FAQ - -- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). -- Q: How to enable? A: Start server with --addon sale_comment_template or install in UI. diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/INSTALL.md b/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/INSTALL.md deleted file mode 100644 index 952cc47d..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/INSTALL.md +++ /dev/null @@ -1,7 +0,0 @@ -# Install - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_comment_template" -# or -uv pip install odoo-bringout-oca-sale-reporting-sale_comment_template" -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/MODELS.md b/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/MODELS.md deleted file mode 100644 index 7e10ce9b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/MODELS.md +++ /dev/null @@ -1,12 +0,0 @@ -# Models - -Detected core models and extensions in sale_comment_template. - -```mermaid -classDiagram - class sale_order -``` - -Notes -- Classes show model technical names; fields omitted for brevity. -- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/OVERVIEW.md b/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/OVERVIEW.md deleted file mode 100644 index a501140d..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/OVERVIEW.md +++ /dev/null @@ -1,6 +0,0 @@ -# Overview - -Packaged Odoo addon: sale_comment_template. Provides features documented in upstream Odoo 16 under this addon. - -- Source: OCA/OCB 16.0, addon sale_comment_template -- License: LGPL-3 diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/REPORTS.md b/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/REPORTS.md deleted file mode 100644 index e0ea35fb..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/REPORTS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Reports - -This module does not define custom reports. diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/SECURITY.md b/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/SECURITY.md deleted file mode 100644 index 656be779..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/SECURITY.md +++ /dev/null @@ -1,34 +0,0 @@ -# Security - -Access control and security definitions in sale_comment_template. - -## Access Control Lists (ACLs) - -Model access permissions defined in: -- **[ir.model.access.csv](../sale_comment_template/security/ir.model.access.csv)** - - 2 model access rules - -## Record Rules - -Row-level security rules defined in: - -```mermaid -graph TB - subgraph "Security Layers" - A[Users] --> B[Groups] - B --> C[Access Control Lists] - C --> D[Models] - B --> E[Record Rules] - E --> F[Individual Records] - end -``` - -Security files overview: -- **[ir.model.access.csv](../sale_comment_template/security/ir.model.access.csv)** - - Model access permissions (CRUD rights) - -Notes -- Access Control Lists define which groups can access which models -- Record Rules provide row-level security (filter records by user/group) -- Security groups organize users and define permission sets -- All security is enforced at the ORM level by Odoo diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/TROUBLESHOOTING.md deleted file mode 100644 index 56853cb7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/TROUBLESHOOTING.md +++ /dev/null @@ -1,5 +0,0 @@ -# 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/USAGE.md b/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/USAGE.md deleted file mode 100644 index 51025080..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/USAGE.md +++ /dev/null @@ -1,7 +0,0 @@ -# Usage - -Start Odoo including this addon (from repo root): - -```bash -python3 scripts/nix_odoo_web_server.py --db-name mydb --addon sale_comment_template -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/WIZARDS.md b/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/WIZARDS.md deleted file mode 100644 index 48e790dc..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/doc/WIZARDS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Wizards - -This module does not include UI wizards. diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/pyproject.toml b/odoo-bringout-oca-sale-reporting-sale_comment_template/pyproject.toml deleted file mode 100644 index 07203a44..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/pyproject.toml +++ /dev/null @@ -1,43 +0,0 @@ -[project] -name = "odoo-bringout-oca-sale-reporting-sale_comment_template" -version = "16.0.0" -description = "Sale Comments - Comments texts templates on Sale documents" -authors = [ - { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } -] -dependencies = [ - "odoo-bringout-oca-ocb-sale>=16.0.0", - "odoo-bringout-oca-sale-reporting-account_comment_template>=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 = ["sale_comment_template"] - -[tool.rye] -managed = true -dev-dependencies = [ - "pytest>=8.4.1", -] diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/README.rst b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/README.rst deleted file mode 100644 index ae90ba63..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/README.rst +++ /dev/null @@ -1,115 +0,0 @@ -============= -Sale Comments -============= - -.. - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:a5668dd9e058678912852086917d34f8612a6f8c9d47e003e920bf42dbc4bfae - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png - :target: https://odoo-community.org/page/development-status - :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--reporting-lightgray.png?logo=github - :target: https://github.com/OCA/sale-reporting/tree/16.0/sale_comment_template - :alt: OCA/sale-reporting -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-reporting-16-0/sale-reporting-16-0-sale_comment_template - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-reporting&target_branch=16.0 - :alt: Try me on Runboat - -|badge1| |badge2| |badge3| |badge4| |badge5| - -Adds comments on sales orders. -The comments can be loaded from templates. - -Adds comments on - -#. sales orders: - - The comments can be loaded from templates. - - Two positions are available for the comments: - - - above sale order lines - - below sale order lines - - Comments are copied on the invoice when you will create invoice from sale order. - -**Table of contents** - -.. contents:: - :local: - -Installation -============ - -To install this module, you need to have the module -`account_comment_template`, available in `OCA/account-invoice-reporting -`_. - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -~~~~~~~ - -* Camptocamp -* Tecnativa - -Contributors -~~~~~~~~~~~~ - -* Nicolas Bessi -* Yannick Vaucher -* Simone Rubino -* Xavier Jimenez -* `Tecnativa `_: - - * Pedro M. Baeza - * Vicent Cubells - * Vicent Martínez -* `DynApps `_: - - * Raf Ven -* `ForgeFlow `_: -* Miquel Raïch -* Pierre Verkest -* `Jarsa `_: - - * Alan Ramos - -Maintainers -~~~~~~~~~~~ - -This module is maintained by the OCA. - -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org - -OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use. - -This module is part of the `OCA/sale-reporting `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/__init__.py b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/__init__.py deleted file mode 100644 index 83e553ac..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from . import models diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/__manifest__.py b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/__manifest__.py deleted file mode 100644 index 17574f0b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/__manifest__.py +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2013-2014 Nicolas Bessi (Camptocamp SA) -# Copyright 2018 Qubiq - Xavier Jiménez -# Copyright 2018 Tecnativa - Pedro M. Baeza -# Copyright 2021 Tecnativa - Víctor Martínez -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -{ - "name": "Sale Comments", - "summary": "Comments texts templates on Sale documents", - "version": "16.0.1.0.1", - "category": "Sale", - "website": "https://github.com/OCA/sale-reporting", - "author": "Camptocamp, Tecnativa, Odoo Community Association (OCA)", - "license": "AGPL-3", - "installable": True, - "depends": [ - "sale", - "account_comment_template", - ], - "data": [ - "views/sale_order_view.xml", - "views/base_comment_template_view.xml", - "views/report_saleorder.xml", - "security/ir.model.access.csv", - ], -} diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/i18n/bs.po b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/i18n/bs.po deleted file mode 100644 index 14efda56..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/i18n/bs.po +++ /dev/null @@ -1,39 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_comment_template -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_comment_template -#: model:ir.model.fields,field_description:sale_comment_template.field_sale_order__comment_template_ids -msgid "Comment Template" -msgstr "Predložak komentara" - -#. module: sale_comment_template -#: model_terms:ir.ui.view,arch_db:sale_comment_template.sale_order_form_add_comment -msgid "Comments" -msgstr "Komentari" - -#. module: sale_comment_template -#: model:ir.ui.menu,name:sale_comment_template.menu_base_comment_template_sale -msgid "Document Comments" -msgstr "Komentari dokumenata" - -#. module: sale_comment_template -#: model:ir.actions.act_window,name:sale_comment_template.action_sale_order_comment_template -msgid "Sale Orders Comments" -msgstr "Prodaja Nalogs Comments" - -#. module: sale_comment_template -#: model:ir.model,name:sale_comment_template.model_sale_order -msgid "Sales Order" -msgstr "Prodajni nalog" diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/i18n/de.po b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/i18n/de.po deleted file mode 100644 index 9c4951b9..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/i18n/de.po +++ /dev/null @@ -1,82 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_comment_template -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2020-03-23 15:13+0000\n" -"Last-Translator: Maria Sparenberg \n" -"Language-Team: none\n" -"Language: de\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 3.10\n" - -#. module: sale_comment_template -#: model:ir.model.fields,field_description:sale_comment_template.field_sale_order__comment_template_ids -msgid "Comment Template" -msgstr "" - -#. module: sale_comment_template -#: model_terms:ir.ui.view,arch_db:sale_comment_template.sale_order_form_add_comment -msgid "Comments" -msgstr "Textbausteine" - -#. module: sale_comment_template -#: model:ir.ui.menu,name:sale_comment_template.menu_base_comment_template_sale -msgid "Document Comments" -msgstr "Textbausteine" - -#. module: sale_comment_template -#: model:ir.actions.act_window,name:sale_comment_template.action_sale_order_comment_template -msgid "Sale Orders Comments" -msgstr "" - -#. module: sale_comment_template -#: model:ir.model,name:sale_comment_template.model_sale_order -msgid "Sales Order" -msgstr "" - -#~ msgid "Bottom Comment" -#~ msgstr "Suffix-Textbaustein" - -#~ msgid "Bottom Comment Template" -#~ msgstr "Suffix-Textbausteinvorlage" - -#~ msgid "Bottom Comments" -#~ msgstr "Suffix-Textbausteine" - -#~ msgid "Formatted Note" -#~ msgstr "Zusätzlicher Hinweis" - -#~ msgid "Load a template" -#~ msgstr "Textbausteinvorlage laden" - -#~ msgid "Sale Order" -#~ msgstr "Verkaufsauftrag" - -#~ msgid "Sales Order Line" -#~ msgstr "Auftragsposition" - -#~ msgid "" -#~ "The comments will be displayed on the printed document. You can load a " -#~ "predefined template, write your own text or load a template and then " -#~ "modify it only for this document." -#~ msgstr "" -#~ "Diese Textbausteine werden auf Dokumentbelegen gedruckt. Es kann eine " -#~ "bereits existierende Vorlage geladen, ein neuer eigenständiger Text " -#~ "geschrieben oder eine Vorlage nach dem Laden nur für dieses Dokument " -#~ "angepasst werden." - -#~ msgid "Top Comment" -#~ msgstr "Präfix-Textbaustein" - -#~ msgid "Top Comment Template" -#~ msgstr "Präfix-Textbausteinvorlage" - -#~ msgid "Top Comments" -#~ msgstr "Präfix-Textbausteine" diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/i18n/es.po b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/i18n/es.po deleted file mode 100644 index d808d2fc..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/i18n/es.po +++ /dev/null @@ -1,76 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_comment_template -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-10-18 06:40+0000\n" -"PO-Revision-Date: 2023-09-03 13:40+0000\n" -"Last-Translator: Ivorra78 \n" -"Language-Team: \n" -"Language: es\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" - -#. module: sale_comment_template -#: model:ir.model.fields,field_description:sale_comment_template.field_sale_order__comment_template_ids -msgid "Comment Template" -msgstr "Plantilla de comentario" - -#. module: sale_comment_template -#: model_terms:ir.ui.view,arch_db:sale_comment_template.sale_order_form_add_comment -msgid "Comments" -msgstr "Comentarios" - -#. module: sale_comment_template -#: model:ir.ui.menu,name:sale_comment_template.menu_base_comment_template_sale -msgid "Document Comments" -msgstr "Comentarios del documentos" - -#. module: sale_comment_template -#: model:ir.actions.act_window,name:sale_comment_template.action_sale_order_comment_template -msgid "Sale Orders Comments" -msgstr "Comentarios de órdenes de venta" - -#. module: sale_comment_template -#: model:ir.model,name:sale_comment_template.model_sale_order -msgid "Sales Order" -msgstr "Órdenes de venta" - -#~ msgid "Bottom Comment" -#~ msgstr "Comentario inferior" - -#~ msgid "Bottom Comment Template" -#~ msgstr "Plantilla del comentario inferior" - -#~ msgid "Bottom Comments" -#~ msgstr "Comentarios de la parte inferior" - -#~ msgid "Load a template" -#~ msgstr "Cargar una plantialla" - -#~ msgid "" -#~ "The comments will be displayed on the printed document. You can load a " -#~ "predefined template, write your own text or load a template and then " -#~ "modify it only for this document." -#~ msgstr "" -#~ "Los comentarios se mostrarán en los documentos impresos. Puede cargar una " -#~ "plantilla pedefinida, escribir su propio texto o cargar una plantilla y " -#~ "modificarla para este documento." - -#~ msgid "Top Comment" -#~ msgstr "Comentario superior" - -#~ msgid "Top Comment Template" -#~ msgstr "Plantilla del comentario superior" - -#~ msgid "Top Comments" -#~ msgstr "Comentarios de la parte superior" - -#~ msgid "Quotation" -#~ msgstr "Presupuesto" diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/i18n/fr.po b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/i18n/fr.po deleted file mode 100644 index 8491e3c2..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/i18n/fr.po +++ /dev/null @@ -1,80 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_comment_template -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-26 16:28+0000\n" -"PO-Revision-Date: 2014-10-22 08:13+0000\n" -"Last-Translator: <>\n" -"Language-Team: \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_comment_template -#: model:ir.model.fields,field_description:sale_comment_template.field_sale_order__comment_template_ids -msgid "Comment Template" -msgstr "" - -#. module: sale_comment_template -#: model_terms:ir.ui.view,arch_db:sale_comment_template.sale_order_form_add_comment -msgid "Comments" -msgstr "Commentaires" - -#. module: sale_comment_template -#: model:ir.ui.menu,name:sale_comment_template.menu_base_comment_template_sale -msgid "Document Comments" -msgstr "Commentaires de documents" - -#. module: sale_comment_template -#: model:ir.actions.act_window,name:sale_comment_template.action_sale_order_comment_template -msgid "Sale Orders Comments" -msgstr "" - -#. module: sale_comment_template -#: model:ir.model,name:sale_comment_template.model_sale_order -msgid "Sales Order" -msgstr "" - -#~ msgid "Bottom Comment" -#~ msgstr "Commentaires du bas" - -#~ msgid "Bottom Comment Template" -#~ msgstr "Modèle de commentaire du bas" - -#~ msgid "Bottom Comments" -#~ msgstr "Commentaires du bas" - -#~ msgid "Load a template" -#~ msgstr "Utiliser un modèle" - -#, fuzzy -#~ msgid "Sale Order" -#~ msgstr "Commande" - -#, fuzzy -#~ msgid "Sales Order Line" -#~ msgstr "Commande" - -#~ msgid "" -#~ "The comments will be displayed on the printed document. You can load a " -#~ "predefined template, write your own text or load a template and then " -#~ "modify it only for this document." -#~ msgstr "" -#~ "Les commentaires seront affichés sur le document imprimé. Vous pouvez " -#~ "charger un modèle prédéfini, écrire votre propre texte ou encore charger " -#~ "un modèle puis le modifier uniquement pour ce document." - -#~ msgid "Top Comment" -#~ msgstr "Commentaire du haut" - -#~ msgid "Top Comment Template" -#~ msgstr "Modèle de commentaire du haut" - -#~ msgid "Top Comments" -#~ msgstr "Commentaires du haut" diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/i18n/it.po b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/i18n/it.po deleted file mode 100644 index 97edc7d1..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/i18n/it.po +++ /dev/null @@ -1,90 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_comment_template -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2023-01-18 12:06+0000\n" -"Last-Translator: Francesco Foresti \n" -"Language-Team: none\n" -"Language: it\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.14.1\n" - -#. module: sale_comment_template -#: model:ir.model.fields,field_description:sale_comment_template.field_sale_order__comment_template_ids -msgid "Comment Template" -msgstr "Modello commento" - -#. module: sale_comment_template -#: model_terms:ir.ui.view,arch_db:sale_comment_template.sale_order_form_add_comment -msgid "Comments" -msgstr "Commenti" - -#. module: sale_comment_template -#: model:ir.ui.menu,name:sale_comment_template.menu_base_comment_template_sale -msgid "Document Comments" -msgstr "Commenti del documento" - -#. module: sale_comment_template -#: model:ir.actions.act_window,name:sale_comment_template.action_sale_order_comment_template -msgid "Sale Orders Comments" -msgstr "Commenti ordini vendita" - -#. module: sale_comment_template -#: model:ir.model,name:sale_comment_template.model_sale_order -msgid "Sales Order" -msgstr "Ordine di vendita" - -#~ msgid "Display Name" -#~ msgstr "Nome visualizzato" - -#~ msgid "ID" -#~ msgstr "ID" - -#~ msgid "Last Modified on" -#~ msgstr "Ultima modifica il" - -#~ msgid "Bottom Comment" -#~ msgstr "Commento in basso" - -#~ msgid "Bottom Comment Template" -#~ msgstr "Modello commento in basso" - -#~ msgid "Bottom Comments" -#~ msgstr "Commenti in basso" - -#~ msgid "Formatted Note" -#~ msgstr "Nota formattata" - -#~ msgid "Load a template" -#~ msgstr "Carica un modello" - -#~ msgid "Sale Order" -#~ msgstr "Ordine di vendita" - -#~ msgid "Sales Order Line" -#~ msgstr "Riga ordine di vendita" - -#~ msgid "" -#~ "The comments will be displayed on the printed document. You can load a " -#~ "predefined template, write your own text or load a template and then " -#~ "modify it only for this document." -#~ msgstr "" -#~ "I commenti saranno mostrati sul documento stampato. Puoi caricare un " -#~ "modello predefinito, scrivi il tuo testo o carica un modello e poi " -#~ "modificalo solo per questo documento." - -#~ msgid "Top Comment" -#~ msgstr "Commento in alto" - -#~ msgid "Top Comment Template" -#~ msgstr "Modello commento in alto" - -#~ msgid "Top Comments" -#~ msgstr "Commenti in alto" diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/i18n/pt.po b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/i18n/pt.po deleted file mode 100644 index 88523df1..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/i18n/pt.po +++ /dev/null @@ -1,81 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_comment_template -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2020-03-23 15:13+0000\n" -"Last-Translator: Pedro Castro Silva \n" -"Language-Team: none\n" -"Language: pt\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 3.10\n" - -#. module: sale_comment_template -#: model:ir.model.fields,field_description:sale_comment_template.field_sale_order__comment_template_ids -msgid "Comment Template" -msgstr "" - -#. module: sale_comment_template -#: model_terms:ir.ui.view,arch_db:sale_comment_template.sale_order_form_add_comment -msgid "Comments" -msgstr "Comentários" - -#. module: sale_comment_template -#: model:ir.ui.menu,name:sale_comment_template.menu_base_comment_template_sale -msgid "Document Comments" -msgstr "Comentários do Documento" - -#. module: sale_comment_template -#: model:ir.actions.act_window,name:sale_comment_template.action_sale_order_comment_template -msgid "Sale Orders Comments" -msgstr "" - -#. module: sale_comment_template -#: model:ir.model,name:sale_comment_template.model_sale_order -msgid "Sales Order" -msgstr "" - -#~ msgid "Bottom Comment" -#~ msgstr "Comentários de Fundo" - -#~ msgid "Bottom Comment Template" -#~ msgstr "Modelo de Comentários de Fundo" - -#~ msgid "Bottom Comments" -#~ msgstr "Comentários de Fundo" - -#~ msgid "Formatted Note" -#~ msgstr "Nota Formatada" - -#~ msgid "Load a template" -#~ msgstr "Carregar um modelo" - -#~ msgid "Sale Order" -#~ msgstr "Encomenda de Venda" - -#~ msgid "Sales Order Line" -#~ msgstr "Linha de Encomenda de Venda" - -#~ msgid "" -#~ "The comments will be displayed on the printed document. You can load a " -#~ "predefined template, write your own text or load a template and then " -#~ "modify it only for this document." -#~ msgstr "" -#~ "Os comentários serão exibidos no documento impresso. Pode carregar um " -#~ "modelo predefinido, escrever o seu próprio texto ou carregar um modelo e " -#~ "depois modificá-lo apenas para este documento." - -#~ msgid "Top Comment" -#~ msgstr "Comentário de Topo" - -#~ msgid "Top Comment Template" -#~ msgstr "Modelo de Comentário de Topo" - -#~ msgid "Top Comments" -#~ msgstr "Comentários de Topo" diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/i18n/sale_comment_template.pot b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/i18n/sale_comment_template.pot deleted file mode 100644 index 6a156f10..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/i18n/sale_comment_template.pot +++ /dev/null @@ -1,39 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_comment_template -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_comment_template -#: model:ir.model.fields,field_description:sale_comment_template.field_sale_order__comment_template_ids -msgid "Comment Template" -msgstr "" - -#. module: sale_comment_template -#: model_terms:ir.ui.view,arch_db:sale_comment_template.sale_order_form_add_comment -msgid "Comments" -msgstr "" - -#. module: sale_comment_template -#: model:ir.ui.menu,name:sale_comment_template.menu_base_comment_template_sale -msgid "Document Comments" -msgstr "" - -#. module: sale_comment_template -#: model:ir.actions.act_window,name:sale_comment_template.action_sale_order_comment_template -msgid "Sale Orders Comments" -msgstr "" - -#. module: sale_comment_template -#: model:ir.model,name:sale_comment_template.model_sale_order -msgid "Sales Order" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/models/__init__.py b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/models/__init__.py deleted file mode 100644 index d12c5efd..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/models/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from . import sale_order diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/models/sale_order.py b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/models/sale_order.py deleted file mode 100644 index f08f05e7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/models/sale_order.py +++ /dev/null @@ -1,10 +0,0 @@ -# Copyright 2013-2014 Nicolas Bessi (Camptocamp SA) -# Copyright 2021 Tecnativa - Víctor Martínez -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from odoo import models - - -class SaleOrder(models.Model): - _name = "sale.order" - _inherit = ["sale.order", "comment.template"] diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/readme/CONTRIBUTORS.rst deleted file mode 100644 index f04713e0..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,18 +0,0 @@ -* Nicolas Bessi -* Yannick Vaucher -* Simone Rubino -* Xavier Jimenez -* `Tecnativa `_: - - * Pedro M. Baeza - * Vicent Cubells - * Vicent Martínez -* `DynApps `_: - - * Raf Ven -* `ForgeFlow `_: -* Miquel Raïch -* Pierre Verkest -* `Jarsa `_: - - * Alan Ramos diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/readme/DESCRIPTION.rst b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/readme/DESCRIPTION.rst deleted file mode 100644 index 2fe6c3d3..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/readme/DESCRIPTION.rst +++ /dev/null @@ -1,15 +0,0 @@ -Adds comments on sales orders. -The comments can be loaded from templates. - -Adds comments on - -#. sales orders: - - The comments can be loaded from templates. - - Two positions are available for the comments: - - - above sale order lines - - below sale order lines - - Comments are copied on the invoice when you will create invoice from sale order. diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/readme/INSTALL.rst b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/readme/INSTALL.rst deleted file mode 100644 index 59964aac..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/readme/INSTALL.rst +++ /dev/null @@ -1,3 +0,0 @@ -To install this module, you need to have the module -`account_comment_template`, available in `OCA/account-invoice-reporting -`_. diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/security/ir.model.access.csv b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/security/ir.model.access.csv deleted file mode 100644 index 3548fd44..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/security/ir.model.access.csv +++ /dev/null @@ -1,3 +0,0 @@ -id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -access_base_comment_template_sale_user,access_base_comment_template sale user,base_comment_template.model_base_comment_template,sales_team.group_sale_salesman,1,0,0,0 -access_base_comment_template_sale_manager,access_base_comment_template sale manager,base_comment_template.model_base_comment_template,sales_team.group_sale_manager,1,1,1,1 diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/static/description/icon.png b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/static/description/icon.png deleted file mode 100644 index 3a0328b5..00000000 Binary files a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/static/description/icon.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/static/description/index.html b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/static/description/index.html deleted file mode 100644 index 2af3a6e9..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/static/description/index.html +++ /dev/null @@ -1,461 +0,0 @@ - - - - - - -Sale Comments - - - -
-

Sale Comments

- - -

Beta License: AGPL-3 OCA/sale-reporting Translate me on Weblate Try me on Runboat

-

Adds comments on sales orders. -The comments can be loaded from templates.

-

Adds comments on

-
    -
  1. sales orders:

    -

    The comments can be loaded from templates.

    -

    Two positions are available for the comments:

    -
      -
    • above sale order lines
    • -
    • below sale order lines
    • -
    -

    Comments are copied on the invoice when you will create invoice from sale order.

    -
  2. -
-

Table of contents

- -
-

Installation

-

To install this module, you need to have the module -account_comment_template, available in OCA/account-invoice-reporting.

-
-
-

Bug Tracker

-

Bugs are tracked on GitHub Issues. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

-

Do not contact contributors directly about support or help with technical issues.

-
-
-

Credits

-
-

Authors

-
    -
  • Camptocamp
  • -
  • Tecnativa
  • -
-
-
-

Contributors

- -
-
-

Maintainers

-

This module is maintained by the OCA.

-Odoo Community Association -

OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use.

-

This module is part of the OCA/sale-reporting project on GitHub.

-

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

-
-
-
- - diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/tests/__init__.py b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/tests/__init__.py deleted file mode 100644 index a1feb17d..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/tests/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). - -from . import test_sale_order_report diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/tests/test_sale_order_report.py b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/tests/test_sale_order_report.py deleted file mode 100644 index c3925dcd..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/tests/test_sale_order_report.py +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 2017 Simone Rubino - Agile Business Group -# Copyright 2018 Tecnativa - Pedro M. Baeza -# Copyright 2021 Tecnativa - Víctor Martínez -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). - -from odoo.tests.common import Form, TransactionCase - - -class TestAccountInvoiceReport(TransactionCase): - def setUp(self): - super().setUp() - self.company = self.env.ref("base.main_company") - self.base_comment_model = self.env["base.comment.template"] - # Create comment related to sale model - self.sale_before_comment = self._create_comment("sale.order", "before_lines") - self.sale_after_comment = self._create_comment("sale.order", "after_lines") - # Create comment related to move model - self.move_before_comment = self._create_comment("account.move", "before_lines") - self.move_after_comment = self._create_comment("account.move", "after_lines") - # Create partner - self.partner = self.env["res.partner"].create({"name": "Partner Test"}) - self.partner.base_comment_template_ids = [ - (4, self.sale_before_comment.id), - (4, self.sale_after_comment.id), - (4, self.move_before_comment.id), - (4, self.move_after_comment.id), - ] - self.product = self.env["product.product"].create( - { - "name": "Test product", - "sale_ok": True, - "type": "service", - "list_price": 10, - "invoice_policy": "order", - } - ) - self.sale_order = self._create_sale_order() - self.sale_order.action_confirm() - - def _create_sale_order(self): - sale_form = Form(self.env["sale.order"]) - sale_form.partner_id = self.partner - with sale_form.order_line.new() as line_form: - line_form.product_id = self.product - return sale_form.save() - - def _create_comment(self, models, position): - return self.base_comment_model.create( - { - "name": "Comment " + position, - "company_id": self.company.id, - "position": position, - "text": "Text " + position, - "models": models, - } - ) - - def test_comments_in_sale_order_report(self): - res = self.env["ir.actions.report"]._render_qweb_html( - "sale.report_saleorder", self.sale_order.ids - ) - self.assertRegex(str(res[0]), self.sale_before_comment.text) - self.assertRegex(str(res[0]), self.sale_after_comment.text) - - def test_comments_in_generated_invoice(self): - invoice = self.sale_order._create_invoices()[0] - self.assertTrue(self.move_before_comment in invoice.comment_template_ids) - self.assertTrue(self.move_after_comment in invoice.comment_template_ids) - self.assertFalse(self.sale_before_comment in invoice.comment_template_ids) - self.assertFalse(self.sale_after_comment in invoice.comment_template_ids) - res = self.env["ir.actions.report"]._render_qweb_html( - "account.report_invoice", invoice.ids - ) - self.assertRegex(str(res[0]), self.move_before_comment.text) - self.assertRegex(str(res[0]), self.move_after_comment.text) - - def test_comments_in_sale_order(self): - self.assertTrue(self.sale_after_comment in self.sale_order.comment_template_ids) - self.assertTrue( - self.sale_before_comment in self.sale_order.comment_template_ids - ) diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/views/base_comment_template_view.xml b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/views/base_comment_template_view.xml deleted file mode 100644 index 411e0992..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/views/base_comment_template_view.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - Sale Orders Comments - ir.actions.act_window - base.comment.template - tree,form - [("model_ids", "=", "sale.order")] - - - - diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/views/report_saleorder.xml b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/views/report_saleorder.xml deleted file mode 100644 index be04bc7c..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/views/report_saleorder.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - diff --git a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/views/sale_order_view.xml b/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/views/sale_order_view.xml deleted file mode 100644 index 89b77210..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_comment_template/sale_comment_template/views/sale_order_view.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - comment_template.sale.order.form - sale.order - - - - - - - - - - - diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/README.md b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/README.md deleted file mode 100644 index 6019916b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/README.md +++ /dev/null @@ -1,46 +0,0 @@ -# Sale layout category hide detail - -Odoo addon: sale_layout_category_hide_detail - -## Installation - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail -``` - -## Dependencies - -This addon depends on: -- sale_management - -## Manifest Information - -- **Name**: Sale layout category hide detail -- **Version**: 16.0.1.1.2 -- **Category**: Sales Management -- **License**: AGPL-3 -- **Installable**: True - -## Source - -Based on [OCA/sale-reporting](https://github.com/OCA/sale-reporting) branch 16.0, addon `sale_layout_category_hide_detail`. - -## License - -This package maintains the original AGPL-3 license from the upstream Odoo project. - -## 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/ARCHITECTURE.md b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/ARCHITECTURE.md deleted file mode 100644 index 0d39e031..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/ARCHITECTURE.md +++ /dev/null @@ -1,32 +0,0 @@ -# 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 Sale_layout_category_hide_detail Module - sale_layout_category_hide_detail - 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/CONFIGURATION.md b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/CONFIGURATION.md deleted file mode 100644 index 19b8f46c..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/CONFIGURATION.md +++ /dev/null @@ -1,3 +0,0 @@ -# Configuration - -Refer to Odoo settings for sale_layout_category_hide_detail. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/CONTROLLERS.md b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/CONTROLLERS.md deleted file mode 100644 index f628e770..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/CONTROLLERS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Controllers - -This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/DEPENDENCIES.md b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/DEPENDENCIES.md deleted file mode 100644 index 2da0e29d..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/DEPENDENCIES.md +++ /dev/null @@ -1,5 +0,0 @@ -# Dependencies - -This addon depends on: - -- [sale_management](https://github.com/bringout/oca-ocb-sale/tree/681dc8d5fff638cb0862a34e48091a2098d091f8/odoo-bringout-oca-ocb-sale_management) diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/FAQ.md b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/FAQ.md deleted file mode 100644 index 65201c26..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/FAQ.md +++ /dev/null @@ -1,4 +0,0 @@ -# FAQ - -- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). -- Q: How to enable? A: Start server with --addon sale_layout_category_hide_detail or install in UI. diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/INSTALL.md b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/INSTALL.md deleted file mode 100644 index c505271a..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/INSTALL.md +++ /dev/null @@ -1,7 +0,0 @@ -# Install - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail" -# or -uv pip install odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail" -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/MODELS.md b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/MODELS.md deleted file mode 100644 index 088ffe63..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/MODELS.md +++ /dev/null @@ -1,13 +0,0 @@ -# Models - -Detected core models and extensions in sale_layout_category_hide_detail. - -```mermaid -classDiagram - class account_move_line - class sale_order_line -``` - -Notes -- Classes show model technical names; fields omitted for brevity. -- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/OVERVIEW.md b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/OVERVIEW.md deleted file mode 100644 index 1601883f..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/OVERVIEW.md +++ /dev/null @@ -1,6 +0,0 @@ -# Overview - -Packaged Odoo addon: sale_layout_category_hide_detail. Provides features documented in upstream Odoo 16 under this addon. - -- Source: OCA/OCB 16.0, addon sale_layout_category_hide_detail -- License: LGPL-3 diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/REPORTS.md b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/REPORTS.md deleted file mode 100644 index e0ea35fb..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/REPORTS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Reports - -This module does not define custom reports. diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/SECURITY.md b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/SECURITY.md deleted file mode 100644 index e07da9da..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/SECURITY.md +++ /dev/null @@ -1,8 +0,0 @@ -# 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/TROUBLESHOOTING.md deleted file mode 100644 index 56853cb7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/TROUBLESHOOTING.md +++ /dev/null @@ -1,5 +0,0 @@ -# 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/USAGE.md b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/USAGE.md deleted file mode 100644 index 18e008c4..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/USAGE.md +++ /dev/null @@ -1,7 +0,0 @@ -# Usage - -Start Odoo including this addon (from repo root): - -```bash -python3 scripts/nix_odoo_web_server.py --db-name mydb --addon sale_layout_category_hide_detail -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/WIZARDS.md b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/WIZARDS.md deleted file mode 100644 index 48e790dc..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/doc/WIZARDS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Wizards - -This module does not include UI wizards. diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/pyproject.toml b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/pyproject.toml deleted file mode 100644 index 2a105d55..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/pyproject.toml +++ /dev/null @@ -1,42 +0,0 @@ -[project] -name = "odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail" -version = "16.0.0" -description = "Sale layout category hide detail - Hide details for sections in sale orders and invoices for reports and customer portal" -authors = [ - { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } -] -dependencies = [ - "odoo-bringout-oca-sale-reporting-sale_management>=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 = ["sale_layout_category_hide_detail"] - -[tool.rye] -managed = true -dev-dependencies = [ - "pytest>=8.4.1", -] diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/README.rst b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/README.rst deleted file mode 100644 index 16ce9deb..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/README.rst +++ /dev/null @@ -1,130 +0,0 @@ -================================ -Sale layout category hide detail -================================ - -.. - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:3a2fb40120a702ad60a8530bcfd4c78296b24c1f62c347e332b0fac6d2f76c3b - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png - :target: https://odoo-community.org/page/development-status - :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--reporting-lightgray.png?logo=github - :target: https://github.com/OCA/sale-reporting/tree/16.0/sale_layout_category_hide_detail - :alt: OCA/sale-reporting -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-reporting-16-0/sale-reporting-16-0-sale_layout_category_hide_detail - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-reporting&target_branch=16.0 - :alt: Try me on Runboat - -|badge1| |badge2| |badge3| |badge4| |badge5| - -This module allows you to check/uncheck the new 'Show details' and -'Show subtotal' flags in *Sale order section lines* and -*Customer invoice section lines* if you want to show or hide their -lines or their subtotals in the PDF report and in the website. -You can also show or hide the section subtotal and line amount by -checking or unchecking the new 'Show section subtotal' and -'Show line amount' flags. - -**Table of contents** - -.. contents:: - :local: - -Usage -===== - -The flags on the right hand side of the sale order line allow you to show or -hide details, subtotal, line amount and section subtotal. - -These are the possible combinations: - -.. image:: https://raw.githubusercontent.com/OCA/sale-reporting/16.0/sale_layout_category_hide_detail/static/description/readme-icons/order.png - :alt: Possible combinations - -And these are the results in report: - -.. image:: https://raw.githubusercontent.com/OCA/sale-reporting/16.0/sale_layout_category_hide_detail/static/description/readme-icons/report.png - :alt: Possible combination results in report - -The behavior described before is the same for Quotations and Invoices. - -.. |eye-icon| image:: https://raw.githubusercontent.com/OCA/sale-reporting/16.0/sale_layout_category_hide_detail/static/description/readme-icons/eye.png - :alt: plus-circle icon - :width: 12 px - -.. |eye-slash-icon| image:: https://raw.githubusercontent.com/OCA/sale-reporting/16.0/sale_layout_category_hide_detail/static/description/readme-icons/eye-slash.png - :alt: minus-circle icon - :width: 12 px - -.. |plus-circle-icon| image:: https://raw.githubusercontent.com/OCA/sale-reporting/16.0/sale_layout_category_hide_detail/static/description/readme-icons/plus-circle.png - :alt: plus-circle icon - :width: 12 px - -.. |minus-circle-icon| image:: https://raw.githubusercontent.com/OCA/sale-reporting/16.0/sale_layout_category_hide_detail/static/description/readme-icons/minus-circle.png - :alt: minus-circle icon - :width: 12 px - -Known issues / Roadmap -====================== - -* The `boolean_fa_icon` widget has not been extracted to a module into OCA/web - because until now this widget has not been needed for anything else, but it's - good that in the future that would be done. - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -~~~~~~~ - -* Tecnativa - -Contributors -~~~~~~~~~~~~ - -* `Tecnativa `_: - - * Ernesto Tejeda - * Pedro M. Baeza - * Víctor Martínez - * Yadier Quesada - -* Denis Roussel - -Maintainers -~~~~~~~~~~~ - -This module is maintained by the OCA. - -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org - -OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use. - -This module is part of the `OCA/sale-reporting `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/__init__.py b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/__init__.py deleted file mode 100644 index 83e553ac..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from . import models diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/__manifest__.py b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/__manifest__.py deleted file mode 100644 index 4f715bd5..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/__manifest__.py +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2018-2019 Tecnativa - Ernesto Tejeda -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -{ - "name": "Sale layout category hide detail", - "summary": "Hide details for sections in sale orders and invoices for " - "reports and customer portal", - "version": "16.0.1.1.2", - "category": "Sales Management", - "website": "https://github.com/OCA/sale-reporting", - "author": "Tecnativa, " "Odoo Community Association (OCA)", - "license": "AGPL-3", - "depends": ["sale_management"], - "data": [ - "views/account_move_view.xml", - "views/invoice_report_templates.xml", - "views/sale_views.xml", - "views/sale_order_report_templates.xml", - "views/sale_portal_templates.xml", - ], - "assets": { - "web.assets_backend": [ - "sale_layout_category_hide_detail/static/src/js/**", - "sale_layout_category_hide_detail/static/src/xml/*.xml", - ], - }, - "application": False, - "installable": True, -} diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/i18n/bs.po b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/i18n/bs.po deleted file mode 100644 index 59df041e..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/i18n/bs.po +++ /dev/null @@ -1,81 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_layout_category_hide_detail -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_layout_category_hide_detail -#: model:ir.model,name:sale_layout_category_hide_detail.model_account_move_line -msgid "Journal Item" -msgstr "Stavka žurnala" - -#. module: sale_layout_category_hide_detail -#: model:ir.model,name:sale_layout_category_hide_detail.model_sale_order_line -msgid "Sales Order Line" -msgstr "Stavka prodajne narudžbe" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_details -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_details -msgid "Show Details" -msgstr "Show Details" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_line_amount -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_line_amount -msgid "Show Line Amount" -msgstr "Show Line Iznos" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_section_subtotal -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_section_subtotal -msgid "Show Section Subtotal" -msgstr "Show Section Podzbroj" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_subtotal -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_subtotal -msgid "Show Subtotal" -msgstr "Show Podzbroj" - -#. module: sale_layout_category_hide_detail -#: model_terms:ir.ui.view,arch_db:sale_layout_category_hide_detail.report_saleorder_document_hide_detail -#: model_terms:ir.ui.view,arch_db:sale_layout_category_hide_detail.sale_order_portal_content_hide_detail -msgid "Subtotal" -msgstr "Podukupno" - -#. module: sale_layout_category_hide_detail -#. odoo-javascript -#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 -#, python-format -msgid "Switch to: details hidden" -msgstr "Switch to: details hidden" - -#. module: sale_layout_category_hide_detail -#. odoo-javascript -#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 -#, python-format -msgid "Switch to: details shown" -msgstr "Switch to: details shown" - -#. module: sale_layout_category_hide_detail -#. odoo-javascript -#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 -#, python-format -msgid "Toggle" -msgstr "Uključi / isključi" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,help:sale_layout_category_hide_detail.field_account_move_line__show_section_subtotal -#: model:ir.model.fields,help:sale_layout_category_hide_detail.field_sale_order_line__show_section_subtotal -msgid "Uncheck this if you want to hide the subtotal on section part" -msgstr "Uncheck this if you want to hide the subtotal on section part" diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/i18n/es.po b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/i18n/es.po deleted file mode 100644 index d847372d..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/i18n/es.po +++ /dev/null @@ -1,127 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_layout_category_hide_detail -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 14:31+0000\n" -"PO-Revision-Date: 2023-09-03 13:40+0000\n" -"Last-Translator: Ivorra78 \n" -"Language-Team: \n" -"Language: es\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" - -#. module: sale_layout_category_hide_detail -#: model:ir.model,name:sale_layout_category_hide_detail.model_account_move_line -msgid "Journal Item" -msgstr "Apunte contable" - -#. module: sale_layout_category_hide_detail -#: model:ir.model,name:sale_layout_category_hide_detail.model_sale_order_line -msgid "Sales Order Line" -msgstr "Línea de pedido de venta" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_details -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_details -msgid "Show Details" -msgstr "Mostrar Detalles" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_line_amount -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_line_amount -msgid "Show Line Amount" -msgstr "Mostrar el Importe de la Línea" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_section_subtotal -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_section_subtotal -msgid "Show Section Subtotal" -msgstr "Mostrar subtotal de la sección" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_subtotal -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_subtotal -msgid "Show Subtotal" -msgstr "Mostrar Subtotal" - -#. module: sale_layout_category_hide_detail -#: model_terms:ir.ui.view,arch_db:sale_layout_category_hide_detail.report_saleorder_document_hide_detail -#: model_terms:ir.ui.view,arch_db:sale_layout_category_hide_detail.sale_order_portal_content_hide_detail -msgid "Subtotal" -msgstr "Subtotal" - -#. module: sale_layout_category_hide_detail -#. odoo-javascript -#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 -#, python-format -msgid "Switch to: details hidden" -msgstr "Cambiar a: detalles ocultos" - -#. module: sale_layout_category_hide_detail -#. odoo-javascript -#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 -#, python-format -msgid "Switch to: details shown" -msgstr "Cambiar a: detalles mostrados" - -#. module: sale_layout_category_hide_detail -#. odoo-javascript -#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 -#, python-format -msgid "Toggle" -msgstr "Alternar" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,help:sale_layout_category_hide_detail.field_account_move_line__show_section_subtotal -#: model:ir.model.fields,help:sale_layout_category_hide_detail.field_sale_order_line__show_section_subtotal -msgid "Uncheck this if you want to hide the subtotal on section part" -msgstr "" -"Desmarque esta opción si desea ocultar el subtotal en la parte de la sección" - -#, python-format -#~ msgid "Click to check" -#~ msgstr "Click para marcar" - -#, python-format -#~ msgid "Click to uncheck" -#~ msgstr "Click para desmarcar" - -#, python-format -#~ msgid "Switch to: subtotal hidden" -#~ msgstr "Cambiar a: subtotal oculto" - -#, python-format -#~ msgid "Switch to: subtotal shown" -#~ msgstr "Cambiar a: subtotal mostrado" - -#, python-format -#~ msgid "Switch to: line amount hidden" -#~ msgstr "Cambiar a: cantidad de línea oculta" - -#, python-format -#~ msgid "Switch to: line amount shown" -#~ msgstr "Cambiar a: cantidad de linea mostrado" - -#, python-format -#~ msgid "Switch to: section subtotal hidden" -#~ msgstr "Cambiar a: seccion subtotal oculto" - -#, python-format -#~ msgid "Switch to: section subtotal shown" -#~ msgstr "Cambiar a: se muestra el subtotal de la sección" - -#~ msgid "Show details" -#~ msgstr "Mostrar detalles" - -#~ msgid "Show subtotal" -#~ msgstr "Mostrar subtotal" - -#~ msgid "Invoice Line" -#~ msgstr "Linea de factura" diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/i18n/fr.po b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/i18n/fr.po deleted file mode 100644 index 46d68014..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/i18n/fr.po +++ /dev/null @@ -1,88 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_layout_category_hide_detail -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2024-11-13 18:06+0000\n" -"Last-Translator: Grégory Moka Tourisme \n" -"Language-Team: none\n" -"Language: fr\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 5.6.2\n" - -#. module: sale_layout_category_hide_detail -#: model:ir.model,name:sale_layout_category_hide_detail.model_account_move_line -msgid "Journal Item" -msgstr "Entrée du journal" - -#. module: sale_layout_category_hide_detail -#: model:ir.model,name:sale_layout_category_hide_detail.model_sale_order_line -msgid "Sales Order Line" -msgstr "Ligne de commande" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_details -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_details -msgid "Show Details" -msgstr "Afficher les détails" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_line_amount -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_line_amount -msgid "Show Line Amount" -msgstr "Afficher le montant des lignes" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_section_subtotal -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_section_subtotal -msgid "Show Section Subtotal" -msgstr "Afficher le sous total de la section" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_subtotal -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_subtotal -msgid "Show Subtotal" -msgstr "Afficher le sous total" - -#. module: sale_layout_category_hide_detail -#: model_terms:ir.ui.view,arch_db:sale_layout_category_hide_detail.report_saleorder_document_hide_detail -#: model_terms:ir.ui.view,arch_db:sale_layout_category_hide_detail.sale_order_portal_content_hide_detail -msgid "Subtotal" -msgstr "Sous total" - -#. module: sale_layout_category_hide_detail -#. odoo-javascript -#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 -#, python-format -msgid "Switch to: details hidden" -msgstr "Passer à : Détails masqués" - -#. module: sale_layout_category_hide_detail -#. odoo-javascript -#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 -#, python-format -msgid "Switch to: details shown" -msgstr "Passer à : Détail affichés" - -#. module: sale_layout_category_hide_detail -#. odoo-javascript -#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 -#, python-format -msgid "Toggle" -msgstr "Basculer" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,help:sale_layout_category_hide_detail.field_account_move_line__show_section_subtotal -#: model:ir.model.fields,help:sale_layout_category_hide_detail.field_sale_order_line__show_section_subtotal -msgid "Uncheck this if you want to hide the subtotal on section part" -msgstr "Décochez si vous voulez masquer le sous total des sections" - -#, python-format -#~ msgid "{{state.text_tooltip}}" -#~ msgstr "{{state.text_tooltip}}" diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/i18n/it.po b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/i18n/it.po deleted file mode 100644 index 30a42155..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/i18n/it.po +++ /dev/null @@ -1,122 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_layout_category_hide_detail -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2024-05-02 16:36+0000\n" -"Last-Translator: mymage \n" -"Language-Team: none\n" -"Language: it\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" - -#. module: sale_layout_category_hide_detail -#: model:ir.model,name:sale_layout_category_hide_detail.model_account_move_line -msgid "Journal Item" -msgstr "Movimento contabile" - -#. module: sale_layout_category_hide_detail -#: model:ir.model,name:sale_layout_category_hide_detail.model_sale_order_line -msgid "Sales Order Line" -msgstr "Riga ordine di vendita" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_details -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_details -msgid "Show Details" -msgstr "Mostra dettagli" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_line_amount -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_line_amount -msgid "Show Line Amount" -msgstr "Mostra importo riga" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_section_subtotal -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_section_subtotal -msgid "Show Section Subtotal" -msgstr "Mostra subtotale sezione" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_subtotal -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_subtotal -msgid "Show Subtotal" -msgstr "Mostra subtotale" - -#. module: sale_layout_category_hide_detail -#: model_terms:ir.ui.view,arch_db:sale_layout_category_hide_detail.report_saleorder_document_hide_detail -#: model_terms:ir.ui.view,arch_db:sale_layout_category_hide_detail.sale_order_portal_content_hide_detail -msgid "Subtotal" -msgstr "Subtotale" - -#. module: sale_layout_category_hide_detail -#. odoo-javascript -#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 -#, python-format -msgid "Switch to: details hidden" -msgstr "Passa a: nascondi dettagli" - -#. module: sale_layout_category_hide_detail -#. odoo-javascript -#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 -#, python-format -msgid "Switch to: details shown" -msgstr "Passa a: mostra dettagli" - -#. module: sale_layout_category_hide_detail -#. odoo-javascript -#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 -#, python-format -msgid "Toggle" -msgstr "Inverti" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,help:sale_layout_category_hide_detail.field_account_move_line__show_section_subtotal -#: model:ir.model.fields,help:sale_layout_category_hide_detail.field_sale_order_line__show_section_subtotal -msgid "Uncheck this if you want to hide the subtotal on section part" -msgstr "Disabilita se vuoi nascondere il subtotale della sezione" - -#, python-format -#~ msgid "{{state.text_tooltip}}" -#~ msgstr "{{state.text_tooltip}}" - -#, python-format -#~ msgid "Click to check" -#~ msgstr "Click per abilitare" - -#, python-format -#~ msgid "Click to uncheck" -#~ msgstr "Click per disabilitare" - -#, python-format -#~ msgid "Switch to: subtotal hidden" -#~ msgstr "Passa a: nascondi subtotale" - -#, python-format -#~ msgid "Switch to: subtotal shown" -#~ msgstr "Passa a: mostra subtotale" - -#~ msgid "Display Name" -#~ msgstr "Nome visualizzato" - -#~ msgid "ID" -#~ msgstr "ID" - -#~ msgid "Last Modified on" -#~ msgstr "Ultima modifica il" - -#~ msgid "Show details" -#~ msgstr "Mostra dettagli" - -#~ msgid "Show line amount" -#~ msgstr "Mostra importo riga" - -#~ msgid "Show subtotal" -#~ msgstr "Mostra subtotale" diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/i18n/pt_BR.po b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/i18n/pt_BR.po deleted file mode 100644 index 78d1411f..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/i18n/pt_BR.po +++ /dev/null @@ -1,89 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_layout_category_hide_detail -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2024-05-29 16:37+0000\n" -"Last-Translator: Rodrigo Macedo \n" -"Language-Team: none\n" -"Language: pt_BR\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.17\n" - -#. module: sale_layout_category_hide_detail -#: model:ir.model,name:sale_layout_category_hide_detail.model_account_move_line -msgid "Journal Item" -msgstr "Item diário" - -#. module: sale_layout_category_hide_detail -#: model:ir.model,name:sale_layout_category_hide_detail.model_sale_order_line -msgid "Sales Order Line" -msgstr "Linha de ordem de venda" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_details -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_details -msgid "Show Details" -msgstr "Mostrar Detalhes" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_line_amount -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_line_amount -msgid "Show Line Amount" -msgstr "Mostrar valor da linha" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_section_subtotal -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_section_subtotal -msgid "Show Section Subtotal" -msgstr "Mostrar subtotal da seção" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_subtotal -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_subtotal -msgid "Show Subtotal" -msgstr "Mostrar subtotal" - -#. module: sale_layout_category_hide_detail -#: model_terms:ir.ui.view,arch_db:sale_layout_category_hide_detail.report_saleorder_document_hide_detail -#: model_terms:ir.ui.view,arch_db:sale_layout_category_hide_detail.sale_order_portal_content_hide_detail -msgid "Subtotal" -msgstr "Subtotal" - -#. module: sale_layout_category_hide_detail -#. odoo-javascript -#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 -#, python-format -msgid "Switch to: details hidden" -msgstr "Mudar para: detalhes ocultos" - -#. module: sale_layout_category_hide_detail -#. odoo-javascript -#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 -#, python-format -msgid "Switch to: details shown" -msgstr "Mudar para: detalhes exibidos" - -#. module: sale_layout_category_hide_detail -#. odoo-javascript -#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 -#, python-format -msgid "Toggle" -msgstr "Alternar" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,help:sale_layout_category_hide_detail.field_account_move_line__show_section_subtotal -#: model:ir.model.fields,help:sale_layout_category_hide_detail.field_sale_order_line__show_section_subtotal -msgid "Uncheck this if you want to hide the subtotal on section part" -msgstr "Desmarque esta opção se quiser ocultar o subtotal na parte da seção" - -#, python-format -#~ msgid "{{state.text_tooltip}}" -#~ msgstr "{{state.text_tooltip}}" diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/i18n/sale_layout_category_hide_detail.pot b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/i18n/sale_layout_category_hide_detail.pot deleted file mode 100644 index f83de0f4..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/i18n/sale_layout_category_hide_detail.pot +++ /dev/null @@ -1,81 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_layout_category_hide_detail -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_layout_category_hide_detail -#: model:ir.model,name:sale_layout_category_hide_detail.model_account_move_line -msgid "Journal Item" -msgstr "" - -#. module: sale_layout_category_hide_detail -#: model:ir.model,name:sale_layout_category_hide_detail.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_details -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_details -msgid "Show Details" -msgstr "" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_line_amount -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_line_amount -msgid "Show Line Amount" -msgstr "" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_section_subtotal -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_section_subtotal -msgid "Show Section Subtotal" -msgstr "" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_account_move_line__show_subtotal -#: model:ir.model.fields,field_description:sale_layout_category_hide_detail.field_sale_order_line__show_subtotal -msgid "Show Subtotal" -msgstr "" - -#. module: sale_layout_category_hide_detail -#: model_terms:ir.ui.view,arch_db:sale_layout_category_hide_detail.report_saleorder_document_hide_detail -#: model_terms:ir.ui.view,arch_db:sale_layout_category_hide_detail.sale_order_portal_content_hide_detail -msgid "Subtotal" -msgstr "" - -#. module: sale_layout_category_hide_detail -#. odoo-javascript -#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 -#, python-format -msgid "Switch to: details hidden" -msgstr "" - -#. module: sale_layout_category_hide_detail -#. odoo-javascript -#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 -#, python-format -msgid "Switch to: details shown" -msgstr "" - -#. module: sale_layout_category_hide_detail -#. odoo-javascript -#: code:addons/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js:0 -#, python-format -msgid "Toggle" -msgstr "" - -#. module: sale_layout_category_hide_detail -#: model:ir.model.fields,help:sale_layout_category_hide_detail.field_account_move_line__show_section_subtotal -#: model:ir.model.fields,help:sale_layout_category_hide_detail.field_sale_order_line__show_section_subtotal -msgid "Uncheck this if you want to hide the subtotal on section part" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/models/__init__.py b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/models/__init__.py deleted file mode 100644 index 10b152aa..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/models/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from . import sale_order -from . import account_move diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/models/account_move.py b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/models/account_move.py deleted file mode 100644 index 9a58aa10..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/models/account_move.py +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2018-2019 Tecnativa - Ernesto Tejeda -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from odoo import fields, models - - -class AccountMoveLine(models.Model): - _inherit = "account.move.line" - - show_details = fields.Boolean(default=True) - show_subtotal = fields.Boolean(default=True) - show_section_subtotal = fields.Boolean( - default=True, - help="Uncheck this if you want to hide the subtotal on section part", - ) - show_line_amount = fields.Boolean(default=True) diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/models/sale_order.py b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/models/sale_order.py deleted file mode 100644 index 721d53fb..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/models/sale_order.py +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2018-2019 Tecnativa - Ernesto Tejeda -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from odoo import fields, models - - -class SaleOrderLine(models.Model): - _inherit = "sale.order.line" - - show_details = fields.Boolean(default=True) - show_section_subtotal = fields.Boolean( - default=True, - help="Uncheck this if you want to hide the subtotal on section part", - ) - show_subtotal = fields.Boolean(default=True) - show_line_amount = fields.Boolean(default=True) - - def _prepare_invoice_line(self, **optional_values): - res = super()._prepare_invoice_line(**optional_values) - res.update( - show_details=self.show_details, - show_subtotal=self.show_subtotal, - show_line_amount=self.show_line_amount, - show_section_subtotal=self.show_section_subtotal, - ) - return res diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/readme/CONTRIBUTORS.rst deleted file mode 100644 index 8651aaa0..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,8 +0,0 @@ -* `Tecnativa `_: - - * Ernesto Tejeda - * Pedro M. Baeza - * Víctor Martínez - * Yadier Quesada - -* Denis Roussel diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/readme/DESCRIPTION.rst b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/readme/DESCRIPTION.rst deleted file mode 100644 index ec3c73ee..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/readme/DESCRIPTION.rst +++ /dev/null @@ -1,7 +0,0 @@ -This module allows you to check/uncheck the new 'Show details' and -'Show subtotal' flags in *Sale order section lines* and -*Customer invoice section lines* if you want to show or hide their -lines or their subtotals in the PDF report and in the website. -You can also show or hide the section subtotal and line amount by -checking or unchecking the new 'Show section subtotal' and -'Show line amount' flags. diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/readme/ROADMAP.rst b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/readme/ROADMAP.rst deleted file mode 100644 index 0267799c..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/readme/ROADMAP.rst +++ /dev/null @@ -1,3 +0,0 @@ -* The `boolean_fa_icon` widget has not been extracted to a module into OCA/web - because until now this widget has not been needed for anything else, but it's - good that in the future that would be done. diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/readme/USAGE.rst b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/readme/USAGE.rst deleted file mode 100644 index 05edf274..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/readme/USAGE.rst +++ /dev/null @@ -1,30 +0,0 @@ -The flags on the right hand side of the sale order line allow you to show or -hide details, subtotal, line amount and section subtotal. - -These are the possible combinations: - -.. image:: ../static/description/readme-icons/order.png - :alt: Possible combinations - -And these are the results in report: - -.. image:: ../static/description/readme-icons/report.png - :alt: Possible combination results in report - -The behavior described before is the same for Quotations and Invoices. - -.. |eye-icon| image:: ../static/description/readme-icons/eye.png - :alt: plus-circle icon - :width: 12 px - -.. |eye-slash-icon| image:: ../static/description/readme-icons/eye-slash.png - :alt: minus-circle icon - :width: 12 px - -.. |plus-circle-icon| image:: ../static/description/readme-icons/plus-circle.png - :alt: plus-circle icon - :width: 12 px - -.. |minus-circle-icon| image:: ../static/description/readme-icons/minus-circle.png - :alt: minus-circle icon - :width: 12 px diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/icon.png b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/icon.png deleted file mode 100644 index 3a0328b5..00000000 Binary files a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/icon.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/index.html b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/index.html deleted file mode 100644 index 0d6f483d..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/index.html +++ /dev/null @@ -1,456 +0,0 @@ - - - - - -Sale layout category hide detail - - - -
-

Sale layout category hide detail

- - -

Beta License: AGPL-3 OCA/sale-reporting Translate me on Weblate Try me on Runboat

-

This module allows you to check/uncheck the new ‘Show details’ and -‘Show subtotal’ flags in Sale order section lines and -Customer invoice section lines if you want to show or hide their -lines or their subtotals in the PDF report and in the website. -You can also show or hide the section subtotal and line amount by -checking or unchecking the new ‘Show section subtotal’ and -‘Show line amount’ flags.

-

Table of contents

- -
-

Usage

-

The flags on the right hand side of the sale order line allow you to show or -hide details, subtotal, line amount and section subtotal.

-

These are the possible combinations:

-Possible combinations -

And these are the results in report:

-Possible combination results in report -

The behavior described before is the same for Quotations and Invoices.

-
-
-

Known issues / Roadmap

-
    -
  • The boolean_fa_icon widget has not been extracted to a module into OCA/web -because until now this widget has not been needed for anything else, but it’s -good that in the future that would be done.
  • -
-
-
-

Bug Tracker

-

Bugs are tracked on GitHub Issues. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

-

Do not contact contributors directly about support or help with technical issues.

-
-
-

Credits

-
-

Authors

-
    -
  • Tecnativa
  • -
-
-
-

Contributors

- -
-
-

Maintainers

-

This module is maintained by the OCA.

- -Odoo Community Association - -

OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use.

-

This module is part of the OCA/sale-reporting project on GitHub.

-

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

-
-
-
- - diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/readme-icons/eye-slash.png b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/readme-icons/eye-slash.png deleted file mode 100644 index 310a7a4c..00000000 Binary files a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/readme-icons/eye-slash.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/readme-icons/eye.png b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/readme-icons/eye.png deleted file mode 100644 index 7c892be8..00000000 Binary files a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/readme-icons/eye.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/readme-icons/minus-circle.png b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/readme-icons/minus-circle.png deleted file mode 100644 index ed324cb6..00000000 Binary files a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/readme-icons/minus-circle.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/readme-icons/order.png b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/readme-icons/order.png deleted file mode 100644 index 6cf8beee..00000000 Binary files a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/readme-icons/order.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/readme-icons/plus-circle.png b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/readme-icons/plus-circle.png deleted file mode 100644 index cf7d62cc..00000000 Binary files a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/readme-icons/plus-circle.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/readme-icons/report.png b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/readme-icons/report.png deleted file mode 100644 index f5ed948a..00000000 Binary files a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/description/readme-icons/report.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js deleted file mode 100644 index 3d050ee4..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/src/js/boolean_fa_icon_widget.esm.js +++ /dev/null @@ -1,135 +0,0 @@ -/** @odoo-module **/ -/* Copyright 2019 Tecnativa - Ernesto Tejeda -/* Copyright 2022 Tecnativa - Víctor Martínez -/* Copyright 2023 Tecnativa - Yadier Quesada -/* License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).*/ - -const {useState} = owl; -import {BooleanField} from "@web/views/fields/boolean/boolean_field"; -import {_lt} from "@web/core/l10n/translation"; -import {registry} from "@web/core/registry"; - -const iconTrue = "fa-check-square-o"; -const iconFalse = "fa-square-o"; -const tooltipTrue = "Switch to hidden"; -const tooltipFalse = "Switch to show"; - -export class BooleanFaIconWidget extends BooleanField { - setup() { - super.setup(); - this.state = useState({ - fa_class: this.faIconClass(this.props.value), - text_tooltip: this.textTooltip(this.props.value), - }); - } - // -------------------------------------------------------------------------- - // Public - // -------------------------------------------------------------------------- - faIconClass(currentValue) { - var fa_icons = this.props.fa_icons; - var icon_true = fa_icons.icon_true || iconTrue; - var icon_false = fa_icons.icon_false || iconFalse; - return currentValue ? icon_true : icon_false; - } - // -------------------------------------------------------------------------- - // Public - // -------------------------------------------------------------------------- - textTooltip(currentValue) { - var show_tooltip = this.props.terminology; - var tooltip_true = show_tooltip.hover_true || tooltipTrue; - var tooltip_false = show_tooltip.hover_false || tooltipFalse; - return currentValue ? _lt(tooltip_true) : _lt(tooltip_false); - } - /** - * Check the 'draft' state in sale order or invoices - * Only the order in this state are allowed to edit the value for the widget - * @param {Object} column - The column to render - * @returns {Boolean} - */ - isAllowEdit() { - var resModel = this.props.record.resModel; - var state = this.props.record.data.state; - if (typeof state === "undefined" || state === null) { - state = this.props.record.data.parent_state; - } - if ( - ["account.move.line", "sale.order.line"].includes(resModel) && - state !== "draft" - ) { - this.props.allow = false; - } - return this.props.allow; - } - /** - * @override from BooleanField.isReadonly - * We need to get readonly attribute from field - * and allow to edit inline without the need of focus - */ - get isReadonly() { - return this.props.record.isReadonly(this.props.name); - } - /** - * @returns {Boolean} allow - */ - get allow() { - return this.props.allow; - } - /** - * @returns {String} fa_icons - */ - get fa_icons() { - return this.props.fa_icons; - } - /** - * @returns {String} terminology - */ - get terminology() { - return this.props.terminology; - } - /** - * This method change the value for record, fa-icon class and text for tooltip. - * @event click - triggered when widget element is clicked - */ - onClickButton(ev) { - ev.stopPropagation(); - if (this.isReadonly || !this.isAllowEdit()) { - return; - } - const newValue = !this.props.value; - this.props.update(newValue); - this.state.fa_class = this.faIconClass(newValue); - this.state.text_tooltip = this.textTooltip(newValue); - } -} - -BooleanFaIconWidget.template = "sale_layout_category.BooleanFaIconWidget"; -BooleanFaIconWidget.displayName = _lt("Toggle"); - -BooleanFaIconWidget.defaultProps = { - fa_icons: { - icon_true: "fa-check-square-o", - icon_false: "fa-square-o", - }, - terminology: { - hover_true: _lt("Switch to: details hidden"), - hover_false: _lt("Switch to: details shown"), - }, - allow: true, -}; - -BooleanFaIconWidget.props = { - ...BooleanField.props, - fa_icons: {type: Object, optional: true}, - terminology: {type: Object, optional: true}, - allow: {type: Boolean, optional: true}, -}; - -// Extract props from the attributes -BooleanFaIconWidget.extractProps = ({attrs}) => { - return { - fa_icons: attrs.options.fa_icons, - terminology: attrs.options.terminology, - }; -}; - -registry.category("fields").add("boolean_fa_icon", BooleanFaIconWidget); diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/src/js/sale_layout_category_hide_detail.esm.js b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/src/js/sale_layout_category_hide_detail.esm.js deleted file mode 100644 index 316fd37a..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/src/js/sale_layout_category_hide_detail.esm.js +++ /dev/null @@ -1,68 +0,0 @@ -/** @odoo-module **/ -/* Copyright 2019 Tecnativa - Ernesto Tejeda -/* Copyright 2022 Tecnativa - Víctor Martínez -/* Copyright 2023 Tecnativa - Yadier Quesada -/* License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).*/ - -import {SectionAndNoteListRenderer} from "@account/components/section_and_note_fields_backend/section_and_note_fields_backend"; -import {patch} from "@web/core/utils/patch"; - -patch(SectionAndNoteListRenderer.prototype, "new_widgets_buttons_patch", { - getColumns(record) { - // Set record to use it in getSectionColumns() - this.record = record; - return this._super.apply(this, arguments); - }, - getSectionColumns(columns) { - // We do not want to display icons in notes, only in sections - if (this.record.data.display_type !== "line_section") { - return this._super.apply(this, arguments); - } - var sectionCols = this._super.apply(this, arguments); - const widgetCols = columns.filter((col) => col.widget === "boolean_fa_icon"); - const sectionWidget = widgetCols.map((col) => { - return {...col, colspan: 1}; - }); - sectionCols.forEach(function (item) { - if (item.colspan > 1) { - item.colspan -= widgetCols.length; - } - }); - return sectionCols.concat(sectionWidget); - }, - - getCellClass(column) { - var classNames = this._super.apply(this, arguments); - if (column.widget === "boolean_fa_icon") { - classNames = classNames.replace("o_hidden", ""); - } - return classNames; - }, - - getColumnClass(column) { - if (column.widget === "boolean_fa_icon") { - column.hasLabel = false; - } - return this._super.apply(this, arguments); - }, - /** - * @override method from ListRenderer.isSortable - * @param {Object} column - The column to render - */ - isSortable(column) { - if (column.widget === "boolean_fa_icon") { - return false; - } - return this._super.apply(this, arguments); - }, - /** - * @override method from ListRenderer.calculateColumnWidth - * @param {Object} column - The column to render - */ - calculateColumnWidth(column) { - if (column.widget === "boolean_fa_icon") { - return {type: "absolute", value: "20px"}; - } - return this._super.apply(this, arguments); - }, -}); diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/src/xml/boolean_fa_icon_widget.xml b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/src/xml/boolean_fa_icon_widget.xml deleted file mode 100644 index e6209d41..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/static/src/xml/boolean_fa_icon_widget.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - -
- -
-
- -
diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/tests/__init__.py b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/tests/__init__.py deleted file mode 100644 index c18f5291..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/tests/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - -from . import test_sale_layout_category_hide_detail diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/tests/test_sale_layout_category_hide_detail.py b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/tests/test_sale_layout_category_hide_detail.py deleted file mode 100644 index cd0b799f..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/tests/test_sale_layout_category_hide_detail.py +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 2019 Tecnativa - Ernesto Tejeda -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - -from odoo.tests import tagged - -from odoo.addons.sale.tests.common import SaleCommon - - -@tagged("post_install", "-at_install") -class TestSaleLayoutCategoryHideDetail(SaleCommon): - @classmethod - def setUpClass(cls): - super(TestSaleLayoutCategoryHideDetail, cls).setUpClass() - if not cls.env.company.chart_template_id: - # Load a CoA if there's none in current company - coa = cls.env.ref("l10n_generic_coa.configurable_chart_template", False) - if not coa: - # Load the first available CoA - coa = cls.env["account.chart.template"].search( - [("visible", "=", True)], limit=1 - ) - coa.try_loading(company=cls.env.company, install_demo=False) - cls.product = cls.env["product.product"].create( - {"name": "Producto test", "type": "consu", "invoice_policy": "order"} - ) - cls.partner = cls.env["res.partner"].create({"name": "partner_test"}) - cls.sale_order = cls.env["sale.order"].create({"partner_id": cls.partner.id}) - cls.so_line = cls.env["sale.order.line"].create( - { - "order_id": cls.sale_order.id, - "product_id": cls.product.id, - "product_uom_qty": 10, - } - ) - cls.sale_order.action_confirm() - - def test_prepare_invoice_line(self): - res = self.so_line._prepare_invoice_line() - self.assertEqual(res["quantity"], 10) - self.assertEqual(res["product_id"], self.product.id) - self.assertEqual(res["show_details"], True) - self.assertEqual(res["show_subtotal"], True) - self.so_line.write({"show_details": False, "show_subtotal": False}) - res = self.so_line._prepare_invoice_line() - self.assertEqual(res["quantity"], 10) - self.assertEqual(res["product_id"], self.product.id) - self.assertEqual(res["show_details"], False) - self.assertEqual(res["show_subtotal"], False) - - def test_create_invoices(self): - self.so_line.write({"show_details": False, "show_subtotal": False}) - invoice = self.sale_order._create_invoices() - self.assertEqual(invoice.invoice_line_ids.show_details, False) - self.assertEqual(invoice.invoice_line_ids.show_subtotal, False) diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/views/account_move_view.xml b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/views/account_move_view.xml deleted file mode 100644 index a9d2e4e1..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/views/account_move_view.xml +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - account.move.form.inherit - account.move - - - - - - - - - - - - - - - - - - col-#{record.display_type.raw_value === 'line_section' ? '8' : 12} - - - - -
- - - - -
-
-
- - - - - - - - - - - - - - -
-
- -
diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/views/invoice_report_templates.xml b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/views/invoice_report_templates.xml deleted file mode 100644 index 4c55631c..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/views/invoice_report_templates.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/views/sale_order_report_templates.xml b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/views/sale_order_report_templates.xml deleted file mode 100644 index 2e115920..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/views/sale_order_report_templates.xml +++ /dev/null @@ -1,108 +0,0 @@ - - - - - diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/views/sale_portal_templates.xml b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/views/sale_portal_templates.xml deleted file mode 100644 index 64607542..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/views/sale_portal_templates.xml +++ /dev/null @@ -1,115 +0,0 @@ - - - - - diff --git a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/views/sale_views.xml b/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/views/sale_views.xml deleted file mode 100644 index 31eac7ed..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_layout_category_hide_detail/sale_layout_category_hide_detail/views/sale_views.xml +++ /dev/null @@ -1,137 +0,0 @@ - - - - - sale.order.hide.detail.form - sale.order - - - - - - - - - - - - - - - - - - - - - - - col-#{record.display_type.raw_value === 'line_section' ? '10' : 12} - - - -
- - - - -
-
-
-
-
-
diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/README.md b/odoo-bringout-oca-sale-reporting-sale_order_line_position/README.md deleted file mode 100644 index 8d783b3b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/README.md +++ /dev/null @@ -1,46 +0,0 @@ -# Sale 0rder Line Position - -Odoo addon: sale_order_line_position - -## Installation - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_order_line_position -``` - -## Dependencies - -This addon depends on: -- sale - -## Manifest Information - -- **Name**: Sale 0rder Line Position -- **Version**: 16.0.1.3.0 -- **Category**: Sales -- **License**: AGPL-3 -- **Installable**: True - -## Source - -Based on [OCA/sale-reporting](https://github.com/OCA/sale-reporting) branch 16.0, addon `sale_order_line_position`. - -## License - -This package maintains the original AGPL-3 license from the upstream Odoo project. - -## 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/ARCHITECTURE.md b/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/ARCHITECTURE.md deleted file mode 100644 index 83503a04..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/ARCHITECTURE.md +++ /dev/null @@ -1,32 +0,0 @@ -# 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 Sale_order_line_position Module - sale_order_line_position - 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/CONFIGURATION.md b/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/CONFIGURATION.md deleted file mode 100644 index bf58580d..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/CONFIGURATION.md +++ /dev/null @@ -1,3 +0,0 @@ -# Configuration - -Refer to Odoo settings for sale_order_line_position. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/CONTROLLERS.md b/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/CONTROLLERS.md deleted file mode 100644 index f628e770..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/CONTROLLERS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Controllers - -This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/DEPENDENCIES.md b/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/DEPENDENCIES.md deleted file mode 100644 index 47e4ecf1..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/DEPENDENCIES.md +++ /dev/null @@ -1,5 +0,0 @@ -# Dependencies - -This addon depends on: - -- [sale](https://github.com/bringout/oca-ocb-sale/tree/681dc8d5fff638cb0862a34e48091a2098d091f8/odoo-bringout-oca-ocb-sale) diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/FAQ.md b/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/FAQ.md deleted file mode 100644 index 94560d95..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/FAQ.md +++ /dev/null @@ -1,4 +0,0 @@ -# FAQ - -- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). -- Q: How to enable? A: Start server with --addon sale_order_line_position or install in UI. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/INSTALL.md b/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/INSTALL.md deleted file mode 100644 index 60355cbc..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/INSTALL.md +++ /dev/null @@ -1,7 +0,0 @@ -# Install - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_order_line_position" -# or -uv pip install odoo-bringout-oca-sale-reporting-sale_order_line_position" -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/MODELS.md b/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/MODELS.md deleted file mode 100644 index 2335b8e6..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/MODELS.md +++ /dev/null @@ -1,16 +0,0 @@ -# Models - -Detected core models and extensions in sale_order_line_position. - -```mermaid -classDiagram - class ir_actions_report - class res_company - class res_config_settings - class sale_order - class sale_order_line -``` - -Notes -- Classes show model technical names; fields omitted for brevity. -- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/OVERVIEW.md b/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/OVERVIEW.md deleted file mode 100644 index 9b09cff5..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/OVERVIEW.md +++ /dev/null @@ -1,6 +0,0 @@ -# Overview - -Packaged Odoo addon: sale_order_line_position. Provides features documented in upstream Odoo 16 under this addon. - -- Source: OCA/OCB 16.0, addon sale_order_line_position -- License: LGPL-3 diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/REPORTS.md b/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/REPORTS.md deleted file mode 100644 index 89edfe12..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/REPORTS.md +++ /dev/null @@ -1,22 +0,0 @@ -# Reports - -Report definitions and templates in sale_order_line_position. - -```mermaid -classDiagram -``` - -## Available Reports - -No named reports found in XML files. - - -## Report Files - -- **sale_order_report.xml** (XML template/definition) - -## Notes -- Named reports above are accessible through Odoo's reporting menu -- Python files define report logic and data processing -- XML files contain report templates, definitions, and formatting -- Reports are integrated with Odoo's printing and email systems diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/SECURITY.md b/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/SECURITY.md deleted file mode 100644 index e07da9da..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/SECURITY.md +++ /dev/null @@ -1,8 +0,0 @@ -# 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/TROUBLESHOOTING.md deleted file mode 100644 index 56853cb7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/TROUBLESHOOTING.md +++ /dev/null @@ -1,5 +0,0 @@ -# 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/USAGE.md b/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/USAGE.md deleted file mode 100644 index 8e35d203..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/USAGE.md +++ /dev/null @@ -1,7 +0,0 @@ -# Usage - -Start Odoo including this addon (from repo root): - -```bash -python3 scripts/nix_odoo_web_server.py --db-name mydb --addon sale_order_line_position -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/WIZARDS.md b/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/WIZARDS.md deleted file mode 100644 index 48e790dc..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/doc/WIZARDS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Wizards - -This module does not include UI wizards. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/pyproject.toml b/odoo-bringout-oca-sale-reporting-sale_order_line_position/pyproject.toml deleted file mode 100644 index a767f579..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/pyproject.toml +++ /dev/null @@ -1,42 +0,0 @@ -[project] -name = "odoo-bringout-oca-sale-reporting-sale_order_line_position" -version = "16.0.0" -description = "Sale 0rder Line Position - Adds position number on sale order line." -authors = [ - { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } -] -dependencies = [ - "odoo-bringout-oca-ocb-sale>=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 = ["sale_order_line_position"] - -[tool.rye] -managed = true -dev-dependencies = [ - "pytest>=8.4.1", -] diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/README.rst b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/README.rst deleted file mode 100644 index a60acb53..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/README.rst +++ /dev/null @@ -1,114 +0,0 @@ -======================== -Sale 0rder Line Position -======================== - -.. - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:4462b10d9b62946809e838ab544244ba35bb671aaf38df2953ec2350f3e2f8f9 - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png - :target: https://odoo-community.org/page/development-status - :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--reporting-lightgray.png?logo=github - :target: https://github.com/OCA/sale-reporting/tree/16.0/sale_order_line_position - :alt: OCA/sale-reporting -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-reporting-16-0/sale-reporting-16-0-sale_order_line_position - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-reporting&target_branch=16.0 - :alt: Try me on Runboat - -|badge1| |badge2| |badge3| |badge4| |badge5| - -This module adds an auto computed position on sale order line. -This position number is also printed on the report. - -The position can be used to keep track of each line during -the delivery and invoicing of the order with the customer. -This is why there are related modules on `account-invoice-reporting` -and `stock-logisics-reporting`. - -The positions are recomputed when the sale order is printed, sent and set to confirm. - -The positions are not changed on the line after the order has been confirmed, but if -new line are added they will receive a position number. - -An action is also availabled to manually recompute the positions. - -**Table of contents** - -.. contents:: - :local: - -Known issues / Roadmap -====================== - -The way the positions are computed on the create of `sale.order.line` -record could lead to a performance issue. There is a few improvements -that have been suggested: - -Remove it and handle the computation on the write and/or create -method of the `sale.order`. - -Have a context key to enable/disable the recomputation. - -Do not set any value in the position fields before the sale order lines -are locked (in the current implementation, before sending). -And add a recompute button in the UI. - -Set the position values with an SQL query using a `TRIGGER`. - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -~~~~~~~ - -* Camptocamp - -Contributors -~~~~~~~~~~~~ - -* Thierry Ducrest -* `Trobz `_: -* Nguyen Hoang Hiep - -Other credits -~~~~~~~~~~~~~ - -The migration of this module from 13.0 to 14.0 was financially supported by Camptocamp - -Maintainers -~~~~~~~~~~~ - -This module is maintained by the OCA. - -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org - -OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use. - -This module is part of the `OCA/sale-reporting `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/__init__.py b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/__init__.py deleted file mode 100644 index 0650744f..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import models diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/__manifest__.py b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/__manifest__.py deleted file mode 100644 index 8194bde4..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/__manifest__.py +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 2021 Camptocamp SA -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) - -{ - "name": "Sale 0rder Line Position", - "summary": "Adds position number on sale order line.", - "version": "16.0.1.3.0", - "category": "Sales", - "author": "Camptocamp, Odoo Community Association (OCA)", - "license": "AGPL-3", - "website": "https://github.com/OCA/sale-reporting", - "depends": ["sale"], - "data": [ - "views/sale_order.xml", - "views/res_config_settings.xml", - "report/sale_order_report.xml", - ], - "installable": True, -} diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/i18n/bs.po b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/i18n/bs.po deleted file mode 100644 index 6673e633..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/i18n/bs.po +++ /dev/null @@ -1,81 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_position -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_res_company -msgid "Companies" -msgstr "Kompanije" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_res_config_settings -msgid "Config Settings" -msgstr "Postavke" - -#. module: sale_order_line_position -#: model:ir.model.fields,field_description:sale_order_line_position.field_res_company__disable_sale_position_recompute -#: model:ir.model.fields,field_description:sale_order_line_position.field_res_config_settings__disable_sale_position_recompute -msgid "Do not recompute positions on sale orders" -msgstr "Ne preračunaj pozicije na prodajnim nalozima" - -#. module: sale_order_line_position -#: model_terms:ir.ui.view,arch_db:sale_order_line_position.res_config_settings_view_form -msgid "Do not recompute positions when line is removed" -msgstr "Ne preračunaj pozicije kada se stavka uklanja" - -#. module: sale_order_line_position -#: model:ir.model.fields,field_description:sale_order_line_position.field_sale_order__locked_positions -msgid "Locked Positions" -msgstr "Zaključane pozicije" - -#. module: sale_order_line_position -#: model_terms:ir.ui.view,arch_db:sale_order_line_position.report_saleorder_document -#: model_terms:ir.ui.view,arch_db:sale_order_line_position.view_order_form_inherit -msgid "Pos" -msgstr "Poz" - -#. module: sale_order_line_position -#: model:ir.model.fields,field_description:sale_order_line_position.field_sale_order_line__position -msgid "Position" -msgstr "Pozicija" - -#. module: sale_order_line_position -#: model:ir.model.fields,field_description:sale_order_line_position.field_sale_order_line__position_formatted -msgid "Position Formatted" -msgstr "Formatirana pozicija" - -#. module: sale_order_line_position -#: model:ir.actions.server,name:sale_order_line_position.action_compute_sale_position -msgid "Recompute positions" -msgstr "Preračunaj pozicije" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_ir_actions_report -msgid "Report Action" -msgstr "Akcija izvještaja" - -#. module: sale_order_line_position -#: model_terms:ir.ui.view,arch_db:sale_order_line_position.res_config_settings_view_form -msgid "Sale Order Line Positions" -msgstr "Pozicije stavki prodajnog naloga" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_sale_order -msgid "Sales Order" -msgstr "Prodajni nalog" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_sale_order_line -msgid "Sales Order Line" -msgstr "Stavka prodajne narudžbe" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/i18n/ca.po b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/i18n/ca.po deleted file mode 100644 index c3db54f0..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/i18n/ca.po +++ /dev/null @@ -1,84 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_position -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 15.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2022-06-03 10:05+0000\n" -"Last-Translator: jabelchi \n" -"Language-Team: none\n" -"Language: ca\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.3.2\n" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_res_company -msgid "Companies" -msgstr "" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_res_config_settings -msgid "Config Settings" -msgstr "" - -#. module: sale_order_line_position -#: model:ir.model.fields,field_description:sale_order_line_position.field_res_company__disable_sale_position_recompute -#: model:ir.model.fields,field_description:sale_order_line_position.field_res_config_settings__disable_sale_position_recompute -msgid "Do not recompute positions on sale orders" -msgstr "" - -#. module: sale_order_line_position -#: model_terms:ir.ui.view,arch_db:sale_order_line_position.res_config_settings_view_form -msgid "Do not recompute positions when line is removed" -msgstr "" - -#. module: sale_order_line_position -#: model:ir.model.fields,field_description:sale_order_line_position.field_sale_order__locked_positions -msgid "Locked Positions" -msgstr "Posicions bloquejades" - -#. module: sale_order_line_position -#: model_terms:ir.ui.view,arch_db:sale_order_line_position.report_saleorder_document -#: model_terms:ir.ui.view,arch_db:sale_order_line_position.view_order_form_inherit -msgid "Pos" -msgstr "Pos" - -#. module: sale_order_line_position -#: model:ir.model.fields,field_description:sale_order_line_position.field_sale_order_line__position -msgid "Position" -msgstr "Posició" - -#. module: sale_order_line_position -#: model:ir.model.fields,field_description:sale_order_line_position.field_sale_order_line__position_formatted -msgid "Position Formatted" -msgstr "Posició formatada" - -#. module: sale_order_line_position -#: model:ir.actions.server,name:sale_order_line_position.action_compute_sale_position -msgid "Recompute positions" -msgstr "Recalcula posicions" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_ir_actions_report -msgid "Report Action" -msgstr "Acció d'informe" - -#. module: sale_order_line_position -#: model_terms:ir.ui.view,arch_db:sale_order_line_position.res_config_settings_view_form -msgid "Sale Order Line Positions" -msgstr "" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_sale_order -msgid "Sales Order" -msgstr "Comanda de venda" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_sale_order_line -msgid "Sales Order Line" -msgstr "Línia de comanda de venda" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/i18n/de.po b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/i18n/de.po deleted file mode 100644 index c780967a..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/i18n/de.po +++ /dev/null @@ -1,93 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_position -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2022-05-11 12:05+0000\n" -"Last-Translator: Maria Sparenberg \n" -"Language-Team: none\n" -"Language: de\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.3.2\n" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_res_company -msgid "Companies" -msgstr "" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_res_config_settings -msgid "Config Settings" -msgstr "" - -#. module: sale_order_line_position -#: model:ir.model.fields,field_description:sale_order_line_position.field_res_company__disable_sale_position_recompute -#: model:ir.model.fields,field_description:sale_order_line_position.field_res_config_settings__disable_sale_position_recompute -msgid "Do not recompute positions on sale orders" -msgstr "" - -#. module: sale_order_line_position -#: model_terms:ir.ui.view,arch_db:sale_order_line_position.res_config_settings_view_form -msgid "Do not recompute positions when line is removed" -msgstr "" - -#. module: sale_order_line_position -#: model:ir.model.fields,field_description:sale_order_line_position.field_sale_order__locked_positions -msgid "Locked Positions" -msgstr "Gesperrte Positionen" - -#. module: sale_order_line_position -#: model_terms:ir.ui.view,arch_db:sale_order_line_position.report_saleorder_document -#: model_terms:ir.ui.view,arch_db:sale_order_line_position.view_order_form_inherit -msgid "Pos" -msgstr "Pos" - -#. module: sale_order_line_position -#: model:ir.model.fields,field_description:sale_order_line_position.field_sale_order_line__position -msgid "Position" -msgstr "Position" - -#. module: sale_order_line_position -#: model:ir.model.fields,field_description:sale_order_line_position.field_sale_order_line__position_formatted -msgid "Position Formatted" -msgstr "" - -#. module: sale_order_line_position -#: model:ir.actions.server,name:sale_order_line_position.action_compute_sale_position -msgid "Recompute positions" -msgstr "Positionen neuberechnen" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_ir_actions_report -msgid "Report Action" -msgstr "" - -#. module: sale_order_line_position -#: model_terms:ir.ui.view,arch_db:sale_order_line_position.res_config_settings_view_form -msgid "Sale Order Line Positions" -msgstr "" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_sale_order -msgid "Sales Order" -msgstr "Verkaufsauftrag" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_sale_order_line -msgid "Sales Order Line" -msgstr "Auftragsposition" - -#~ msgid "Display Name" -#~ msgstr "Anzeigename" - -#~ msgid "ID" -#~ msgstr "ID" - -#~ msgid "Last Modified on" -#~ msgstr "Zuletzt geändert am" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/i18n/it.po b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/i18n/it.po deleted file mode 100644 index 5aae1a2b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/i18n/it.po +++ /dev/null @@ -1,84 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_position -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2024-07-01 11:47+0000\n" -"Last-Translator: mymage \n" -"Language-Team: none\n" -"Language: it\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_res_company -msgid "Companies" -msgstr "Aziende" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_res_config_settings -msgid "Config Settings" -msgstr "Impostazioni configurazione" - -#. module: sale_order_line_position -#: model:ir.model.fields,field_description:sale_order_line_position.field_res_company__disable_sale_position_recompute -#: model:ir.model.fields,field_description:sale_order_line_position.field_res_config_settings__disable_sale_position_recompute -msgid "Do not recompute positions on sale orders" -msgstr "Non ricalcolare le posizioni negli ordini di vendita" - -#. module: sale_order_line_position -#: model_terms:ir.ui.view,arch_db:sale_order_line_position.res_config_settings_view_form -msgid "Do not recompute positions when line is removed" -msgstr "Non ricalcolare le posizioni quando viene rimossa la riga" - -#. module: sale_order_line_position -#: model:ir.model.fields,field_description:sale_order_line_position.field_sale_order__locked_positions -msgid "Locked Positions" -msgstr "Posizioni bloccate" - -#. module: sale_order_line_position -#: model_terms:ir.ui.view,arch_db:sale_order_line_position.report_saleorder_document -#: model_terms:ir.ui.view,arch_db:sale_order_line_position.view_order_form_inherit -msgid "Pos" -msgstr "Pos" - -#. module: sale_order_line_position -#: model:ir.model.fields,field_description:sale_order_line_position.field_sale_order_line__position -msgid "Position" -msgstr "Posizione" - -#. module: sale_order_line_position -#: model:ir.model.fields,field_description:sale_order_line_position.field_sale_order_line__position_formatted -msgid "Position Formatted" -msgstr "Posizione formattata" - -#. module: sale_order_line_position -#: model:ir.actions.server,name:sale_order_line_position.action_compute_sale_position -msgid "Recompute positions" -msgstr "Ricalcolo posizioni" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_ir_actions_report -msgid "Report Action" -msgstr "Azione resoconto" - -#. module: sale_order_line_position -#: model_terms:ir.ui.view,arch_db:sale_order_line_position.res_config_settings_view_form -msgid "Sale Order Line Positions" -msgstr "Posizioni riga ordine di vendita" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_sale_order -msgid "Sales Order" -msgstr "Ordine di vendita" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_sale_order_line -msgid "Sales Order Line" -msgstr "Riga ordine di vendita" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/i18n/sale_order_line_position.pot b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/i18n/sale_order_line_position.pot deleted file mode 100644 index 868ef275..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/i18n/sale_order_line_position.pot +++ /dev/null @@ -1,81 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_line_position -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_res_company -msgid "Companies" -msgstr "" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_res_config_settings -msgid "Config Settings" -msgstr "" - -#. module: sale_order_line_position -#: model:ir.model.fields,field_description:sale_order_line_position.field_res_company__disable_sale_position_recompute -#: model:ir.model.fields,field_description:sale_order_line_position.field_res_config_settings__disable_sale_position_recompute -msgid "Do not recompute positions on sale orders" -msgstr "" - -#. module: sale_order_line_position -#: model_terms:ir.ui.view,arch_db:sale_order_line_position.res_config_settings_view_form -msgid "Do not recompute positions when line is removed" -msgstr "" - -#. module: sale_order_line_position -#: model:ir.model.fields,field_description:sale_order_line_position.field_sale_order__locked_positions -msgid "Locked Positions" -msgstr "" - -#. module: sale_order_line_position -#: model_terms:ir.ui.view,arch_db:sale_order_line_position.report_saleorder_document -#: model_terms:ir.ui.view,arch_db:sale_order_line_position.view_order_form_inherit -msgid "Pos" -msgstr "" - -#. module: sale_order_line_position -#: model:ir.model.fields,field_description:sale_order_line_position.field_sale_order_line__position -msgid "Position" -msgstr "" - -#. module: sale_order_line_position -#: model:ir.model.fields,field_description:sale_order_line_position.field_sale_order_line__position_formatted -msgid "Position Formatted" -msgstr "" - -#. module: sale_order_line_position -#: model:ir.actions.server,name:sale_order_line_position.action_compute_sale_position -msgid "Recompute positions" -msgstr "" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_ir_actions_report -msgid "Report Action" -msgstr "" - -#. module: sale_order_line_position -#: model_terms:ir.ui.view,arch_db:sale_order_line_position.res_config_settings_view_form -msgid "Sale Order Line Positions" -msgstr "" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_sale_order -msgid "Sales Order" -msgstr "" - -#. module: sale_order_line_position -#: model:ir.model,name:sale_order_line_position.model_sale_order_line -msgid "Sales Order Line" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/models/__init__.py b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/models/__init__.py deleted file mode 100644 index d5eab717..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/models/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -from . import ir_actions_report -from . import sale_order -from . import sale_order_line -from . import res_company -from . import res_config_settings diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/models/ir_actions_report.py b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/models/ir_actions_report.py deleted file mode 100644 index 0c0cf2a9..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/models/ir_actions_report.py +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 2021 Camptocamp SA -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) - -from odoo import models - - -class IrActionsReport(models.Model): - _inherit = "ir.actions.report" - - def render_qweb_pdf(self, res_ids=None, data=None): - self.sale_recompute_positions(res_ids) - return super().render_qweb_pdf(res_ids, data) - - def sale_recompute_positions(self, res_ids): - if self.model == "sale.order": - sales = self.env["sale.order"].browse(res_ids) - sales.recompute_positions() diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/models/res_company.py b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/models/res_company.py deleted file mode 100644 index 345fbdfb..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/models/res_company.py +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright 2022 Camptocamp SA -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) - -from odoo import fields, models - - -class ResCompany(models.Model): - _inherit = "res.company" - - disable_sale_position_recompute = fields.Boolean( - string="Do not recompute positions on sale orders" - ) diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/models/res_config_settings.py b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/models/res_config_settings.py deleted file mode 100644 index cf228b95..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/models/res_config_settings.py +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright 2022 Camptocamp SA -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) - -from odoo import fields, models - - -class ResConfigSettings(models.TransientModel): - _inherit = "res.config.settings" - - disable_sale_position_recompute = fields.Boolean( - related="company_id.disable_sale_position_recompute", - readonly=False, - ) diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/models/sale_order.py b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/models/sale_order.py deleted file mode 100644 index 6dff4fa6..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/models/sale_order.py +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 2021 Camptocamp SA -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) - -from odoo import api, fields, models - - -class SaleOrder(models.Model): - _inherit = "sale.order" - - locked_positions = fields.Boolean(compute="_compute_locked_positions") - - @api.depends("state") - def _compute_locked_positions(self): - for record in self: - record.locked_positions = record.state != "draft" - - def action_confirm(self): - self.recompute_positions() - return super().action_confirm() - - def action_quotation_send(self): - self.recompute_positions() - return super().action_quotation_send() - - def recompute_positions(self): - for sale in self: - if sale.locked_positions or sale.company_id.disable_sale_position_recompute: - continue - lines = sale.order_line.filtered(lambda l: not l.display_type) - lines.sorted(key=lambda x: (x.sequence, x.id)) - for position, line in enumerate(lines, start=1): - line.position = position diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/models/sale_order_line.py b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/models/sale_order_line.py deleted file mode 100644 index 60af976c..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/models/sale_order_line.py +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 2021 Camptocamp SA -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) - -from odoo import api, fields, models - - -class SaleOrderLine(models.Model): - _inherit = "sale.order.line" - - position = fields.Integer(readonly=True, index=True, default=False) - position_formatted = fields.Char(compute="_compute_position_formatted") - - @api.depends("position") - def _compute_position_formatted(self): - for record in self: - record.position_formatted = record._format_position(record.position) - - @api.model_create_multi - def create(self, vals_list): - vals_list = self._add_next_position_on_new_line(vals_list) - return super().create(vals_list) - - def unlink(self): - sales = self.mapped("order_id") - res = super().unlink() - for sale in sales: - sale.recompute_positions() - return res - - def _add_next_position_on_new_line(self, vals_list): - sale_ids = [ - line["order_id"] - for line in vals_list - if not line.get("display_type") and line.get("order_id") - ] - if sale_ids: - ids = tuple(set(sale_ids)) - self.flush_model() - query = """ - SELECT order_id, max(position) FROM sale_order_line - WHERE order_id in %s GROUP BY order_id; - """ - self.env.cr.execute(query, (ids,)) - default_pos = {key: 1 for key in ids} - existing_pos = { - order_id: pos + 1 for order_id, pos in self.env.cr.fetchall() - } - sale_pos = {**default_pos, **existing_pos} - for line in vals_list: - if not line.get("display_type"): - line["position"] = sale_pos[line["order_id"]] - sale_pos[line["order_id"]] += 1 - return vals_list - - @api.model - def _format_position(self, position): - if not position: - return "" - return str(position).zfill(3) diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/readme/CONTRIBUTORS.rst deleted file mode 100644 index 1e51756c..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,3 +0,0 @@ -* Thierry Ducrest -* `Trobz `_: -* Nguyen Hoang Hiep diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/readme/CREDITS.rst b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/readme/CREDITS.rst deleted file mode 100644 index f37ebe75..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/readme/CREDITS.rst +++ /dev/null @@ -1 +0,0 @@ -The migration of this module from 13.0 to 14.0 was financially supported by Camptocamp diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/readme/DESCRIPTION.rst b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/readme/DESCRIPTION.rst deleted file mode 100644 index 13f06343..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/readme/DESCRIPTION.rst +++ /dev/null @@ -1,14 +0,0 @@ -This module adds an auto computed position on sale order line. -This position number is also printed on the report. - -The position can be used to keep track of each line during -the delivery and invoicing of the order with the customer. -This is why there are related modules on `account-invoice-reporting` -and `stock-logisics-reporting`. - -The positions are recomputed when the sale order is printed, sent and set to confirm. - -The positions are not changed on the line after the order has been confirmed, but if -new line are added they will receive a position number. - -An action is also availabled to manually recompute the positions. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/readme/ROADMAP.rst b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/readme/ROADMAP.rst deleted file mode 100644 index ade3ff20..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/readme/ROADMAP.rst +++ /dev/null @@ -1,14 +0,0 @@ -The way the positions are computed on the create of `sale.order.line` -record could lead to a performance issue. There is a few improvements -that have been suggested: - -Remove it and handle the computation on the write and/or create -method of the `sale.order`. - -Have a context key to enable/disable the recomputation. - -Do not set any value in the position fields before the sale order lines -are locked (in the current implementation, before sending). -And add a recompute button in the UI. - -Set the position values with an SQL query using a `TRIGGER`. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/report/sale_order_report.xml b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/report/sale_order_report.xml deleted file mode 100644 index c0d65c81..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/report/sale_order_report.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/static/description/icon.png b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/static/description/icon.png deleted file mode 100644 index 3a0328b5..00000000 Binary files a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/static/description/icon.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/static/description/index.html b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/static/description/index.html deleted file mode 100644 index f8a2c882..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/static/description/index.html +++ /dev/null @@ -1,453 +0,0 @@ - - - - - -Sale 0rder Line Position - - - -
-

Sale 0rder Line Position

- - -

Beta License: AGPL-3 OCA/sale-reporting Translate me on Weblate Try me on Runboat

-

This module adds an auto computed position on sale order line. -This position number is also printed on the report.

-

The position can be used to keep track of each line during -the delivery and invoicing of the order with the customer. -This is why there are related modules on account-invoice-reporting -and stock-logisics-reporting.

-

The positions are recomputed when the sale order is printed, sent and set to confirm.

-

The positions are not changed on the line after the order has been confirmed, but if -new line are added they will receive a position number.

-

An action is also availabled to manually recompute the positions.

-

Table of contents

- -
-

Known issues / Roadmap

-

The way the positions are computed on the create of sale.order.line -record could lead to a performance issue. There is a few improvements -that have been suggested:

-

Remove it and handle the computation on the write and/or create -method of the sale.order.

-

Have a context key to enable/disable the recomputation.

-

Do not set any value in the position fields before the sale order lines -are locked (in the current implementation, before sending). -And add a recompute button in the UI.

-

Set the position values with an SQL query using a TRIGGER.

-
-
-

Bug Tracker

-

Bugs are tracked on GitHub Issues. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

-

Do not contact contributors directly about support or help with technical issues.

-
-
-

Credits

-
-

Authors

-
    -
  • Camptocamp
  • -
-
-
-

Contributors

- -
-
-

Other credits

-

The migration of this module from 13.0 to 14.0 was financially supported by Camptocamp

-
-
-

Maintainers

-

This module is maintained by the OCA.

- -Odoo Community Association - -

OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use.

-

This module is part of the OCA/sale-reporting project on GitHub.

-

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

-
-
-
- - diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/tests/__init__.py b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/tests/__init__.py deleted file mode 100644 index 8636f14d..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/tests/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import test_sale_order_line_position diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/tests/test_sale_order_line_position.py b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/tests/test_sale_order_line_position.py deleted file mode 100644 index d273fa34..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/tests/test_sale_order_line_position.py +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 2021 Camptocamp SA -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl) -from odoo.tests import TransactionCase - - -class TestSaleOrderLinePosition(TransactionCase): - @classmethod - def setUpClass(cls): - super().setUpClass() - cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) - cls.partner = cls.env.ref("base.res_partner_12") - cls.product = cls.env.ref("product.product_product_9") - cls.order = cls.env["sale.order"].create( - { - "partner_id": cls.partner.id, - "order_line": [ - ( - 0, - 0, - { - "product_id": cls.product.id, - "product_uom": cls.product.uom_id.id, - "product_uom_qty": 3.0, - }, - ), - (0, 0, {"display_type": "line_section", "name": "Section"}), - ( - 0, - 0, - { - "product_id": cls.product.id, - "product_uom": cls.product.uom_id.id, - "product_uom_qty": 5.0, - }, - ), - ], - } - ) - - def test_new_line_position(self): - """Check that new line created get a new incremental position number.""" - line1 = self.order.order_line[0] - self.assertEqual(line1.position, 1) - self.assertEqual(line1.position_formatted, "001") - line2 = self.order.order_line[1] - self.assertEqual(line2.position, 0) - self.assertEqual(line2.position_formatted, "") - line3 = self.env["sale.order.line"].create( - [ - { - "order_id": self.order.id, - "product_id": self.product.id, - "product_uom": self.product.uom_id.id, - "product_uom_qty": 9.0, - }, - ] - ) - self.assertEqual(line3.position, 3) - self.assertEqual(line3.position_formatted, "003") - - def test_unlink_line(self): - """Check that when line are being removed position are recomputed.""" - self.order.order_line[0].unlink() - self.assertEqual(len(self.order.order_line), 2) - self.assertEqual(self.order.order_line[1].position, 1) - - def test_unlink_no_recompute_line(self): - """Check that when parameter disable_sale_position_recompute is True - and line are being removed position are not recomputed.""" - self.order.company_id.disable_sale_position_recompute = True - self.order.order_line[0].unlink() - self.assertEqual(len(self.order.order_line), 2) - self.assertEqual(self.order.order_line[1].position, 2) - - def test_locked_positions(self): - """Check that when order is sent, position are not recomputed.""" - new_line = self.env["sale.order.line"].create( - [ - { - "order_id": self.order.id, - "product_id": self.product.id, - "product_uom": self.product.uom_id.id, - "product_uom_qty": 15.0, - }, - ] - ) - self.assertEqual(new_line.position, 3) - self.order.state = "sent" - self.order.order_line[0].unlink() - self.assertEqual(new_line.position, 3) diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/views/res_config_settings.xml b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/views/res_config_settings.xml deleted file mode 100644 index 19eb85e6..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/views/res_config_settings.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - sale.config.positioning.form - res.config.settings - - -
-

Sale Order Line Positions

-
-
-
- -
-
-
-
-
-
-
-
-
diff --git a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/views/sale_order.xml b/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/views/sale_order.xml deleted file mode 100644 index f485eebc..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_line_position/sale_order_line_position/views/sale_order.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - sale.order.form.sale.inherit - sale.order - - 100 - - - - - - - - - - - - Recompute positions - - - code - - records.recompute_positions() - - - - diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/README.md b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/README.md deleted file mode 100644 index 310a1d0b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/README.md +++ /dev/null @@ -1,47 +0,0 @@ -# Product weekly sales hint on sales recommendation wizard - -Odoo addon: sale_order_product_recommendation_product_sold_by_delivery_week - -## Installation - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week -``` - -## Dependencies - -This addon depends on: -- product_sold_by_delivery_week -- sale_order_product_recommendation - -## Manifest Information - -- **Name**: Product weekly sales hint on sales recommendation wizard -- **Version**: 16.0.1.1.0 -- **Category**: Sale -- **License**: AGPL-3 -- **Installable**: False - -## Source - -Based on [OCA/sale-reporting](https://github.com/OCA/sale-reporting) branch 16.0, addon `sale_order_product_recommendation_product_sold_by_delivery_week`. - -## License - -This package maintains the original AGPL-3 license from the upstream Odoo project. - -## 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/ARCHITECTURE.md b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/ARCHITECTURE.md deleted file mode 100644 index 19b7ed87..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/ARCHITECTURE.md +++ /dev/null @@ -1,32 +0,0 @@ -# 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 Sale_order_product_recommendation_product_sold_by_delivery_week Module - sale_order_product_recommendation_product_sold_by_delivery_week - 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/CONFIGURATION.md b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/CONFIGURATION.md deleted file mode 100644 index b0f0f9ff..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/CONFIGURATION.md +++ /dev/null @@ -1,3 +0,0 @@ -# Configuration - -Refer to Odoo settings for sale_order_product_recommendation_product_sold_by_delivery_week. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/CONTROLLERS.md b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/CONTROLLERS.md deleted file mode 100644 index f628e770..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/CONTROLLERS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Controllers - -This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/DEPENDENCIES.md b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/DEPENDENCIES.md deleted file mode 100644 index 2367b5fb..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/DEPENDENCIES.md +++ /dev/null @@ -1,6 +0,0 @@ -# Dependencies - -This addon depends on: - -- [product_sold_by_delivery_week](https://github.com/bringout/oca-technical) -- [sale_order_product_recommendation](https://github.com/bringout/oca-workflow-process) diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/FAQ.md b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/FAQ.md deleted file mode 100644 index bb759fb0..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/FAQ.md +++ /dev/null @@ -1,4 +0,0 @@ -# FAQ - -- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). -- Q: How to enable? A: Start server with --addon sale_order_product_recommendation_product_sold_by_delivery_week or install in UI. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/INSTALL.md b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/INSTALL.md deleted file mode 100644 index 5758b273..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/INSTALL.md +++ /dev/null @@ -1,7 +0,0 @@ -# Install - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week" -# or -uv pip install odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week" -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/MODELS.md b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/MODELS.md deleted file mode 100644 index 44ec5a72..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/MODELS.md +++ /dev/null @@ -1,11 +0,0 @@ -# Models - -Detected core models and extensions in sale_order_product_recommendation_product_sold_by_delivery_week. - -```mermaid -classDiagram -``` - -Notes -- Classes show model technical names; fields omitted for brevity. -- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/OVERVIEW.md b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/OVERVIEW.md deleted file mode 100644 index 76a5d5c7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/OVERVIEW.md +++ /dev/null @@ -1,6 +0,0 @@ -# Overview - -Packaged Odoo addon: sale_order_product_recommendation_product_sold_by_delivery_week. Provides features documented in upstream Odoo 16 under this addon. - -- Source: OCA/OCB 16.0, addon sale_order_product_recommendation_product_sold_by_delivery_week -- License: LGPL-3 diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/REPORTS.md b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/REPORTS.md deleted file mode 100644 index e0ea35fb..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/REPORTS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Reports - -This module does not define custom reports. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/SECURITY.md b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/SECURITY.md deleted file mode 100644 index e07da9da..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/SECURITY.md +++ /dev/null @@ -1,8 +0,0 @@ -# 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/TROUBLESHOOTING.md deleted file mode 100644 index 56853cb7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/TROUBLESHOOTING.md +++ /dev/null @@ -1,5 +0,0 @@ -# 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/USAGE.md b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/USAGE.md deleted file mode 100644 index abdabc54..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/USAGE.md +++ /dev/null @@ -1,7 +0,0 @@ -# Usage - -Start Odoo including this addon (from repo root): - -```bash -python3 scripts/nix_odoo_web_server.py --db-name mydb --addon sale_order_product_recommendation_product_sold_by_delivery_week -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/WIZARDS.md b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/WIZARDS.md deleted file mode 100644 index f4b9b53d..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/doc/WIZARDS.md +++ /dev/null @@ -1,8 +0,0 @@ -# Wizards - -Transient models exposed as UI wizards in sale_order_product_recommendation_product_sold_by_delivery_week. - -```mermaid -classDiagram - class SaleOrderRecommendationLine -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/pyproject.toml b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/pyproject.toml deleted file mode 100644 index a4836ce0..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/pyproject.toml +++ /dev/null @@ -1,43 +0,0 @@ -[project] -name = "odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week" -version = "16.0.0" -description = "Product weekly sales hint on sales recommendation wizard - Adds the weekly sales field to the recommendation wizard" -authors = [ - { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } -] -dependencies = [ - "odoo-bringout-oca-sale-reporting-product_sold_by_delivery_week>=16.0.0", - "odoo-bringout-oca-sale-reporting-sale_order_product_recommendation>=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 = ["sale_order_product_recommendation_product_sold_by_delivery_week"] - -[tool.rye] -managed = true -dev-dependencies = [ - "pytest>=8.4.1", -] diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/README.rst b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/README.rst deleted file mode 100644 index b7aa9ed1..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/README.rst +++ /dev/null @@ -1,93 +0,0 @@ -======================================================== -Product weekly sales hint on sales recommendation wizard -======================================================== - -.. - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:c6bb8117308cca9cd5afcb48c8861eb87500b00c970c66895efc23c5d3e7b077 - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png - :target: https://odoo-community.org/page/development-status - :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--reporting-lightgray.png?logo=github - :target: https://github.com/OCA/sale-reporting/tree/16.0/sale_order_product_recommendation_product_sold_by_delivery_week - :alt: OCA/sale-reporting -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-reporting-16-0/sale-reporting-16-0-sale_order_product_recommendation_product_sold_by_delivery_week - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-reporting&target_branch=16.0 - :alt: Try me on Runboat - -|badge1| |badge2| |badge3| |badge4| |badge5| - -This module allows to display the weekly sales hint and qty on hand on the sales recommendator. - -**Table of contents** - -.. contents:: - :local: - -Known issues / Roadmap -====================== - -* If possible, display the same widget for availability as the sale order lines. - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -~~~~~~~ - -* Tecnativa - -Contributors -~~~~~~~~~~~~ - -* `Tecnativa `_: - - * David Vidal - -* Jairo Llopis (`Moduon `_) - -Maintainers -~~~~~~~~~~~ - -This module is maintained by the OCA. - -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org - -OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use. - -.. |maintainer-chienandalu| image:: https://github.com/chienandalu.png?size=40px - :target: https://github.com/chienandalu - :alt: chienandalu - -Current `maintainer `__: - -|maintainer-chienandalu| - -This module is part of the `OCA/sale-reporting `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/__init__.py b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/__init__.py deleted file mode 100644 index 40272379..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import wizard diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/__manifest__.py b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/__manifest__.py deleted file mode 100644 index bb605c6d..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/__manifest__.py +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2021 Tecnativa - David Vidal -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -{ - "name": "Product weekly sales hint on sales recommendation wizard", - "summary": "Adds the weekly sales field to the recommendation wizard", - "version": "16.0.1.1.0", - "development_status": "Beta", - "category": "Sale", - "website": "https://github.com/OCA/sale-reporting", - "author": "Tecnativa, Odoo Community Association (OCA)", - "maintainers": ["chienandalu"], - "license": "AGPL-3", - "depends": ["product_sold_by_delivery_week", "sale_order_product_recommendation"], - "auto_install": True, - "data": ["wizard/sale_order_recommendation_view.xml"], -} diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/i18n/bs.po b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/i18n/bs.po deleted file mode 100644 index d38ad027..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/i18n/bs.po +++ /dev/null @@ -1,49 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_product_recommendation_product_sold_by_delivery_week -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model_terms:ir.ui.view,arch_db:sale_order_product_recommendation_product_sold_by_delivery_week.sale_order_recommendation_view_form -msgid "Available: " -msgstr "Dostupno: " - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model_terms:ir.ui.view,arch_db:sale_order_product_recommendation_product_sold_by_delivery_week.sale_order_recommendation_view_form -msgid "Weekly sales: " -msgstr "Weekly sales: " - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model:ir.model.fields,help:sale_order_product_recommendation_product_sold_by_delivery_week.field_sale_order_recommendation_line__qty_available -msgid "" -"Current quantity of products.\n" -"In a context with a single Stock Location, this includes goods stored at this Location, or any of its children.\n" -"In a context with a single Warehouse, this includes goods stored in the Stock Location of this Warehouse, or any of its children.\n" -"stored in the Stock Location of the Warehouse of this Shop, or any of its children.\n" -"Otherwise, this includes goods stored in any Stock Location with 'internal' type." -msgstr "" - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model:ir.model.fields,field_description:sale_order_product_recommendation_product_sold_by_delivery_week.field_sale_order_recommendation_line__qty_available -msgid "Qty. On Hand" -msgstr "Qty. On Hand" - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model:ir.model,name:sale_order_product_recommendation_product_sold_by_delivery_week.model_sale_order_recommendation_line -msgid "Recommended product for current sale order" -msgstr "Recommended product for current sale order" - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model:ir.model.fields,field_description:sale_order_product_recommendation_product_sold_by_delivery_week.field_sale_order_recommendation_line__weekly_sold_delivered_shown -msgid "Weekly Sold" -msgstr "Sedmično prodano" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/i18n/es.po b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/i18n/es.po deleted file mode 100644 index 2fe95af8..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/i18n/es.po +++ /dev/null @@ -1,64 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_product_recommendation_product_sold_by_delivery_week -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 13.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-12-15 09:23+0000\n" -"PO-Revision-Date: 2024-02-15 14:41+0000\n" -"Last-Translator: Jairo Llopis \n" -"Language-Team: \n" -"Language: es\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model_terms:ir.ui.view,arch_db:sale_order_product_recommendation_product_sold_by_delivery_week.sale_order_recommendation_view_form -msgid "Available: " -msgstr "A mano: " - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model_terms:ir.ui.view,arch_db:sale_order_product_recommendation_product_sold_by_delivery_week.sale_order_recommendation_view_form -msgid "Weekly sales: " -msgstr "Ventas semanales: " - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model:ir.model.fields,help:sale_order_product_recommendation_product_sold_by_delivery_week.field_sale_order_recommendation_line__qty_available -msgid "" -"Current quantity of products.\n" -"In a context with a single Stock Location, this includes goods stored at " -"this Location, or any of its children.\n" -"In a context with a single Warehouse, this includes goods stored in the " -"Stock Location of this Warehouse, or any of its children.\n" -"stored in the Stock Location of the Warehouse of this Shop, or any of its " -"children.\n" -"Otherwise, this includes goods stored in any Stock Location with 'internal' " -"type." -msgstr "" -"Cantidad actual de los productos.\n" -"En un contexto de una sola ubicación de Stock, esto incluye los bienes " -"almacenados en esta ubicación, o cualquiera de sus hijas.\n" -"En un contexto de un solo almacén, esto incluye los bienes almacenados en la " -"ubicación de Stock de ese almacén, o cualquiera de sus hijas.\n" -"En cualquier otro caso, esto incluye los bienes almacenados en cualquier " -"ubicación de Stock de tipo 'Interna'." - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model:ir.model.fields,field_description:sale_order_product_recommendation_product_sold_by_delivery_week.field_sale_order_recommendation_line__qty_available -msgid "Qty. On Hand" -msgstr "A mano" - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model:ir.model,name:sale_order_product_recommendation_product_sold_by_delivery_week.model_sale_order_recommendation_line -msgid "Recommended product for current sale order" -msgstr "Producto recomendado para el pedido de venta actual" - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model:ir.model.fields,field_description:sale_order_product_recommendation_product_sold_by_delivery_week.field_sale_order_recommendation_line__weekly_sold_delivered_shown -msgid "Weekly Sold" -msgstr "Venta semanal" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/i18n/it.po b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/i18n/it.po deleted file mode 100644 index 2aa09213..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/i18n/it.po +++ /dev/null @@ -1,63 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_product_recommendation_product_sold_by_delivery_week -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2023-12-19 15:33+0000\n" -"Last-Translator: mymage \n" -"Language-Team: none\n" -"Language: it\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model_terms:ir.ui.view,arch_db:sale_order_product_recommendation_product_sold_by_delivery_week.sale_order_recommendation_view_form -msgid "Available: " -msgstr "Disponibile: " - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model_terms:ir.ui.view,arch_db:sale_order_product_recommendation_product_sold_by_delivery_week.sale_order_recommendation_view_form -msgid "Weekly sales: " -msgstr "Vendite settimanali: " - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model:ir.model.fields,help:sale_order_product_recommendation_product_sold_by_delivery_week.field_sale_order_recommendation_line__qty_available -msgid "" -"Current quantity of products.\n" -"In a context with a single Stock Location, this includes goods stored at " -"this Location, or any of its children.\n" -"In a context with a single Warehouse, this includes goods stored in the " -"Stock Location of this Warehouse, or any of its children.\n" -"stored in the Stock Location of the Warehouse of this Shop, or any of its " -"children.\n" -"Otherwise, this includes goods stored in any Stock Location with 'internal' " -"type." -msgstr "" -"Quantità attuale di prodotti.\n" -"In un contesto con una sola ubicazione di magazzino, include beni stoccati " -"in questa ubicazione o qualsiasi delle sue figlie.\n" -"In un contesto con un solo magazzino, include beni stoccati nell'ubicazione " -"di questo magazzino o una qualsiasi delle figlie.\n" -"Stoccate nell'ubicazione di questo negozio, o qualsiasi delle sue figlie.\n" -"Altrimenti, include beni stoccati in qualsiasi ubicazione di tipo 'interno'." - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model:ir.model.fields,field_description:sale_order_product_recommendation_product_sold_by_delivery_week.field_sale_order_recommendation_line__qty_available -msgid "Qty. On Hand" -msgstr "Q.tà disponibile" - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model:ir.model,name:sale_order_product_recommendation_product_sold_by_delivery_week.model_sale_order_recommendation_line -msgid "Recommended product for current sale order" -msgstr "Prodotto consigliato per questo ordine di vendita" - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model:ir.model.fields,field_description:sale_order_product_recommendation_product_sold_by_delivery_week.field_sale_order_recommendation_line__weekly_sold_delivered_shown -msgid "Weekly Sold" -msgstr "Venduto settimanale" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/i18n/sale_order_product_recommendation_product_sold_by_delivery_week.pot b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/i18n/sale_order_product_recommendation_product_sold_by_delivery_week.pot deleted file mode 100644 index 9024eda3..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/i18n/sale_order_product_recommendation_product_sold_by_delivery_week.pot +++ /dev/null @@ -1,49 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_product_recommendation_product_sold_by_delivery_week -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model_terms:ir.ui.view,arch_db:sale_order_product_recommendation_product_sold_by_delivery_week.sale_order_recommendation_view_form -msgid "Available: " -msgstr "" - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model_terms:ir.ui.view,arch_db:sale_order_product_recommendation_product_sold_by_delivery_week.sale_order_recommendation_view_form -msgid "Weekly sales: " -msgstr "" - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model:ir.model.fields,help:sale_order_product_recommendation_product_sold_by_delivery_week.field_sale_order_recommendation_line__qty_available -msgid "" -"Current quantity of products.\n" -"In a context with a single Stock Location, this includes goods stored at this Location, or any of its children.\n" -"In a context with a single Warehouse, this includes goods stored in the Stock Location of this Warehouse, or any of its children.\n" -"stored in the Stock Location of the Warehouse of this Shop, or any of its children.\n" -"Otherwise, this includes goods stored in any Stock Location with 'internal' type." -msgstr "" - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model:ir.model.fields,field_description:sale_order_product_recommendation_product_sold_by_delivery_week.field_sale_order_recommendation_line__qty_available -msgid "Qty. On Hand" -msgstr "" - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model:ir.model,name:sale_order_product_recommendation_product_sold_by_delivery_week.model_sale_order_recommendation_line -msgid "Recommended product for current sale order" -msgstr "" - -#. module: sale_order_product_recommendation_product_sold_by_delivery_week -#: model:ir.model.fields,field_description:sale_order_product_recommendation_product_sold_by_delivery_week.field_sale_order_recommendation_line__weekly_sold_delivered_shown -msgid "Weekly Sold" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/readme/CONTRIBUTORS.rst deleted file mode 100644 index daa202fe..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,5 +0,0 @@ -* `Tecnativa `_: - - * David Vidal - -* Jairo Llopis (`Moduon `_) diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/readme/DESCRIPTION.rst b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/readme/DESCRIPTION.rst deleted file mode 100644 index 6003d65b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/readme/DESCRIPTION.rst +++ /dev/null @@ -1 +0,0 @@ -This module allows to display the weekly sales hint and qty on hand on the sales recommendator. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/readme/ROADMAP.rst b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/readme/ROADMAP.rst deleted file mode 100644 index 77f330da..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/readme/ROADMAP.rst +++ /dev/null @@ -1 +0,0 @@ -* If possible, display the same widget for availability as the sale order lines. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/static/description/icon.png b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/static/description/icon.png deleted file mode 100644 index 4947d4e3..00000000 Binary files a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/static/description/icon.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/static/description/index.html b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/static/description/index.html deleted file mode 100644 index 7d2b2de5..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/static/description/index.html +++ /dev/null @@ -1,433 +0,0 @@ - - - - - -Product weekly sales hint on sales recommendation wizard - - - -
-

Product weekly sales hint on sales recommendation wizard

- - -

Beta License: AGPL-3 OCA/sale-reporting Translate me on Weblate Try me on Runboat

-

This module allows to display the weekly sales hint and qty on hand on the sales recommendator.

-

Table of contents

- -
-

Known issues / Roadmap

-
    -
  • If possible, display the same widget for availability as the sale order lines.
  • -
-
-
-

Bug Tracker

-

Bugs are tracked on GitHub Issues. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

-

Do not contact contributors directly about support or help with technical issues.

-
-
-

Credits

-
-

Authors

-
    -
  • Tecnativa
  • -
-
-
-

Contributors

- -
-
-

Maintainers

-

This module is maintained by the OCA.

-Odoo Community Association -

OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use.

-

Current maintainer:

-

chienandalu

-

This module is part of the OCA/sale-reporting project on GitHub.

-

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

-
-
-
- - diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/wizard/__init__.py b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/wizard/__init__.py deleted file mode 100644 index d20a79a8..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/wizard/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import sale_order_recommendation diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/wizard/sale_order_recommendation.py b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/wizard/sale_order_recommendation.py deleted file mode 100644 index a2bf8b5e..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/wizard/sale_order_recommendation.py +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2021 Tecnativa - David Vidal -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo import api, fields, models - - -class SaleOrderRecommendationLine(models.TransientModel): - _inherit = "sale.order.recommendation.line" - - qty_available = fields.Float( - "Qty. On Hand", related="product_id.qty_available", readonly=True - ) - weekly_sold_delivered_shown = fields.Char( - string="Weekly Sold", - compute="_compute_weekly_sold_delivered_shown", - ) - - @api.depends("product_id") - def _compute_weekly_sold_delivered_shown(self): - """Compute dinamically in the view""" - _format_weekly_string = self.env["product.product"]._format_weekly_string - self.weekly_sold_delivered_shown = False - products = self.mapped("product_id").filtered(lambda x: x.type != "service") - common_partner = self.wizard_id.order_id.partner_id.commercial_partner_id - products_weekly = products.with_context( - weekly_partner_id=common_partner.id, - )._weekly_sold_delivered() - for line in self.filtered(lambda x: x.product_id.type != "service"): - line.weekly_sold_delivered_shown = _format_weekly_string( - products_weekly.get(line.product_id, False) - ) diff --git a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/wizard/sale_order_recommendation_view.xml b/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/wizard/sale_order_recommendation_view.xml deleted file mode 100644 index 7ee20082..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_product_recommendation_product_sold_by_delivery_week/sale_order_product_recommendation_product_sold_by_delivery_week/wizard/sale_order_recommendation_view.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - sale.order.recommendation - - - - - - - -
- Available: - -
-
- Weekly sales: -
-
- - - -
-
-
diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/README.md b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/README.md deleted file mode 100644 index 55c5ba00..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/README.md +++ /dev/null @@ -1,46 +0,0 @@ -# Sale Order Report Product Image - -Odoo addon: sale_order_report_product_image - -## Installation - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_order_report_product_image -``` - -## Dependencies - -This addon depends on: -- sale - -## Manifest Information - -- **Name**: Sale Order Report Product Image -- **Version**: 16.0.1.0.0 -- **Category**: Sale -- **License**: AGPL-3 -- **Installable**: False - -## Source - -Based on [OCA/sale-reporting](https://github.com/OCA/sale-reporting) branch 16.0, addon `sale_order_report_product_image`. - -## License - -This package maintains the original AGPL-3 license from the upstream Odoo project. - -## 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/ARCHITECTURE.md b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/ARCHITECTURE.md deleted file mode 100644 index 8c5bbec8..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/ARCHITECTURE.md +++ /dev/null @@ -1,32 +0,0 @@ -# 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 Sale_order_report_product_image Module - sale_order_report_product_image - 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/CONFIGURATION.md b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/CONFIGURATION.md deleted file mode 100644 index 99e5f964..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/CONFIGURATION.md +++ /dev/null @@ -1,3 +0,0 @@ -# Configuration - -Refer to Odoo settings for sale_order_report_product_image. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/CONTROLLERS.md b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/CONTROLLERS.md deleted file mode 100644 index f628e770..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/CONTROLLERS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Controllers - -This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/DEPENDENCIES.md b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/DEPENDENCIES.md deleted file mode 100644 index 47e4ecf1..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/DEPENDENCIES.md +++ /dev/null @@ -1,5 +0,0 @@ -# Dependencies - -This addon depends on: - -- [sale](https://github.com/bringout/oca-ocb-sale/tree/681dc8d5fff638cb0862a34e48091a2098d091f8/odoo-bringout-oca-ocb-sale) diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/FAQ.md b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/FAQ.md deleted file mode 100644 index 4a7d8f0f..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/FAQ.md +++ /dev/null @@ -1,4 +0,0 @@ -# FAQ - -- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). -- Q: How to enable? A: Start server with --addon sale_order_report_product_image or install in UI. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/INSTALL.md b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/INSTALL.md deleted file mode 100644 index f5449185..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/INSTALL.md +++ /dev/null @@ -1,7 +0,0 @@ -# Install - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_order_report_product_image" -# or -uv pip install odoo-bringout-oca-sale-reporting-sale_order_report_product_image" -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/MODELS.md b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/MODELS.md deleted file mode 100644 index 23566ea9..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/MODELS.md +++ /dev/null @@ -1,11 +0,0 @@ -# Models - -Detected core models and extensions in sale_order_report_product_image. - -```mermaid -classDiagram -``` - -Notes -- Classes show model technical names; fields omitted for brevity. -- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/OVERVIEW.md b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/OVERVIEW.md deleted file mode 100644 index c7f59f4c..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/OVERVIEW.md +++ /dev/null @@ -1,6 +0,0 @@ -# Overview - -Packaged Odoo addon: sale_order_report_product_image. Provides features documented in upstream Odoo 16 under this addon. - -- Source: OCA/OCB 16.0, addon sale_order_report_product_image -- License: LGPL-3 diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/REPORTS.md b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/REPORTS.md deleted file mode 100644 index e0ea35fb..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/REPORTS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Reports - -This module does not define custom reports. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/SECURITY.md b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/SECURITY.md deleted file mode 100644 index e07da9da..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/SECURITY.md +++ /dev/null @@ -1,8 +0,0 @@ -# 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/TROUBLESHOOTING.md deleted file mode 100644 index 56853cb7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/TROUBLESHOOTING.md +++ /dev/null @@ -1,5 +0,0 @@ -# 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/USAGE.md b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/USAGE.md deleted file mode 100644 index d69e2265..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/USAGE.md +++ /dev/null @@ -1,7 +0,0 @@ -# Usage - -Start Odoo including this addon (from repo root): - -```bash -python3 scripts/nix_odoo_web_server.py --db-name mydb --addon sale_order_report_product_image -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/WIZARDS.md b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/WIZARDS.md deleted file mode 100644 index 48e790dc..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/doc/WIZARDS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Wizards - -This module does not include UI wizards. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/pyproject.toml b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/pyproject.toml deleted file mode 100644 index 9338f804..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/pyproject.toml +++ /dev/null @@ -1,42 +0,0 @@ -[project] -name = "odoo-bringout-oca-sale-reporting-sale_order_report_product_image" -version = "16.0.0" -description = "Sale Order Report Product Image - Show product images on Sale documents" -authors = [ - { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } -] -dependencies = [ - "odoo-bringout-oca-ocb-sale>=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 = ["sale_order_report_product_image"] - -[tool.rye] -managed = true -dev-dependencies = [ - "pytest>=8.4.1", -] diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/README.rst b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/README.rst deleted file mode 100644 index d36d6319..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/README.rst +++ /dev/null @@ -1,106 +0,0 @@ -=============================== -Sale Order Report Product Image -=============================== - -.. - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:42b39563d1b81c710d7d85858c404ddd2cda0463ed3e5c480b8d86c78ee3c2fd - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png - :target: https://odoo-community.org/page/development-status - :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--reporting-lightgray.png?logo=github - :target: https://github.com/OCA/sale-reporting/tree/16.0/sale_order_report_product_image - :alt: OCA/sale-reporting -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-reporting-16-0/sale-reporting-16-0-sale_order_report_product_image - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-reporting&target_branch=16.0 - :alt: Try me on Runboat - -|badge1| |badge2| |badge3| |badge4| |badge5| - -This module allows to show product images in sales order report. If product -does not have its image, a generic icon will be displayed. - -**Table of contents** - -.. contents:: - :local: - -Installation -============ - -You need to install *sale_management* module for accessing the needed menus. - -Usage -===== - -* Go to **Sales > Orders** and print a quotation or sales order. You must see - the product images in report now. - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -~~~~~~~ - -* Tecnativa - -Contributors -~~~~~~~~~~~~ - -* `Tecnativa `_: - - * Vicent Cubells - -* `DynApps `_: - - * Raf Ven - -* `Dinamiche Aziendali srl `_: - - * Giuseppe Borruso - -* `Camptocamp `_ - - * Iván Todorovich - -* `Vauxoo `_ - - * Jesús Valdez - -Maintainers -~~~~~~~~~~~ - -This module is maintained by the OCA. - -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org - -OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use. - -This module is part of the `OCA/sale-reporting `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/__init__.py b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/__manifest__.py b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/__manifest__.py deleted file mode 100644 index db207734..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/__manifest__.py +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 2018 Tecnativa - Vicent Cubells -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -{ - "name": "Sale Order Report Product Image", - "summary": "Show product images on Sale documents", - "version": "16.0.1.0.0", - "category": "Sale", - "website": "https://github.com/OCA/sale-reporting", - "author": "Tecnativa, Odoo Community Association (OCA)", - "license": "AGPL-3", - "depends": ["sale"], - "data": ["views/report_saleorder.xml"], -} diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/i18n/bs.po b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/i18n/bs.po deleted file mode 100644 index 11204b73..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/i18n/bs.po +++ /dev/null @@ -1,19 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_report_product_image -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_order_report_product_image -#: model_terms:ir.ui.view,arch_db:sale_order_report_product_image.report_saleorder_document_image -msgid "Image" -msgstr "Slika" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/i18n/de.po b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/i18n/de.po deleted file mode 100644 index 2b2a69d6..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/i18n/de.po +++ /dev/null @@ -1,22 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_report_product_image -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2023-02-23 17:00+0000\n" -"Last-Translator: Maria Sparenberg \n" -"Language-Team: none\n" -"Language: de\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 3.10\n" - -#. module: sale_order_report_product_image -#: model_terms:ir.ui.view,arch_db:sale_order_report_product_image.report_saleorder_document_image -msgid "Image" -msgstr "Bild" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/i18n/es.po b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/i18n/es.po deleted file mode 100644 index fba7c25a..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/i18n/es.po +++ /dev/null @@ -1,22 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_report_product_image -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-09-27 08:48+0000\n" -"PO-Revision-Date: 2023-02-23 17:00+0000\n" -"Last-Translator: <>\n" -"Language-Team: \n" -"Language: es\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_order_report_product_image -#: model_terms:ir.ui.view,arch_db:sale_order_report_product_image.report_saleorder_document_image -msgid "Image" -msgstr "Imagen" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/i18n/it.po b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/i18n/it.po deleted file mode 100644 index 9af09edc..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/i18n/it.po +++ /dev/null @@ -1,22 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_report_product_image -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2023-04-18 23:01+0000\n" -"Last-Translator: mymage \n" -"Language-Team: none\n" -"Language: it\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.14.1\n" - -#. module: sale_order_report_product_image -#: model_terms:ir.ui.view,arch_db:sale_order_report_product_image.report_saleorder_document_image -msgid "Image" -msgstr "Immagine" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/i18n/pt.po b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/i18n/pt.po deleted file mode 100644 index b1860198..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/i18n/pt.po +++ /dev/null @@ -1,22 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_report_product_image -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2023-08-09 11:03+0000\n" -"Last-Translator: Pedro Castro Silva \n" -"Language-Team: none\n" -"Language: pt\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.17\n" - -#. module: sale_order_report_product_image -#: model_terms:ir.ui.view,arch_db:sale_order_report_product_image.report_saleorder_document_image -msgid "Image" -msgstr "Imagem" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/i18n/sale_order_report_product_image.pot b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/i18n/sale_order_report_product_image.pot deleted file mode 100644 index d8fc1518..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/i18n/sale_order_report_product_image.pot +++ /dev/null @@ -1,19 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_report_product_image -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_order_report_product_image -#: model_terms:ir.ui.view,arch_db:sale_order_report_product_image.report_saleorder_document_image -msgid "Image" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/i18n/tr.po b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/i18n/tr.po deleted file mode 100644 index b9bc87b9..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/i18n/tr.po +++ /dev/null @@ -1,22 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_report_product_image -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2024-06-26 12:47+0000\n" -"Last-Translator: Metin GÜLSOY \n" -"Language-Team: none\n" -"Language: tr\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" - -#. module: sale_order_report_product_image -#: model_terms:ir.ui.view,arch_db:sale_order_report_product_image.report_saleorder_document_image -msgid "Image" -msgstr "Resim" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/readme/CONTRIBUTORS.rst deleted file mode 100644 index a58d3f03..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,19 +0,0 @@ -* `Tecnativa `_: - - * Vicent Cubells - -* `DynApps `_: - - * Raf Ven - -* `Dinamiche Aziendali srl `_: - - * Giuseppe Borruso - -* `Camptocamp `_ - - * Iván Todorovich - -* `Vauxoo `_ - - * Jesús Valdez diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/readme/DESCRIPTION.rst b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/readme/DESCRIPTION.rst deleted file mode 100644 index ce136421..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/readme/DESCRIPTION.rst +++ /dev/null @@ -1,2 +0,0 @@ -This module allows to show product images in sales order report. If product -does not have its image, a generic icon will be displayed. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/readme/INSTALL.rst b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/readme/INSTALL.rst deleted file mode 100644 index dd7890a0..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/readme/INSTALL.rst +++ /dev/null @@ -1 +0,0 @@ -You need to install *sale_management* module for accessing the needed menus. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/readme/USAGE.rst b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/readme/USAGE.rst deleted file mode 100644 index 684c576e..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/readme/USAGE.rst +++ /dev/null @@ -1,2 +0,0 @@ -* Go to **Sales > Orders** and print a quotation or sales order. You must see - the product images in report now. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/static/description/icon.png b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/static/description/icon.png deleted file mode 100644 index 3a0328b5..00000000 Binary files a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/static/description/icon.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/static/description/index.html b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/static/description/index.html deleted file mode 100644 index 483d68c8..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/static/description/index.html +++ /dev/null @@ -1,454 +0,0 @@ - - - - - - -Sale Order Report Product Image - - - -
-

Sale Order Report Product Image

- - -

Beta License: AGPL-3 OCA/sale-reporting Translate me on Weblate Try me on Runboat

-

This module allows to show product images in sales order report. If product -does not have its image, a generic icon will be displayed.

-

Table of contents

- -
-

Installation

-

You need to install sale_management module for accessing the needed menus.

-
-
-

Usage

-
    -
  • Go to Sales > Orders and print a quotation or sales order. You must see -the product images in report now.
  • -
-
-
-

Bug Tracker

-

Bugs are tracked on GitHub Issues. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

-

Do not contact contributors directly about support or help with technical issues.

-
-
-

Credits

-
-

Authors

-
    -
  • Tecnativa
  • -
-
-
-

Contributors

- -
-
-

Maintainers

-

This module is maintained by the OCA.

-Odoo Community Association -

OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use.

-

This module is part of the OCA/sale-reporting project on GitHub.

-

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

-
-
-
- - diff --git a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/views/report_saleorder.xml b/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/views/report_saleorder.xml deleted file mode 100644 index 05ac72c9..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_report_product_image/sale_order_report_product_image/views/report_saleorder.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/README.md b/odoo-bringout-oca-sale-reporting-sale_order_weight/README.md deleted file mode 100644 index ff8679ea..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/README.md +++ /dev/null @@ -1,46 +0,0 @@ -# Sale Order Weight - -Odoo addon: sale_order_weight - -## Installation - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_order_weight -``` - -## Dependencies - -This addon depends on: -- sale_management - -## Manifest Information - -- **Name**: Sale Order Weight -- **Version**: 16.0.1.0.0 -- **Category**: N/A -- **License**: GPL-3 -- **Installable**: True - -## Source - -Based on [OCA/sale-reporting](https://github.com/OCA/sale-reporting) branch 16.0, addon `sale_order_weight`. - -## License - -This package maintains the original GPL-3 license from the upstream Odoo project. - -## 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/ARCHITECTURE.md b/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/ARCHITECTURE.md deleted file mode 100644 index 7fbb03e9..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/ARCHITECTURE.md +++ /dev/null @@ -1,32 +0,0 @@ -# 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 Sale_order_weight Module - sale_order_weight - 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/CONFIGURATION.md b/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/CONFIGURATION.md deleted file mode 100644 index cf21b5d4..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/CONFIGURATION.md +++ /dev/null @@ -1,3 +0,0 @@ -# Configuration - -Refer to Odoo settings for sale_order_weight. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/CONTROLLERS.md b/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/CONTROLLERS.md deleted file mode 100644 index f628e770..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/CONTROLLERS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Controllers - -This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/DEPENDENCIES.md b/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/DEPENDENCIES.md deleted file mode 100644 index 2da0e29d..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/DEPENDENCIES.md +++ /dev/null @@ -1,5 +0,0 @@ -# Dependencies - -This addon depends on: - -- [sale_management](https://github.com/bringout/oca-ocb-sale/tree/681dc8d5fff638cb0862a34e48091a2098d091f8/odoo-bringout-oca-ocb-sale_management) diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/FAQ.md b/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/FAQ.md deleted file mode 100644 index 48771746..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/FAQ.md +++ /dev/null @@ -1,4 +0,0 @@ -# FAQ - -- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). -- Q: How to enable? A: Start server with --addon sale_order_weight or install in UI. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/INSTALL.md b/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/INSTALL.md deleted file mode 100644 index 6db1eb36..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/INSTALL.md +++ /dev/null @@ -1,7 +0,0 @@ -# Install - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_order_weight" -# or -uv pip install odoo-bringout-oca-sale-reporting-sale_order_weight" -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/MODELS.md b/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/MODELS.md deleted file mode 100644 index 6c29c85f..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/MODELS.md +++ /dev/null @@ -1,13 +0,0 @@ -# Models - -Detected core models and extensions in sale_order_weight. - -```mermaid -classDiagram - class sale_order - class sale_order_line -``` - -Notes -- Classes show model technical names; fields omitted for brevity. -- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/OVERVIEW.md b/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/OVERVIEW.md deleted file mode 100644 index f30935c6..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/OVERVIEW.md +++ /dev/null @@ -1,6 +0,0 @@ -# Overview - -Packaged Odoo addon: sale_order_weight. Provides features documented in upstream Odoo 16 under this addon. - -- Source: OCA/OCB 16.0, addon sale_order_weight -- License: LGPL-3 diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/REPORTS.md b/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/REPORTS.md deleted file mode 100644 index e0ea35fb..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/REPORTS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Reports - -This module does not define custom reports. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/SECURITY.md b/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/SECURITY.md deleted file mode 100644 index e07da9da..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/SECURITY.md +++ /dev/null @@ -1,8 +0,0 @@ -# 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/TROUBLESHOOTING.md deleted file mode 100644 index 56853cb7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/TROUBLESHOOTING.md +++ /dev/null @@ -1,5 +0,0 @@ -# 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/USAGE.md b/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/USAGE.md deleted file mode 100644 index b8746cea..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/USAGE.md +++ /dev/null @@ -1,7 +0,0 @@ -# Usage - -Start Odoo including this addon (from repo root): - -```bash -python3 scripts/nix_odoo_web_server.py --db-name mydb --addon sale_order_weight -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/WIZARDS.md b/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/WIZARDS.md deleted file mode 100644 index 48e790dc..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/doc/WIZARDS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Wizards - -This module does not include UI wizards. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/pyproject.toml b/odoo-bringout-oca-sale-reporting-sale_order_weight/pyproject.toml deleted file mode 100644 index b07a5534..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/pyproject.toml +++ /dev/null @@ -1,42 +0,0 @@ -[project] -name = "odoo-bringout-oca-sale-reporting-sale_order_weight" -version = "16.0.0" -description = "Sale Order Weight - Add products weight in report for sale order" -authors = [ - { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } -] -dependencies = [ - "odoo-bringout-oca-sale-reporting-sale_management>=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 = ["sale_order_weight"] - -[tool.rye] -managed = true -dev-dependencies = [ - "pytest>=8.4.1", -] diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/README.rst b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/README.rst deleted file mode 100644 index dd1644fa..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/README.rst +++ /dev/null @@ -1,83 +0,0 @@ -================= -Sale Order Weight -================= - -.. - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:54d17dd18c8391927fcf5e6efbcb2b9c3c4c29231adfc3f2def597213faf2bff - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png - :target: https://odoo-community.org/page/development-status - :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-GPL--3-blue.png - :target: http://www.gnu.org/licenses/gpl-3.0-standalone.html - :alt: License: GPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--reporting-lightgray.png?logo=github - :target: https://github.com/OCA/sale-reporting/tree/16.0/sale_order_weight - :alt: OCA/sale-reporting -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-reporting-16-0/sale-reporting-16-0-sale_order_weight - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-reporting&target_branch=16.0 - :alt: Try me on Runboat - -|badge1| |badge2| |badge3| |badge4| |badge5| - -This module adds products weight in report for sale order. - -**Table of contents** - -.. contents:: - :local: - -Usage -===== - -Print Sale Order report. - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -~~~~~~~ - -* Apulia Software -* Agile Business Group - -Contributors -~~~~~~~~~~~~ - -* Andrea Cometa -* Simone Rubino - -Maintainers -~~~~~~~~~~~ - -This module is maintained by the OCA. - -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org - -OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use. - -This module is part of the `OCA/sale-reporting `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/__init__.py b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/__init__.py deleted file mode 100644 index 22ae0ce7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# Copyright 2016 Andrea Cometa - Apulia Software -# License AGPL-3.0 or later (http://www.gnu.org/licenses/gpl.html). - -from . import models diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/__manifest__.py b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/__manifest__.py deleted file mode 100644 index ddcc6f55..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/__manifest__.py +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 2016 Andrea Cometa - Apulia Software -# License AGPL-3.0 or later (http://www.gnu.org/licenses/gpl.html). - -{ - "name": "Sale Order Weight", - "summary": "Add products weight in report for sale order", - "version": "16.0.1.0.0", - "author": "Apulia Software, Agile Business Group," - "Odoo Community Association (OCA)", - "website": "https://github.com/OCA/sale-reporting", - "license": "GPL-3", - "depends": [ - "sale_management", - ], - "data": [ - "views/sale_report.xml", - ], - "installable": True, -} diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/bs.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/bs.po deleted file mode 100644 index 4713abcd..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/bs.po +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "Ukupna težina:" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Prodajni nalog" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "Stavka prodajnog naloga" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "Težina" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/ca.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/ca.po deleted file mode 100644 index 8383a7b5..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/ca.po +++ /dev/null @@ -1,43 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# Carles Antoli , 2016 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-23 01:48+0000\n" -"PO-Revision-Date: 2022-04-13 14:05+0000\n" -"Last-Translator: Noel estudillo \n" -"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" -"Language: ca\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.3.2\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Comandes de venda" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "Pes" - -#~ msgid "Total Weight:" -#~ msgstr "Pes total:" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/de.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/de.po deleted file mode 100644 index d5e5e099..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/de.po +++ /dev/null @@ -1,43 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# Rudolf Schnapka , 2016 -# OCA Transbot , 2016 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-23 01:48+0000\n" -"PO-Revision-Date: 2016-12-23 01:48+0000\n" -"Last-Translator: OCA Transbot , 2016\n" -"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" -"Language: de\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Verkaufsauftrag" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "Gewicht" - -#~ msgid "Total Weight:" -#~ msgstr "Gesamtgewicht:" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/el_GR.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/el_GR.po deleted file mode 100644 index 4735ced7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/el_GR.po +++ /dev/null @@ -1,40 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# Kostas Goutoudis , 2016 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-23 01:48+0000\n" -"PO-Revision-Date: 2016-12-23 01:48+0000\n" -"Last-Translator: Kostas Goutoudis , 2016\n" -"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/" -"el_GR/)\n" -"Language: el_GR\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Εντολή Πώλησης" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/es.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/es.po deleted file mode 100644 index aae2a22f..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/es.po +++ /dev/null @@ -1,50 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# oihane , 2016 -# OCA Transbot , 2016 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-23 01:48+0000\n" -"PO-Revision-Date: 2024-04-24 22:36+0000\n" -"Last-Translator: Ivorra78 \n" -"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" -"Language: es\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "Peso Total:" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Pedidos de venta" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "Línea de Orden de Ventas" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "Peso" - -#~ msgid "Display Name" -#~ msgstr "Mostrar Nombre" - -#~ msgid "ID" -#~ msgstr "ID" - -#~ msgid "Last Modified on" -#~ msgstr "Última Modificación el" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/es_ES.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/es_ES.po deleted file mode 100644 index 755529c1..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/es_ES.po +++ /dev/null @@ -1,40 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# Javi Melendez , 2016 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-23 01:48+0000\n" -"PO-Revision-Date: 2016-12-23 01:48+0000\n" -"Last-Translator: Javi Melendez , 2016\n" -"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/" -"es_ES/)\n" -"Language: es_ES\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Pedido de venta" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/es_VE.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/es_VE.po deleted file mode 100644 index 46f3212b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/es_VE.po +++ /dev/null @@ -1,40 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# OCA Transbot , 2016 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-23 01:48+0000\n" -"PO-Revision-Date: 2016-12-23 01:48+0000\n" -"Last-Translator: OCA Transbot , 2016\n" -"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/" -"teams/23907/es_VE/)\n" -"Language: es_VE\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Pedidos de venta" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/fi.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/fi.po deleted file mode 100644 index f0046371..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/fi.po +++ /dev/null @@ -1,39 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# OCA Transbot , 2016 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-23 01:48+0000\n" -"PO-Revision-Date: 2016-12-23 01:48+0000\n" -"Last-Translator: OCA Transbot , 2016\n" -"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" -"Language: fi\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Myyntitilaus" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/fr.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/fr.po deleted file mode 100644 index e4d13689..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/fr.po +++ /dev/null @@ -1,43 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# OCA Transbot , 2016 -# Yannick Vaucher , 2016 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-23 01:48+0000\n" -"PO-Revision-Date: 2016-12-23 01:48+0000\n" -"Last-Translator: Yannick Vaucher , 2016\n" -"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" -"Language: fr\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Bon de commande" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "Poids" - -#~ msgid "Total Weight:" -#~ msgstr "Poids total :" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/hr.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/hr.po deleted file mode 100644 index 0a30d6e1..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/hr.po +++ /dev/null @@ -1,41 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# Bole , 2016 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-23 01:48+0000\n" -"PO-Revision-Date: 2025-03-19 13:14+0000\n" -"Last-Translator: vladimiruvid \n" -"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" -"Language: hr\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " -"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 5.10.2\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "Ukupna težina:" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Prodajni nalog" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "Stavka prodajnog naloga" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "Težina" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/hr_HR.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/hr_HR.po deleted file mode 100644 index 3ce2e073..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/hr_HR.po +++ /dev/null @@ -1,41 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# Bole , 2016 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-23 01:48+0000\n" -"PO-Revision-Date: 2016-12-23 01:48+0000\n" -"Last-Translator: Bole , 2016\n" -"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/" -"hr_HR/)\n" -"Language: hr_HR\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " -"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Prodjani nalog" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "Težina" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/hu.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/hu.po deleted file mode 100644 index c7a771da..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/hu.po +++ /dev/null @@ -1,39 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# OCA Transbot , 2016 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-23 01:48+0000\n" -"PO-Revision-Date: 2016-12-23 01:48+0000\n" -"Last-Translator: OCA Transbot , 2016\n" -"Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/hu/)\n" -"Language: hu\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Vevői megrendelés" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/id.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/id.po deleted file mode 100644 index 7bc28189..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/id.po +++ /dev/null @@ -1,39 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# Wahyu Setiawan , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-10-28 09:53+0000\n" -"PO-Revision-Date: 2017-10-28 09:53+0000\n" -"Last-Translator: Wahyu Setiawan , 2017\n" -"Language-Team: Indonesian (https://www.transifex.com/oca/teams/23907/id/)\n" -"Language: id\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "Berat" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/it.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/it.po deleted file mode 100644 index faf20c9d..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/it.po +++ /dev/null @@ -1,47 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-06-15 13:01+0000\n" -"PO-Revision-Date: 2022-12-20 15:45+0000\n" -"Last-Translator: mymage \n" -"Language-Team: \n" -"Language: it\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.14.1\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "Peso totale:" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Ordine di vendita" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "Riga ordine di vendita" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "Peso" - -#~ msgid "Display Name" -#~ msgstr "Nome visualizzato" - -#~ msgid "ID" -#~ msgstr "ID" - -#~ msgid "Last Modified on" -#~ msgstr "Ultima modifica il" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/nl.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/nl.po deleted file mode 100644 index e67b0af0..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/nl.po +++ /dev/null @@ -1,39 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# OCA Transbot , 2016 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-23 01:48+0000\n" -"PO-Revision-Date: 2016-12-23 01:48+0000\n" -"Last-Translator: OCA Transbot , 2016\n" -"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" -"Language: nl\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Verkooporder" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/nl_NL.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/nl_NL.po deleted file mode 100644 index a59aa79f..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/nl_NL.po +++ /dev/null @@ -1,40 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# Peter Hageman , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-29 03:51+0000\n" -"PO-Revision-Date: 2017-08-29 03:51+0000\n" -"Last-Translator: Peter Hageman , 2017\n" -"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/" -"teams/23907/nl_NL/)\n" -"Language: nl_NL\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Verkooporder" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/pt.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/pt.po deleted file mode 100644 index d86df3db..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/pt.po +++ /dev/null @@ -1,39 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# Daniel Reis , 2016 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-23 01:48+0000\n" -"PO-Revision-Date: 2016-12-23 01:48+0000\n" -"Last-Translator: Daniel Reis , 2016\n" -"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" -"Language: pt\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Ordem de Venda" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/pt_BR.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/pt_BR.po deleted file mode 100644 index a45e5188..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/pt_BR.po +++ /dev/null @@ -1,44 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# OCA Transbot , 2016 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-23 01:48+0000\n" -"PO-Revision-Date: 2022-02-01 19:33+0000\n" -"Last-Translator: Rodrigo Macedo \n" -"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" -"teams/23907/pt_BR/)\n" -"Language: pt_BR\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.3.2\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Pedido de Venda" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "Peso" - -#~ msgid "Total Weight:" -#~ msgstr "Peso total:" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/ro.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/ro.po deleted file mode 100644 index b359c449..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/ro.po +++ /dev/null @@ -1,40 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# Dorin Hongu , 2016 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-23 01:48+0000\n" -"PO-Revision-Date: 2016-12-23 01:48+0000\n" -"Last-Translator: Dorin Hongu , 2016\n" -"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n" -"Language: ro\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" -"2:1));\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Comandă vânzare" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/sale_order_weight.pot b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/sale_order_weight.pot deleted file mode 100644 index fcbe0b38..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/sale_order_weight.pot +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/sk.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/sk.po deleted file mode 100644 index 2945875f..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/sk.po +++ /dev/null @@ -1,39 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# Jan Prokop , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-26 08:14+0000\n" -"PO-Revision-Date: 2017-09-26 08:14+0000\n" -"Last-Translator: Jan Prokop , 2017\n" -"Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n" -"Language: sk\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Objednávka predaja" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/sl.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/sl.po deleted file mode 100644 index 4ab32cf0..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/sl.po +++ /dev/null @@ -1,44 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# OCA Transbot , 2016 -# Matjaž Mozetič , 2016 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-23 01:48+0000\n" -"PO-Revision-Date: 2016-12-23 01:48+0000\n" -"Last-Translator: Matjaž Mozetič , 2016\n" -"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" -"Language: sl\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || " -"n%100==4 ? 2 : 3);\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Prodajni nalog" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "Masa" - -#~ msgid "Total Weight:" -#~ msgstr "Skupna masa:" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/tr.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/tr.po deleted file mode 100644 index 63fa734d..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/tr.po +++ /dev/null @@ -1,40 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# OCA Transbot , 2016 -# Ahmet Altinisik , 2016 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-24 04:48+0000\n" -"PO-Revision-Date: 2016-12-24 04:48+0000\n" -"Last-Translator: Ahmet Altinisik , 2016\n" -"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n" -"Language: tr\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Sipariş Emri" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "Ağırlık" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/tr_TR.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/tr_TR.po deleted file mode 100644 index a3b98a8a..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/tr_TR.po +++ /dev/null @@ -1,40 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# Ozge Altinisik , 2017 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-01-04 10:48+0000\n" -"PO-Revision-Date: 2017-01-04 10:48+0000\n" -"Last-Translator: Ozge Altinisik , 2017\n" -"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/" -"tr_TR/)\n" -"Language: tr_TR\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Satış emri" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/vi_VN.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/vi_VN.po deleted file mode 100644 index 055a05ed..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/vi_VN.po +++ /dev/null @@ -1,40 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# OCA Transbot , 2016 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-23 01:48+0000\n" -"PO-Revision-Date: 2016-12-23 01:48+0000\n" -"Last-Translator: OCA Transbot , 2016\n" -"Language-Team: Vietnamese (Viet Nam) (https://www.transifex.com/oca/" -"teams/23907/vi_VN/)\n" -"Language: vi_VN\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "Đơn hàng Bán" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/zh_CN.po b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/zh_CN.po deleted file mode 100644 index 11856746..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/i18n/zh_CN.po +++ /dev/null @@ -1,40 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_order_weight -# -# Translators: -# OCA Transbot , 2016 -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-23 01:48+0000\n" -"PO-Revision-Date: 2016-12-23 01:48+0000\n" -"Last-Translator: OCA Transbot , 2016\n" -"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/" -"zh_CN/)\n" -"Language: zh_CN\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Total Weight:" -msgstr "" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order -msgid "Sales Order" -msgstr "销售订单" - -#. module: sale_order_weight -#: model:ir.model,name:sale_order_weight.model_sale_order_line -msgid "Sales Order Line" -msgstr "" - -#. module: sale_order_weight -#: model_terms:ir.ui.view,arch_db:sale_order_weight.report_saleorder_document -msgid "Weight" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/models/__init__.py b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/models/__init__.py deleted file mode 100644 index 3829c56d..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/models/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -# Copyright 2016 Andrea Cometa - Apulia Software -# License AGPL-3.0 or later (http://www.gnu.org/licenses/gpl.html). - -from . import sale_order -from . import sale_order_line diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/models/sale_order.py b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/models/sale_order.py deleted file mode 100644 index fd5a1204..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/models/sale_order.py +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 2016 Andrea Cometa - Apulia Software -# License AGPL-3.0 or later (http://www.gnu.org/licenses/gpl.html). - -from odoo import models - - -class SaleOrder(models.Model): - _inherit = "sale.order" - - def total_weight(self): - """ - Returns total weight from a specified sale order - """ - return self.mapped("order_line").total_weight() diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/models/sale_order_line.py b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/models/sale_order_line.py deleted file mode 100644 index 47e7a28b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/models/sale_order_line.py +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2021 Simone Rubino - Agile Business Group -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from odoo import models - - -class SaleOrderLine(models.Model): - _inherit = "sale.order.line" - - def total_weight(self): - """Returns total weight for sale order lines in self.""" - lines_weight = 0.0 - for line in self: - if line.product_id: - lines_weight += line.product_id.weight * line.product_uom_qty - return lines_weight diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/readme/CONTRIBUTORS.rst deleted file mode 100644 index 7d7f1ef9..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,2 +0,0 @@ -* Andrea Cometa -* Simone Rubino diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/readme/DESCRIPTION.rst b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/readme/DESCRIPTION.rst deleted file mode 100644 index e9dfadf7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/readme/DESCRIPTION.rst +++ /dev/null @@ -1 +0,0 @@ -This module adds products weight in report for sale order. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/readme/USAGE.rst b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/readme/USAGE.rst deleted file mode 100644 index 03f5b72f..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/readme/USAGE.rst +++ /dev/null @@ -1 +0,0 @@ -Print Sale Order report. diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/static/description/icon.png b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/static/description/icon.png deleted file mode 100644 index 3a0328b5..00000000 Binary files a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/static/description/icon.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/static/description/index.html b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/static/description/index.html deleted file mode 100644 index 24d096f4..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/static/description/index.html +++ /dev/null @@ -1,430 +0,0 @@ - - - - - -Sale Order Weight - - - -
-

Sale Order Weight

- - -

Beta License: GPL-3 OCA/sale-reporting Translate me on Weblate Try me on Runboat

-

This module adds products weight in report for sale order.

-

Table of contents

- -
-

Usage

-

Print Sale Order report.

-
-
-

Bug Tracker

-

Bugs are tracked on GitHub Issues. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

-

Do not contact contributors directly about support or help with technical issues.

-
-
-

Credits

-
-

Authors

-
    -
  • Apulia Software
  • -
  • Agile Business Group
  • -
-
-
-

Contributors

- -
-
-

Maintainers

-

This module is maintained by the OCA.

- -Odoo Community Association - -

OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use.

-

This module is part of the OCA/sale-reporting project on GitHub.

-

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

-
-
-
- - diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/tests/__init__.py b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/tests/__init__.py deleted file mode 100644 index 1cd500b2..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/tests/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# Copyright 2016 Andrea Cometa - Apulia Software -# License AGPL-3.0 or later (http://www.gnu.org/licenses/gpl.html). - -from . import test_sale_order_weight diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/tests/test_sale_order_weight.py b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/tests/test_sale_order_weight.py deleted file mode 100644 index 187c3a3c..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/tests/test_sale_order_weight.py +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2016 Andrea Cometa - Apulia Software -# License AGPL-3.0 or later (http://www.gnu.org/licenses/gpl.html). - -import odoo.tests.common as common - - -class TestSaleOrderWeight(common.TransactionCase): - def setUp(self): - super(TestSaleOrderWeight, self).setUp() - self.sale_order_model = self.env["sale.order"] - self.sale_order_line_model = self.env["sale.order.line"] - self.partner = self.env.ref("base.res_partner_3") - self.product_3 = self.env.ref("product.product_product_3") - self.product_4 = self.env.ref("product.product_product_4") - self.product_5 = self.env.ref("product.product_product_5") - - order_vals = dict() - order_vals["partner_id"] = self.partner.id - - line_data = [ - ( - 0, - 0, - { - "product_id": self.product_4.id, - "name": "product test 4", - "product_uom_qty": 1.0, - "product_uom": self.product_4.uom_id.id, - "price_unit": self.product_4.lst_price, - }, - ), - ( - 0, - 0, - { - "product_id": self.product_5.id, - "name": "product test 5", - "product_uom_qty": 2.0, - "product_uom": self.product_5.uom_id.id, - "price_unit": self.product_5.lst_price, - }, - ), - ( - 0, - 0, - { - "product_id": self.product_3.id, - "name": "product test 3", - "product_uom_qty": 3.0, - "product_uom": self.product_3.uom_id.id, - "price_unit": self.product_3.lst_price, - }, - ), - ] - order_vals["order_line"] = line_data - self.sale_order = self.sale_order_model.create(order_vals) - - def test_total_weight(self): - # Change weight - self.product_3.weight = 2.0 # 3.0 - self.product_4.weight = 10.0 # 1.0 - self.product_5.weight = 1.0 # 2.0 - # check total weight - self.assertEqual(self.sale_order.total_weight(), 18.0) diff --git a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/views/sale_report.xml b/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/views/sale_report.xml deleted file mode 100644 index 44da8fd4..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_order_weight/sale_order_weight/views/sale_report.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/README.md b/odoo-bringout-oca-sale-reporting-sale_packaging_report/README.md deleted file mode 100644 index 937f4fb5..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/README.md +++ /dev/null @@ -1,46 +0,0 @@ -# Sale Packaging Report - -Odoo addon: sale_packaging_report - -## Installation - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_packaging_report -``` - -## Dependencies - -This addon depends on: -- sale - -## Manifest Information - -- **Name**: Sale Packaging Report -- **Version**: 16.0.1.1.0 -- **Category**: Sales -- **License**: LGPL-3 -- **Installable**: True - -## Source - -Based on [OCA/sale-reporting](https://github.com/OCA/sale-reporting) branch 16.0, addon `sale_packaging_report`. - -## License - -This package maintains the original LGPL-3 license from the upstream Odoo project. - -## 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/ARCHITECTURE.md b/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/ARCHITECTURE.md deleted file mode 100644 index cdcfab76..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/ARCHITECTURE.md +++ /dev/null @@ -1,32 +0,0 @@ -# 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 Sale_packaging_report Module - sale_packaging_report - 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/CONFIGURATION.md b/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/CONFIGURATION.md deleted file mode 100644 index 986a4ecf..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/CONFIGURATION.md +++ /dev/null @@ -1,3 +0,0 @@ -# Configuration - -Refer to Odoo settings for sale_packaging_report. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/CONTROLLERS.md b/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/CONTROLLERS.md deleted file mode 100644 index f628e770..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/CONTROLLERS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Controllers - -This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/DEPENDENCIES.md b/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/DEPENDENCIES.md deleted file mode 100644 index 47e4ecf1..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/DEPENDENCIES.md +++ /dev/null @@ -1,5 +0,0 @@ -# Dependencies - -This addon depends on: - -- [sale](https://github.com/bringout/oca-ocb-sale/tree/681dc8d5fff638cb0862a34e48091a2098d091f8/odoo-bringout-oca-ocb-sale) diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/FAQ.md b/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/FAQ.md deleted file mode 100644 index 03153b40..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/FAQ.md +++ /dev/null @@ -1,4 +0,0 @@ -# FAQ - -- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). -- Q: How to enable? A: Start server with --addon sale_packaging_report or install in UI. diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/INSTALL.md b/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/INSTALL.md deleted file mode 100644 index e0057784..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/INSTALL.md +++ /dev/null @@ -1,7 +0,0 @@ -# Install - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_packaging_report" -# or -uv pip install odoo-bringout-oca-sale-reporting-sale_packaging_report" -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/MODELS.md b/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/MODELS.md deleted file mode 100644 index a53b56e0..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/MODELS.md +++ /dev/null @@ -1,11 +0,0 @@ -# Models - -Detected core models and extensions in sale_packaging_report. - -```mermaid -classDiagram -``` - -Notes -- Classes show model technical names; fields omitted for brevity. -- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/OVERVIEW.md b/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/OVERVIEW.md deleted file mode 100644 index 625783eb..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/OVERVIEW.md +++ /dev/null @@ -1,6 +0,0 @@ -# Overview - -Packaged Odoo addon: sale_packaging_report. Provides features documented in upstream Odoo 16 under this addon. - -- Source: OCA/OCB 16.0, addon sale_packaging_report -- License: LGPL-3 diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/REPORTS.md b/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/REPORTS.md deleted file mode 100644 index e9edef83..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/REPORTS.md +++ /dev/null @@ -1,26 +0,0 @@ -# Reports - -Report definitions and templates in sale_packaging_report. - -```mermaid -classDiagram - class Name - AbstractModel <|-- Name -``` - -## Available Reports - -No named reports found in XML files. - - -## Report Files - -- **__init__.py** (Python logic) -- **sale_report.py** (Python logic) -- **sale_report_view.xml** (XML template/definition) - -## Notes -- Named reports above are accessible through Odoo's reporting menu -- Python files define report logic and data processing -- XML files contain report templates, definitions, and formatting -- Reports are integrated with Odoo's printing and email systems diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/SECURITY.md b/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/SECURITY.md deleted file mode 100644 index e07da9da..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/SECURITY.md +++ /dev/null @@ -1,8 +0,0 @@ -# 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/TROUBLESHOOTING.md deleted file mode 100644 index 56853cb7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/TROUBLESHOOTING.md +++ /dev/null @@ -1,5 +0,0 @@ -# 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/USAGE.md b/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/USAGE.md deleted file mode 100644 index 11f9e132..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/USAGE.md +++ /dev/null @@ -1,7 +0,0 @@ -# Usage - -Start Odoo including this addon (from repo root): - -```bash -python3 scripts/nix_odoo_web_server.py --db-name mydb --addon sale_packaging_report -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/WIZARDS.md b/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/WIZARDS.md deleted file mode 100644 index 48e790dc..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/doc/WIZARDS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Wizards - -This module does not include UI wizards. diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/pyproject.toml b/odoo-bringout-oca-sale-reporting-sale_packaging_report/pyproject.toml deleted file mode 100644 index 437d4539..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/pyproject.toml +++ /dev/null @@ -1,42 +0,0 @@ -[project] -name = "odoo-bringout-oca-sale-reporting-sale_packaging_report" -version = "16.0.0" -description = "Sale Packaging Report - Packaging data in sale reports" -authors = [ - { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } -] -dependencies = [ - "odoo-bringout-oca-ocb-sale>=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 = ["sale_packaging_report"] - -[tool.rye] -managed = true -dev-dependencies = [ - "pytest>=8.4.1", -] diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/README.rst b/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/README.rst deleted file mode 100644 index 7783a118..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/README.rst +++ /dev/null @@ -1,121 +0,0 @@ -===================== -Sale Packaging Report -===================== - -.. - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:9b7a90bc7bfae3b4e1954987a103106426d960d4df5ce12f99b29abb73855f01 - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png - :target: https://odoo-community.org/page/development-status - :alt: Alpha -.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png - :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html - :alt: License: LGPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--reporting-lightgray.png?logo=github - :target: https://github.com/OCA/sale-reporting/tree/16.0/sale_packaging_report - :alt: OCA/sale-reporting -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-reporting-16-0/sale-reporting-16-0-sale_packaging_report - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-reporting&target_branch=16.0 - :alt: Try me on Runboat - -|badge1| |badge2| |badge3| |badge4| |badge5| - -This module displays packaging data (quantity and type) in: - -- Sale order printed reports. -- Sale BI reports. - -.. IMPORTANT:: - This is an alpha version, the data model and design can change at any time without warning. - Only for development or testing purpose, do not use in production. - `More details on development status `_ - -**Table of contents** - -.. contents:: - :local: - -Configuration -============= - -To configure this module, you need to: - -#. Go to *Sales > Configuration > Settings*. -#. Enable *Product Packagings*. -#. Save. - -Now, make sure the products you use for testing this module have some packaging -configured. - -Usage -===== - -To print sale order packaging data: - -#. Go to *Sales > Orders > Quotations* and pick or create one. -#. Add some product(s) with packaging information (type and quantity). -#. Print it. - -To query sale packaging BI data: - -#. Go to *Sales > Reporting*. -#. Use the new options at will: - - *Measures > Packaging Qty* - - *Measures > Packaging Delivered Qty* (based on a ratio between *Qty Delivered* and *Packaging Qty*). - - *Group By > Packaging*. - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -~~~~~~~ - -* Moduon - -Contributors -~~~~~~~~~~~~ - -* Jairo Llopis (`Moduon `__) - -Maintainers -~~~~~~~~~~~ - -This module is maintained by the OCA. - -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org - -OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use. - -.. |maintainer-yajo| image:: https://github.com/yajo.png?size=40px - :target: https://github.com/yajo - :alt: yajo - -Current `maintainer `__: - -|maintainer-yajo| - -This module is part of the `OCA/sale-reporting `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/__init__.py b/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/__init__.py deleted file mode 100644 index 4c4f242f..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import report diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/__manifest__.py b/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/__manifest__.py deleted file mode 100644 index 2995fe15..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/__manifest__.py +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 2023 Moduon Team S.L. -# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0) - -{ - "name": "Sale Packaging Report", - "summary": "Packaging data in sale reports", - "version": "16.0.1.1.0", - "development_status": "Alpha", - "category": "Sales", - "website": "https://github.com/OCA/sale-reporting", - "author": "Moduon, Odoo Community Association (OCA)", - "maintainers": ["yajo"], - "license": "LGPL-3", - "application": False, - "installable": True, - "depends": ["sale"], - "data": [ - "report/sale_report_view.xml", - "views/report_sale_order.xml", - ], -} diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/i18n/bs.po b/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/i18n/bs.po deleted file mode 100644 index 8ba925ff..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/i18n/bs.po +++ /dev/null @@ -1,35 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_packaging_report -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_packaging_report -#: model:ir.model.fields,field_description:sale_packaging_report.field_sale_report__product_packaging_id -#: model_terms:ir.ui.view,arch_db:sale_packaging_report.view_order_product_search_inherit_sale -msgid "Packaging" -msgstr "Pakovanje" - -#. module: sale_packaging_report -#: model:ir.model.fields,field_description:sale_packaging_report.field_sale_report__product_packaging_qty_delivered -msgid "Packaging Delivered Qty" -msgstr "Packaging Delivered Qty" - -#. module: sale_packaging_report -#: model:ir.model.fields,field_description:sale_packaging_report.field_sale_report__product_packaging_qty -msgid "Packaging Qty" -msgstr "Količina pakiranja" - -#. module: sale_packaging_report -#: model:ir.model,name:sale_packaging_report.model_sale_report -msgid "Sales Analysis Report" -msgstr "Izvještaj analize prodaje" diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/i18n/es.po b/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/i18n/es.po deleted file mode 100644 index 141fc149..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/i18n/es.po +++ /dev/null @@ -1,39 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_packaging_report -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0+e\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-08 10:27+0000\n" -"PO-Revision-Date: 2023-09-08 11:27+0100\n" -"Last-Translator: Jairo Llopis \n" -"Language-Team: \n" -"Language: es_ES\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: \n" -"X-Generator: Poedit 3.3.1\n" - -#. module: sale_packaging_report -#: model:ir.model.fields,field_description:sale_packaging_report.field_sale_report__product_packaging_id -#: model_terms:ir.ui.view,arch_db:sale_packaging_report.view_order_product_search_inherit_sale -msgid "Packaging" -msgstr "Envase" - -#. module: sale_packaging_report -#: model:ir.model.fields,field_description:sale_packaging_report.field_sale_report__product_packaging_qty_delivered -msgid "Packaging Delivered Qty" -msgstr "Cant. de envases entregados" - -#. module: sale_packaging_report -#: model:ir.model.fields,field_description:sale_packaging_report.field_sale_report__product_packaging_qty -msgid "Packaging Qty" -msgstr "Cant. de envases" - -#. module: sale_packaging_report -#: model:ir.model,name:sale_packaging_report.model_sale_report -msgid "Sales Analysis Report" -msgstr "Informe de análisis de ventas" diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/i18n/it.po b/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/i18n/it.po deleted file mode 100644 index 0b0805be..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/i18n/it.po +++ /dev/null @@ -1,38 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_packaging_report -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2023-12-12 11:34+0000\n" -"Last-Translator: mymage \n" -"Language-Team: none\n" -"Language: it\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" - -#. module: sale_packaging_report -#: model:ir.model.fields,field_description:sale_packaging_report.field_sale_report__product_packaging_id -#: model_terms:ir.ui.view,arch_db:sale_packaging_report.view_order_product_search_inherit_sale -msgid "Packaging" -msgstr "Imballaggio" - -#. module: sale_packaging_report -#: model:ir.model.fields,field_description:sale_packaging_report.field_sale_report__product_packaging_qty_delivered -msgid "Packaging Delivered Qty" -msgstr "Q.tà consegnata imballaggio" - -#. module: sale_packaging_report -#: model:ir.model.fields,field_description:sale_packaging_report.field_sale_report__product_packaging_qty -msgid "Packaging Qty" -msgstr "Q.tà imballagio" - -#. module: sale_packaging_report -#: model:ir.model,name:sale_packaging_report.model_sale_report -msgid "Sales Analysis Report" -msgstr "Resoconto analisi vendite" diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/i18n/sale_packaging_report.pot b/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/i18n/sale_packaging_report.pot deleted file mode 100644 index 63030474..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/i18n/sale_packaging_report.pot +++ /dev/null @@ -1,35 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_packaging_report -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_packaging_report -#: model:ir.model.fields,field_description:sale_packaging_report.field_sale_report__product_packaging_id -#: model_terms:ir.ui.view,arch_db:sale_packaging_report.view_order_product_search_inherit_sale -msgid "Packaging" -msgstr "" - -#. module: sale_packaging_report -#: model:ir.model.fields,field_description:sale_packaging_report.field_sale_report__product_packaging_qty_delivered -msgid "Packaging Delivered Qty" -msgstr "" - -#. module: sale_packaging_report -#: model:ir.model.fields,field_description:sale_packaging_report.field_sale_report__product_packaging_qty -msgid "Packaging Qty" -msgstr "" - -#. module: sale_packaging_report -#: model:ir.model,name:sale_packaging_report.model_sale_report -msgid "Sales Analysis Report" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/readme/CONFIGURE.rst b/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/readme/CONFIGURE.rst deleted file mode 100644 index 36bfd2ea..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/readme/CONFIGURE.rst +++ /dev/null @@ -1,8 +0,0 @@ -To configure this module, you need to: - -#. Go to *Sales > Configuration > Settings*. -#. Enable *Product Packagings*. -#. Save. - -Now, make sure the products you use for testing this module have some packaging -configured. diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/readme/CONTRIBUTORS.rst deleted file mode 100644 index 0b01e649..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1 +0,0 @@ -* Jairo Llopis (`Moduon `__) diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/readme/DESCRIPTION.rst b/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/readme/DESCRIPTION.rst deleted file mode 100644 index 5e12e819..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/readme/DESCRIPTION.rst +++ /dev/null @@ -1,4 +0,0 @@ -This module displays packaging data (quantity and type) in: - -- Sale order printed reports. -- Sale BI reports. diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/readme/USAGE.rst b/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/readme/USAGE.rst deleted file mode 100644 index 19f4c8d4..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/readme/USAGE.rst +++ /dev/null @@ -1,13 +0,0 @@ -To print sale order packaging data: - -#. Go to *Sales > Orders > Quotations* and pick or create one. -#. Add some product(s) with packaging information (type and quantity). -#. Print it. - -To query sale packaging BI data: - -#. Go to *Sales > Reporting*. -#. Use the new options at will: - - *Measures > Packaging Qty* - - *Measures > Packaging Delivered Qty* (based on a ratio between *Qty Delivered* and *Packaging Qty*). - - *Group By > Packaging*. diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/report/__init__.py b/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/report/__init__.py deleted file mode 100644 index cd23411b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/report/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import sale_report diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/report/sale_report.py b/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/report/sale_report.py deleted file mode 100644 index 36abe2fd..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/report/sale_report.py +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 2023 Moduon Team S.L. -# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0) - - -from odoo import fields, models - - -class Name(models.AbstractModel): - _inherit = "sale.report" - - product_packaging_id = fields.Many2one( - "product.packaging", - string="Packaging", - readonly=True, - ) - product_packaging_qty = fields.Float(string="Packaging Qty", readonly=True) - product_packaging_qty_delivered = fields.Float( - string="Packaging Delivered Qty", - readonly=True, - ) - - def _select_additional_fields(self): - result = super()._select_additional_fields() - return dict( - result, - product_packaging_id="l.product_packaging_id", - product_packaging_qty="SUM(l.product_packaging_qty)", - product_packaging_qty_delivered=""" - COALESCE( - SUM( - l.qty_delivered - / u.factor * u2.factor - / product_packaging.qty - ), - 0 - ) - """, - ) - - def _from_sale(self): - result = super()._from_sale() - return f""" - {result} - LEFT JOIN product_packaging - ON l.product_packaging_id = product_packaging.id - """ - - def _group_by_sale(self): - result = super()._group_by_sale() - return f"{result}, l.product_packaging_id" diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/report/sale_report_view.xml b/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/report/sale_report_view.xml deleted file mode 100644 index e122d2c5..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/report/sale_report_view.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - Sale report: search packagings - sale.report - - - - - - - - - - - diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/static/description/icon.png b/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/static/description/icon.png deleted file mode 100644 index 3a0328b5..00000000 Binary files a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/static/description/icon.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/static/description/index.html b/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/static/description/index.html deleted file mode 100644 index 57fe4034..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/static/description/index.html +++ /dev/null @@ -1,462 +0,0 @@ - - - - - -Sale Packaging Report - - - -
-

Sale Packaging Report

- - -

Alpha License: LGPL-3 OCA/sale-reporting Translate me on Weblate Try me on Runboat

-

This module displays packaging data (quantity and type) in:

-
    -
  • Sale order printed reports.
  • -
  • Sale BI reports.
  • -
-
-

Important

-

This is an alpha version, the data model and design can change at any time without warning. -Only for development or testing purpose, do not use in production. -More details on development status

-
-

Table of contents

- -
-

Configuration

-

To configure this module, you need to:

-
    -
  1. Go to Sales > Configuration > Settings.
  2. -
  3. Enable Product Packagings.
  4. -
  5. Save.
  6. -
-

Now, make sure the products you use for testing this module have some packaging -configured.

-
-
-

Usage

-

To print sale order packaging data:

-
    -
  1. Go to Sales > Orders > Quotations and pick or create one.
  2. -
  3. Add some product(s) with packaging information (type and quantity).
  4. -
  5. Print it.
  6. -
-

To query sale packaging BI data:

-
    -
  1. Go to Sales > Reporting.
  2. -
  3. Use the new options at will: -- Measures > Packaging Qty -- Measures > Packaging Delivered Qty (based on a ratio between Qty Delivered and Packaging Qty). -- Group By > Packaging.
  4. -
-
-
-

Bug Tracker

-

Bugs are tracked on GitHub Issues. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

-

Do not contact contributors directly about support or help with technical issues.

-
-
-

Credits

-
-

Authors

-
    -
  • Moduon
  • -
-
-
-

Contributors

- -
-
-

Maintainers

-

This module is maintained by the OCA.

-Odoo Community Association -

OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use.

-

Current maintainer:

-

yajo

-

This module is part of the OCA/sale-reporting project on GitHub.

-

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

-
-
-
- - diff --git a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/views/report_sale_order.xml b/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/views/report_sale_order.xml deleted file mode 100644 index 1dd7b0a9..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_packaging_report/sale_packaging_report/views/report_sale_order.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/README.md b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/README.md deleted file mode 100644 index 4628b5ff..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/README.md +++ /dev/null @@ -1,46 +0,0 @@ -# Sale Report Commitment Date - -Odoo addon: sale_report_commitment_date - -## Installation - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_report_commitment_date -``` - -## Dependencies - -This addon depends on: -- sale - -## Manifest Information - -- **Name**: Sale Report Commitment Date -- **Version**: 16.0.1.0.0 -- **Category**: Sales -- **License**: AGPL-3 -- **Installable**: False - -## Source - -Based on [OCA/sale-reporting](https://github.com/OCA/sale-reporting) branch 16.0, addon `sale_report_commitment_date`. - -## License - -This package maintains the original AGPL-3 license from the upstream Odoo project. - -## 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/ARCHITECTURE.md b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/ARCHITECTURE.md deleted file mode 100644 index 171eae5c..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/ARCHITECTURE.md +++ /dev/null @@ -1,32 +0,0 @@ -# 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 Sale_report_commitment_date Module - sale_report_commitment_date - 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/CONFIGURATION.md b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/CONFIGURATION.md deleted file mode 100644 index 425d3df2..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/CONFIGURATION.md +++ /dev/null @@ -1,3 +0,0 @@ -# Configuration - -Refer to Odoo settings for sale_report_commitment_date. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/CONTROLLERS.md b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/CONTROLLERS.md deleted file mode 100644 index f628e770..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/CONTROLLERS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Controllers - -This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/DEPENDENCIES.md b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/DEPENDENCIES.md deleted file mode 100644 index 47e4ecf1..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/DEPENDENCIES.md +++ /dev/null @@ -1,5 +0,0 @@ -# Dependencies - -This addon depends on: - -- [sale](https://github.com/bringout/oca-ocb-sale/tree/681dc8d5fff638cb0862a34e48091a2098d091f8/odoo-bringout-oca-ocb-sale) diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/FAQ.md b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/FAQ.md deleted file mode 100644 index 4f076ef6..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/FAQ.md +++ /dev/null @@ -1,4 +0,0 @@ -# FAQ - -- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). -- Q: How to enable? A: Start server with --addon sale_report_commitment_date or install in UI. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/INSTALL.md b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/INSTALL.md deleted file mode 100644 index e74ee2f4..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/INSTALL.md +++ /dev/null @@ -1,7 +0,0 @@ -# Install - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_report_commitment_date" -# or -uv pip install odoo-bringout-oca-sale-reporting-sale_report_commitment_date" -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/MODELS.md b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/MODELS.md deleted file mode 100644 index 475192c2..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/MODELS.md +++ /dev/null @@ -1,11 +0,0 @@ -# Models - -Detected core models and extensions in sale_report_commitment_date. - -```mermaid -classDiagram -``` - -Notes -- Classes show model technical names; fields omitted for brevity. -- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/OVERVIEW.md b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/OVERVIEW.md deleted file mode 100644 index 7854c045..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/OVERVIEW.md +++ /dev/null @@ -1,6 +0,0 @@ -# Overview - -Packaged Odoo addon: sale_report_commitment_date. Provides features documented in upstream Odoo 16 under this addon. - -- Source: OCA/OCB 16.0, addon sale_report_commitment_date -- License: LGPL-3 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/REPORTS.md b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/REPORTS.md deleted file mode 100644 index e0ea35fb..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/REPORTS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Reports - -This module does not define custom reports. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/SECURITY.md b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/SECURITY.md deleted file mode 100644 index e07da9da..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/SECURITY.md +++ /dev/null @@ -1,8 +0,0 @@ -# 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/TROUBLESHOOTING.md deleted file mode 100644 index 56853cb7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/TROUBLESHOOTING.md +++ /dev/null @@ -1,5 +0,0 @@ -# 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/USAGE.md b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/USAGE.md deleted file mode 100644 index aeb5e768..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/USAGE.md +++ /dev/null @@ -1,7 +0,0 @@ -# Usage - -Start Odoo including this addon (from repo root): - -```bash -python3 scripts/nix_odoo_web_server.py --db-name mydb --addon sale_report_commitment_date -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/WIZARDS.md b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/WIZARDS.md deleted file mode 100644 index 48e790dc..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/doc/WIZARDS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Wizards - -This module does not include UI wizards. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/pyproject.toml b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/pyproject.toml deleted file mode 100644 index 223559f7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/pyproject.toml +++ /dev/null @@ -1,42 +0,0 @@ -[project] -name = "odoo-bringout-oca-sale-reporting-sale_report_commitment_date" -version = "16.0.0" -description = "Sale Report Commitment Date - Display the commitment date on Sales Order analysis reports" -authors = [ - { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } -] -dependencies = [ - "odoo-bringout-oca-ocb-sale>=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 = ["sale_report_commitment_date"] - -[tool.rye] -managed = true -dev-dependencies = [ - "pytest>=8.4.1", -] diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/README.rst b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/README.rst deleted file mode 100644 index da2cc4fe..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/README.rst +++ /dev/null @@ -1,90 +0,0 @@ -=========================== -Sale Report Commitment Date -=========================== - -.. - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:bbf50e1995a99190b69592764f6dc07783b168452b47edab84570b5149226522 - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png - :target: https://odoo-community.org/page/development-status - :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--reporting-lightgray.png?logo=github - :target: https://github.com/OCA/sale-reporting/tree/16.0/sale_report_commitment_date - :alt: OCA/sale-reporting -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-reporting-16-0/sale-reporting-16-0-sale_report_commitment_date - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-reporting&target_branch=16.0 - :alt: Try me on Runboat - -|badge1| |badge2| |badge3| |badge4| |badge5| - -Display the Sales Order commitment date on the analysis report. - -**Table of contents** - -.. contents:: - :local: - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -~~~~~~~ - -* Camptocamp - -Contributors -~~~~~~~~~~~~ - -* `Camptocamp `_ - - * Iván Todorovich - -* `Akretion `_ - - * Kevin Khao - -Maintainers -~~~~~~~~~~~ - -This module is maintained by the OCA. - -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org - -OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use. - -.. |maintainer-ivantodorovich| image:: https://github.com/ivantodorovich.png?size=40px - :target: https://github.com/ivantodorovich - :alt: ivantodorovich - -Current `maintainer `__: - -|maintainer-ivantodorovich| - -This module is part of the `OCA/sale-reporting `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/__init__.py b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/__init__.py deleted file mode 100644 index 65323532..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import reports diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/__manifest__.py b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/__manifest__.py deleted file mode 100644 index 1ca2fdba..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/__manifest__.py +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2022 Camptocamp SA (https://www.camptocamp.com). -# @author Iván Todorovich -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). - -{ - "name": "Sale Report Commitment Date", - "summary": "Display the commitment date on Sales Order analysis reports", - "version": "16.0.1.0.0", - "author": "Camptocamp, Odoo Community Association (OCA)", - "maintainers": ["ivantodorovich"], - "website": "https://github.com/OCA/sale-reporting", - "license": "AGPL-3", - "category": "Sales", - "depends": ["sale"], - "data": ["reports/sale_report.xml"], -} diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/i18n/bs.po b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/i18n/bs.po deleted file mode 100644 index 446e64b6..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/i18n/bs.po +++ /dev/null @@ -1,25 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_commitment_date -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_report_commitment_date -#: model:ir.model.fields,field_description:sale_report_commitment_date.field_sale_report__commitment_date -#: model_terms:ir.ui.view,arch_db:sale_report_commitment_date.view_order_product_search -msgid "Commitment Date" -msgstr "Obećani datum" - -#. module: sale_report_commitment_date -#: model:ir.model,name:sale_report_commitment_date.model_sale_report -msgid "Sales Analysis Report" -msgstr "Izvještaj analize prodaje" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/i18n/fr.po b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/i18n/fr.po deleted file mode 100644 index baf14a50..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/i18n/fr.po +++ /dev/null @@ -1,34 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_commitment_date -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 14.0+e\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-06-09 19:43+0000\n" -"PO-Revision-Date: 2022-06-09 19:43+0000\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_report_commitment_date -#: model:ir.model.fields,field_description:sale_report_commitment_date.field_sale_report__commitment_date -#: model_terms:ir.ui.view,arch_db:sale_report_commitment_date.view_order_product_search -msgid "Commitment Date" -msgstr "Date d'engagement" - -#. module: sale_report_commitment_date -#: model:ir.model,name:sale_report_commitment_date.model_sale_report -msgid "Sales Analysis Report" -msgstr "Rapport d'analyse des ventes" - -#~ msgid "Display Name" -#~ msgstr "Nom affiché" - -#~ msgid "Last Modified on" -#~ msgstr "Dernière modification le" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/i18n/it.po b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/i18n/it.po deleted file mode 100644 index cae19f2e..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/i18n/it.po +++ /dev/null @@ -1,28 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_commitment_date -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2024-05-28 09:34+0000\n" -"Last-Translator: mymage \n" -"Language-Team: none\n" -"Language: it\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" - -#. module: sale_report_commitment_date -#: model:ir.model.fields,field_description:sale_report_commitment_date.field_sale_report__commitment_date -#: model_terms:ir.ui.view,arch_db:sale_report_commitment_date.view_order_product_search -msgid "Commitment Date" -msgstr "Data impegno" - -#. module: sale_report_commitment_date -#: model:ir.model,name:sale_report_commitment_date.model_sale_report -msgid "Sales Analysis Report" -msgstr "Resoconto analisi vendite" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/i18n/sale_report_commitment_date.pot b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/i18n/sale_report_commitment_date.pot deleted file mode 100644 index 4011b530..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/i18n/sale_report_commitment_date.pot +++ /dev/null @@ -1,25 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_commitment_date -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_report_commitment_date -#: model:ir.model.fields,field_description:sale_report_commitment_date.field_sale_report__commitment_date -#: model_terms:ir.ui.view,arch_db:sale_report_commitment_date.view_order_product_search -msgid "Commitment Date" -msgstr "" - -#. module: sale_report_commitment_date -#: model:ir.model,name:sale_report_commitment_date.model_sale_report -msgid "Sales Analysis Report" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/readme/CONTRIBUTORS.rst deleted file mode 100644 index dc94f478..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,7 +0,0 @@ -* `Camptocamp `_ - - * Iván Todorovich - -* `Akretion `_ - - * Kevin Khao diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/readme/DESCRIPTION.rst b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/readme/DESCRIPTION.rst deleted file mode 100644 index 460a7d91..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/readme/DESCRIPTION.rst +++ /dev/null @@ -1 +0,0 @@ -Display the Sales Order commitment date on the analysis report. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/reports/__init__.py b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/reports/__init__.py deleted file mode 100644 index cd23411b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/reports/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import sale_report diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/reports/sale_report.py b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/reports/sale_report.py deleted file mode 100644 index 39cf0249..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/reports/sale_report.py +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 2022 Camptocamp SA (https://www.camptocamp.com). -# @author Iván Todorovich -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). - -from odoo import fields, models - - -class SaleReport(models.Model): - _inherit = "sale.report" - - commitment_date = fields.Datetime(readonly=True) - - def _select_sale(self): - res = super()._select_sale() - res += ", s.commitment_date" - return res - - def _group_by_sale(self): - res = super()._group_by_sale() - res += ", s.commitment_date" - return res diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/reports/sale_report.xml b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/reports/sale_report.xml deleted file mode 100644 index 2d9df0a6..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/reports/sale_report.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - sale.report - - - - - - - - - - - - - diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/static/description/icon.png b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/static/description/icon.png deleted file mode 100644 index 3a0328b5..00000000 Binary files a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/static/description/icon.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/static/description/index.html b/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/static/description/index.html deleted file mode 100644 index 2832ec91..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_commitment_date/sale_report_commitment_date/static/description/index.html +++ /dev/null @@ -1,430 +0,0 @@ - - - - - - -Sale Report Commitment Date - - - -
-

Sale Report Commitment Date

- - -

Beta License: AGPL-3 OCA/sale-reporting Translate me on Weblate Try me on Runboat

-

Display the Sales Order commitment date on the analysis report.

-

Table of contents

- -
-

Bug Tracker

-

Bugs are tracked on GitHub Issues. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

-

Do not contact contributors directly about support or help with technical issues.

-
-
-

Credits

-
-

Authors

-
    -
  • Camptocamp
  • -
-
-
-

Contributors

- -
-
-

Maintainers

-

This module is maintained by the OCA.

-Odoo Community Association -

OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use.

-

Current maintainer:

-

ivantodorovich

-

This module is part of the OCA/sale-reporting project on GitHub.

-

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

-
-
-
- - diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/README.md b/odoo-bringout-oca-sale-reporting-sale_report_country_state/README.md deleted file mode 100644 index 80734147..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/README.md +++ /dev/null @@ -1,46 +0,0 @@ -# Sale Report Filter by State - -Odoo addon: sale_report_country_state - -## Installation - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_report_country_state -``` - -## Dependencies - -This addon depends on: -- sale - -## Manifest Information - -- **Name**: Sale Report Filter by State -- **Version**: 16.0.1.0.0 -- **Category**: Sales -- **License**: AGPL-3 -- **Installable**: True - -## Source - -Based on [OCA/sale-reporting](https://github.com/OCA/sale-reporting) branch 16.0, addon `sale_report_country_state`. - -## License - -This package maintains the original AGPL-3 license from the upstream Odoo project. - -## 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/ARCHITECTURE.md b/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/ARCHITECTURE.md deleted file mode 100644 index be29d9a5..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/ARCHITECTURE.md +++ /dev/null @@ -1,32 +0,0 @@ -# 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 Sale_report_country_state Module - sale_report_country_state - 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/CONFIGURATION.md b/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/CONFIGURATION.md deleted file mode 100644 index c3047e9b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/CONFIGURATION.md +++ /dev/null @@ -1,3 +0,0 @@ -# Configuration - -Refer to Odoo settings for sale_report_country_state. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/CONTROLLERS.md b/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/CONTROLLERS.md deleted file mode 100644 index f628e770..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/CONTROLLERS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Controllers - -This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/DEPENDENCIES.md b/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/DEPENDENCIES.md deleted file mode 100644 index 47e4ecf1..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/DEPENDENCIES.md +++ /dev/null @@ -1,5 +0,0 @@ -# Dependencies - -This addon depends on: - -- [sale](https://github.com/bringout/oca-ocb-sale/tree/681dc8d5fff638cb0862a34e48091a2098d091f8/odoo-bringout-oca-ocb-sale) diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/FAQ.md b/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/FAQ.md deleted file mode 100644 index 511e60a3..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/FAQ.md +++ /dev/null @@ -1,4 +0,0 @@ -# FAQ - -- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). -- Q: How to enable? A: Start server with --addon sale_report_country_state or install in UI. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/INSTALL.md b/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/INSTALL.md deleted file mode 100644 index ceab1278..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/INSTALL.md +++ /dev/null @@ -1,7 +0,0 @@ -# Install - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_report_country_state" -# or -uv pip install odoo-bringout-oca-sale-reporting-sale_report_country_state" -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/MODELS.md b/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/MODELS.md deleted file mode 100644 index f0e2af3e..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/MODELS.md +++ /dev/null @@ -1,11 +0,0 @@ -# Models - -Detected core models and extensions in sale_report_country_state. - -```mermaid -classDiagram -``` - -Notes -- Classes show model technical names; fields omitted for brevity. -- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/OVERVIEW.md b/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/OVERVIEW.md deleted file mode 100644 index 89fde9df..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/OVERVIEW.md +++ /dev/null @@ -1,6 +0,0 @@ -# Overview - -Packaged Odoo addon: sale_report_country_state. Provides features documented in upstream Odoo 16 under this addon. - -- Source: OCA/OCB 16.0, addon sale_report_country_state -- License: LGPL-3 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/REPORTS.md b/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/REPORTS.md deleted file mode 100644 index e0ea35fb..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/REPORTS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Reports - -This module does not define custom reports. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/SECURITY.md b/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/SECURITY.md deleted file mode 100644 index e07da9da..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/SECURITY.md +++ /dev/null @@ -1,8 +0,0 @@ -# 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/TROUBLESHOOTING.md deleted file mode 100644 index 56853cb7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/TROUBLESHOOTING.md +++ /dev/null @@ -1,5 +0,0 @@ -# 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/USAGE.md b/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/USAGE.md deleted file mode 100644 index 48d3d832..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/USAGE.md +++ /dev/null @@ -1,7 +0,0 @@ -# Usage - -Start Odoo including this addon (from repo root): - -```bash -python3 scripts/nix_odoo_web_server.py --db-name mydb --addon sale_report_country_state -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/WIZARDS.md b/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/WIZARDS.md deleted file mode 100644 index 48e790dc..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/doc/WIZARDS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Wizards - -This module does not include UI wizards. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/pyproject.toml b/odoo-bringout-oca-sale-reporting-sale_report_country_state/pyproject.toml deleted file mode 100644 index bf3c213e..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/pyproject.toml +++ /dev/null @@ -1,42 +0,0 @@ -[project] -name = "odoo-bringout-oca-sale-reporting-sale_report_country_state" -version = "16.0.0" -description = "Sale Report Filter by State - Odoo addon" -authors = [ - { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } -] -dependencies = [ - "odoo-bringout-oca-ocb-sale>=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 = ["sale_report_country_state"] - -[tool.rye] -managed = true -dev-dependencies = [ - "pytest>=8.4.1", -] diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/README.rst b/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/README.rst deleted file mode 100644 index a1c51a73..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/README.rst +++ /dev/null @@ -1,92 +0,0 @@ -=========================== -Sale Report Filter by State -=========================== - -.. - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:d101143695d9ce5dc9d1cd209770f0eac630e7c9e47f758e05cb63ddb6b2aa41 - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png - :target: https://odoo-community.org/page/development-status - :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--reporting-lightgray.png?logo=github - :target: https://github.com/OCA/sale-reporting/tree/16.0/sale_report_country_state - :alt: OCA/sale-reporting -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-reporting-16-0/sale-reporting-16-0-sale_report_country_state - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-reporting&target_branch=16.0 - :alt: Try me on Runboat - -|badge1| |badge2| |badge3| |badge4| |badge5| - -This module allows to filter by partner's state in the sale reports. - -**Table of contents** - -.. contents:: - :local: - -Usage -===== - -To filter by state you can either: - -#. Go to *Sales > Reporting > Sales* -#. Group by *Customer State* or filter for such criteria. - -#. Go to *Sales > Products > Products* and select a product. -#. Press the sales analysis smart button at the top. -#. Filter or group by the *Customer State* - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -~~~~~~~ - -* Tecnativa - -Contributors -~~~~~~~~~~~~ - -* `Tecnativa `_: - - * David Vidal - * João Marques - * Carlos López - -Maintainers -~~~~~~~~~~~ - -This module is maintained by the OCA. - -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org - -OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use. - -This module is part of the `OCA/sale-reporting `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/__init__.py b/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/__init__.py deleted file mode 100644 index 65323532..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import reports diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/__manifest__.py b/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/__manifest__.py deleted file mode 100644 index 9c5eb823..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/__manifest__.py +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 2020 Tecnativa - David Vidal -# Copyright 2024 Tecnativa - Carlos López -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -{ - "name": "Sale Report Filter by State", - "version": "16.0.1.0.0", - "author": "Tecnativa, Odoo Community Association (OCA)", - "website": "https://github.com/OCA/sale-reporting", - "category": "Sales", - "license": "AGPL-3", - "depends": ["sale"], - "data": ["reports/sale_report_views.xml"], - "installable": True, -} diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/i18n/bs.po b/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/i18n/bs.po deleted file mode 100644 index 07cfe142..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/i18n/bs.po +++ /dev/null @@ -1,25 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_country_state -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_report_country_state -#: model:ir.model.fields,field_description:sale_report_country_state.field_sale_report__state_id -#: model_terms:ir.ui.view,arch_db:sale_report_country_state.view_order_product_search -msgid "Customer State" -msgstr "Customer State" - -#. module: sale_report_country_state -#: model:ir.model,name:sale_report_country_state.model_sale_report -msgid "Sales Analysis Report" -msgstr "Izvještaj analize prodaje" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/i18n/es.po b/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/i18n/es.po deleted file mode 100644 index bf4a0bbd..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/i18n/es.po +++ /dev/null @@ -1,28 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_country_state -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-10-07 16:53+0000\n" -"PO-Revision-Date: 2024-10-07 16:53+0000\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_report_country_state -#: model:ir.model.fields,field_description:sale_report_country_state.field_sale_report__state_id -#: model_terms:ir.ui.view,arch_db:sale_report_country_state.view_order_product_search -msgid "Customer State" -msgstr "Provincia del cliente" - -#. module: sale_report_country_state -#: model:ir.model,name:sale_report_country_state.model_sale_report -msgid "Sales Analysis Report" -msgstr "Informe de análisis de ventas" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/i18n/it.po b/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/i18n/it.po deleted file mode 100644 index 3a1af9c0..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/i18n/it.po +++ /dev/null @@ -1,28 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_country_state -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2024-10-10 12:06+0000\n" -"Last-Translator: mymage \n" -"Language-Team: none\n" -"Language: it\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 5.6.2\n" - -#. module: sale_report_country_state -#: model:ir.model.fields,field_description:sale_report_country_state.field_sale_report__state_id -#: model_terms:ir.ui.view,arch_db:sale_report_country_state.view_order_product_search -msgid "Customer State" -msgstr "Nazione cliente" - -#. module: sale_report_country_state -#: model:ir.model,name:sale_report_country_state.model_sale_report -msgid "Sales Analysis Report" -msgstr "Resoconto analisi vendite" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/i18n/sale_report_country_state.pot b/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/i18n/sale_report_country_state.pot deleted file mode 100644 index ea586b90..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/i18n/sale_report_country_state.pot +++ /dev/null @@ -1,25 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_country_state -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_report_country_state -#: model:ir.model.fields,field_description:sale_report_country_state.field_sale_report__state_id -#: model_terms:ir.ui.view,arch_db:sale_report_country_state.view_order_product_search -msgid "Customer State" -msgstr "" - -#. module: sale_report_country_state -#: model:ir.model,name:sale_report_country_state.model_sale_report -msgid "Sales Analysis Report" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/readme/CONTRIBUTORS.rst deleted file mode 100644 index 22bfaeba..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,5 +0,0 @@ -* `Tecnativa `_: - - * David Vidal - * João Marques - * Carlos López diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/readme/DESCRIPTION.rst b/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/readme/DESCRIPTION.rst deleted file mode 100644 index 3fba4039..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/readme/DESCRIPTION.rst +++ /dev/null @@ -1 +0,0 @@ -This module allows to filter by partner's state in the sale reports. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/readme/USAGE.rst b/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/readme/USAGE.rst deleted file mode 100644 index 0c6592f1..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/readme/USAGE.rst +++ /dev/null @@ -1,8 +0,0 @@ -To filter by state you can either: - -#. Go to *Sales > Reporting > Sales* -#. Group by *Customer State* or filter for such criteria. - -#. Go to *Sales > Products > Products* and select a product. -#. Press the sales analysis smart button at the top. -#. Filter or group by the *Customer State* diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/reports/__init__.py b/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/reports/__init__.py deleted file mode 100644 index cd23411b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/reports/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import sale_report diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/reports/sale_report.py b/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/reports/sale_report.py deleted file mode 100644 index 10fe90c4..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/reports/sale_report.py +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2020 Tecnativa - David Vidal -# Copyright 2024 Tecnativa - Carlos López -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -from odoo import fields, models - - -class SaleReport(models.Model): - _inherit = "sale.report" - - state_id = fields.Many2one( - comodel_name="res.country.state", - string="Customer State", - readonly=True, - ) - - def _select_additional_fields(self): - res = super()._select_additional_fields() - res["state_id"] = "partner.state_id" - return res - - def _group_by_sale(self): - res = super()._group_by_sale() - res += ", partner.state_id" - return res diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/reports/sale_report_views.xml b/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/reports/sale_report_views.xml deleted file mode 100644 index ebc9443a..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/reports/sale_report_views.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - sale.report - - - - - - - - - diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/static/description/icon.png b/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/static/description/icon.png deleted file mode 100644 index 3a0328b5..00000000 Binary files a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/static/description/icon.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/static/description/index.html b/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/static/description/index.html deleted file mode 100644 index e82e53fd..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_country_state/sale_report_country_state/static/description/index.html +++ /dev/null @@ -1,440 +0,0 @@ - - - - - -Sale Report Filter by State - - - -
-

Sale Report Filter by State

- - -

Beta License: AGPL-3 OCA/sale-reporting Translate me on Weblate Try me on Runboat

-

This module allows to filter by partner’s state in the sale reports.

-

Table of contents

- -
-

Usage

-

To filter by state you can either:

-
    -
  1. Go to Sales > Reporting > Sales
  2. -
  3. Group by Customer State or filter for such criteria.
  4. -
  5. Go to Sales > Products > Products and select a product.
  6. -
  7. Press the sales analysis smart button at the top.
  8. -
  9. Filter or group by the Customer State
  10. -
-
-
-

Bug Tracker

-

Bugs are tracked on GitHub Issues. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

-

Do not contact contributors directly about support or help with technical issues.

-
-
-

Credits

-
-

Authors

-
    -
  • Tecnativa
  • -
-
-
-

Contributors

-
    -
  • Tecnativa:
      -
    • David Vidal
    • -
    • João Marques
    • -
    • Carlos López
    • -
    -
  • -
-
-
-

Maintainers

-

This module is maintained by the OCA.

- -Odoo Community Association - -

OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use.

-

This module is part of the OCA/sale-reporting project on GitHub.

-

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

-
-
-
- - diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/README.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered/README.md deleted file mode 100644 index ea159ae6..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/README.md +++ /dev/null @@ -1,47 +0,0 @@ -# Sale Report Delivered - -Odoo addon: sale_report_delivered - -## Installation - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_report_delivered -``` - -## Dependencies - -This addon depends on: -- sale_stock -- sale_margin - -## Manifest Information - -- **Name**: Sale Report Delivered -- **Version**: 16.0.2.2.2 -- **Category**: Sales -- **License**: AGPL-3 -- **Installable**: True - -## Source - -Based on [OCA/sale-reporting](https://github.com/OCA/sale-reporting) branch 16.0, addon `sale_report_delivered`. - -## License - -This package maintains the original AGPL-3 license from the upstream Odoo project. - -## 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/ARCHITECTURE.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/ARCHITECTURE.md deleted file mode 100644 index 14f65b97..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/ARCHITECTURE.md +++ /dev/null @@ -1,32 +0,0 @@ -# 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 Sale_report_delivered Module - sale_report_delivered - 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/CONFIGURATION.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/CONFIGURATION.md deleted file mode 100644 index 17186e58..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/CONFIGURATION.md +++ /dev/null @@ -1,3 +0,0 @@ -# Configuration - -Refer to Odoo settings for sale_report_delivered. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/CONTROLLERS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/CONTROLLERS.md deleted file mode 100644 index f628e770..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/CONTROLLERS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Controllers - -This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/DEPENDENCIES.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/DEPENDENCIES.md deleted file mode 100644 index 72f45d20..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/DEPENDENCIES.md +++ /dev/null @@ -1,6 +0,0 @@ -# Dependencies - -This addon depends on: - -- [sale_stock](https://github.com/bringout/oca-ocb-sale/tree/681dc8d5fff638cb0862a34e48091a2098d091f8/odoo-bringout-oca-ocb-sale_stock) -- [sale_margin](https://github.com/bringout/oca-ocb-sale/tree/681dc8d5fff638cb0862a34e48091a2098d091f8/odoo-bringout-oca-ocb-sale_margin) diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/FAQ.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/FAQ.md deleted file mode 100644 index b6c42cc3..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/FAQ.md +++ /dev/null @@ -1,4 +0,0 @@ -# FAQ - -- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). -- Q: How to enable? A: Start server with --addon sale_report_delivered or install in UI. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/INSTALL.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/INSTALL.md deleted file mode 100644 index 36beee30..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/INSTALL.md +++ /dev/null @@ -1,7 +0,0 @@ -# Install - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_report_delivered" -# or -uv pip install odoo-bringout-oca-sale-reporting-sale_report_delivered" -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/MODELS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/MODELS.md deleted file mode 100644 index ca9ebe77..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/MODELS.md +++ /dev/null @@ -1,11 +0,0 @@ -# Models - -Detected core models and extensions in sale_report_delivered. - -```mermaid -classDiagram -``` - -Notes -- Classes show model technical names; fields omitted for brevity. -- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/OVERVIEW.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/OVERVIEW.md deleted file mode 100644 index 7b70f0ef..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/OVERVIEW.md +++ /dev/null @@ -1,6 +0,0 @@ -# Overview - -Packaged Odoo addon: sale_report_delivered. Provides features documented in upstream Odoo 16 under this addon. - -- Source: OCA/OCB 16.0, addon sale_report_delivered -- License: LGPL-3 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/REPORTS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/REPORTS.md deleted file mode 100644 index e0ea35fb..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/REPORTS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Reports - -This module does not define custom reports. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/SECURITY.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/SECURITY.md deleted file mode 100644 index 63357c72..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/SECURITY.md +++ /dev/null @@ -1,41 +0,0 @@ -# Security - -Access control and security definitions in sale_report_delivered. - -## Access Control Lists (ACLs) - -Model access permissions defined in: -- **[ir.model.access.csv](../sale_report_delivered/security/ir.model.access.csv)** - - 2 model access rules - -## Record Rules - -Row-level security rules defined in: - -## Security Groups & Configuration - -Security groups and permissions defined in: -- **[sale_report_security.xml](../sale_report_delivered/security/sale_report_security.xml)** - -```mermaid -graph TB - subgraph "Security Layers" - A[Users] --> B[Groups] - B --> C[Access Control Lists] - C --> D[Models] - B --> E[Record Rules] - E --> F[Individual Records] - end -``` - -Security files overview: -- **[ir.model.access.csv](../sale_report_delivered/security/ir.model.access.csv)** - - Model access permissions (CRUD rights) -- **[sale_report_security.xml](../sale_report_delivered/security/sale_report_security.xml)** - - Security groups, categories, and XML-based rules - -Notes -- Access Control Lists define which groups can access which models -- Record Rules provide row-level security (filter records by user/group) -- Security groups organize users and define permission sets -- All security is enforced at the ORM level by Odoo diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/TROUBLESHOOTING.md deleted file mode 100644 index 56853cb7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/TROUBLESHOOTING.md +++ /dev/null @@ -1,5 +0,0 @@ -# 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/USAGE.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/USAGE.md deleted file mode 100644 index cf399cf5..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/USAGE.md +++ /dev/null @@ -1,7 +0,0 @@ -# Usage - -Start Odoo including this addon (from repo root): - -```bash -python3 scripts/nix_odoo_web_server.py --db-name mydb --addon sale_report_delivered -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/WIZARDS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/WIZARDS.md deleted file mode 100644 index 48e790dc..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/doc/WIZARDS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Wizards - -This module does not include UI wizards. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/pyproject.toml b/odoo-bringout-oca-sale-reporting-sale_report_delivered/pyproject.toml deleted file mode 100644 index c274188b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/pyproject.toml +++ /dev/null @@ -1,43 +0,0 @@ -[project] -name = "odoo-bringout-oca-sale-reporting-sale_report_delivered" -version = "16.0.0" -description = "Sale Report Delivered - Odoo addon" -authors = [ - { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } -] -dependencies = [ - "odoo-bringout-oca-sale-reporting-sale_stock>=16.0.0", - "odoo-bringout-oca-sale-reporting-sale_margin>=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 = ["sale_report_delivered"] - -[tool.rye] -managed = true -dev-dependencies = [ - "pytest>=8.4.1", -] diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/README.rst b/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/README.rst deleted file mode 100644 index 311378a0..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/README.rst +++ /dev/null @@ -1,98 +0,0 @@ -===================== -Sale Report Delivered -===================== - -.. - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:257e0251c07649aad140037e63ec2f390ee43cb80001ab0057842da5581e1192 - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png - :target: https://odoo-community.org/page/development-status - :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--reporting-lightgray.png?logo=github - :target: https://github.com/OCA/sale-reporting/tree/16.0/sale_report_delivered - :alt: OCA/sale-reporting -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-reporting-16-0/sale-reporting-16-0-sale_report_delivered - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-reporting&target_branch=16.0 - :alt: Try me on Runboat - -|badge1| |badge2| |badge3| |badge4| |badge5| - -Adds subtotal price based on the delivered quantities field to the -*Sales Report*. - -This module takes in consideration Outgoing, Returns and Dropship. - -**Table of contents** - -.. contents:: - :local: - -Usage -===== - -Go to *Sales > Reporting > Sales from deliveries* and you'll find the new *Total Price -Delivered* measure. - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -~~~~~~~ - -* Tecnativa - -Contributors -~~~~~~~~~~~~ - -* `Tecnativa `_: - - * Sergio Teruel - * Carlos Dauden - -* Eduardo de Miguel (`Moduon `__) - -Maintainers -~~~~~~~~~~~ - -This module is maintained by the OCA. - -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org - -OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use. - -.. |maintainer-sergio-teruel| image:: https://github.com/sergio-teruel.png?size=40px - :target: https://github.com/sergio-teruel - :alt: sergio-teruel - -Current `maintainer `__: - -|maintainer-sergio-teruel| - -This module is part of the `OCA/sale-reporting `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/__init__.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/__init__.py deleted file mode 100644 index 65323532..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import reports diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/__manifest__.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/__manifest__.py deleted file mode 100644 index 77c67a7d..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/__manifest__.py +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 2021 Tecnativa - Sergio Teruel -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -{ - "name": "Sale Report Delivered", - "version": "16.0.2.2.2", - "author": "Tecnativa," "Odoo Community Association (OCA)", - "website": "https://github.com/OCA/sale-reporting", - "category": "Sales", - "license": "AGPL-3", - "depends": ["sale_stock", "sale_margin"], - "installable": True, - "development_status": "Beta", - "maintainers": ["sergio-teruel"], - "data": [ - "security/ir.model.access.csv", - "security/sale_report_security.xml", - "views/sale_report_delivered_views.xml", - ], -} diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/i18n/bs.po b/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/i18n/bs.po deleted file mode 100644 index ff34cbb9..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/i18n/bs.po +++ /dev/null @@ -1,271 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_delivered -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__nbr -msgid "# of Lines" -msgstr "# Linija" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__amount_cost -msgid "Amount cost" -msgstr "Amount cost" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__analytic_account_id -msgid "Analytic Account" -msgstr "Analitički konto" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__campaign_id -msgid "Campaign" -msgstr "Kampanja" - -#. module: sale_report_delivered -#: model:ir.model.fields.selection,name:sale_report_delivered.selection__sale_report_delivered__state__cancel -msgid "Cancelled" -msgstr "Otkazan" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__company_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Company" -msgstr "Preduzeće" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__partner_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Customer" -msgstr "Kupac" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__country_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Customer Country" -msgstr "Država kupca" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__commercial_partner_id -msgid "Customer Entity" -msgstr "Nadređena tvrtka" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__industry_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Customer Industry" -msgstr "Kupčeva industrija" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__date -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Date" -msgstr "Datum" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__display_name -msgid "Display Name" -msgstr "Prikazani naziv" - -#. module: sale_report_delivered -#: model:ir.model.fields.selection,name:sale_report_delivered.selection__sale_report_delivered__state__draft -msgid "Draft Quotation" -msgstr "Predračun u pripremi" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Extended Filters" -msgstr "Prošireni filteri" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__weight -msgid "Gross Weight" -msgstr "Bruto težina" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Group By" -msgstr "Grupiši po" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__id -msgid "ID" -msgstr "ID" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered____last_update -msgid "Last Modified on" -msgstr "Zadnje mijenjano" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__margin -msgid "Margin delivered" -msgstr "Margin delivered" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__margin_percent -msgid "Margin delivered(%)" -msgstr "Margin delivered(%)" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__medium_id -msgid "Medium" -msgstr "Medijum" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__order_id -msgid "Order" -msgstr "Nalog" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__name -msgid "Order Reference" -msgstr "Referenca narudžbe" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__picking_id -msgid "Picking" -msgstr "Skladišnice" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__pricelist_id -msgid "Pricelist" -msgstr "Cjenik" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__product_tmpl_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Product" -msgstr "Artikal" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__categ_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Product Category" -msgstr "Kategorija proizvoda" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__product_id -msgid "Product Variant" -msgstr "Varijanta proizvoda" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__product_uom_qty -msgid "Qty" -msgstr "Količina" - -#. module: sale_report_delivered -#: model:ir.model.fields.selection,name:sale_report_delivered.selection__sale_report_delivered__state__sent -msgid "Quotation Sent" -msgstr "Ponuda poslana" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Quotations" -msgstr "Predračuni" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_pivot -msgid "Sales Analysis" -msgstr "Analiza prodaje" - -#. module: sale_report_delivered -#: model:ir.actions.act_window,name:sale_report_delivered.action_sale_report_delivered -msgid "Sales Analysis From Deliveries" -msgstr "Sales Analysis From Deliveries" - -#. module: sale_report_delivered -#: model:ir.model,name:sale_report_delivered.model_sale_report_delivered -msgid "Sales Delivered Analysis Report" -msgstr "Sales Delivered Analysis Report" - -#. module: sale_report_delivered -#: model:ir.model.fields.selection,name:sale_report_delivered.selection__sale_report_delivered__state__done -msgid "Sales Done" -msgstr "Prodaja završena" - -#. module: sale_report_delivered -#: model:ir.model.fields.selection,name:sale_report_delivered.selection__sale_report_delivered__state__sale -msgid "Sales Order" -msgstr "Prodajni nalog" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Sales Orders" -msgstr "Prodajni nalozi" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__team_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Sales Team" -msgstr "Prodajni tim" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_graph -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Sales analysis from deliveries" -msgstr "Sales analysis from deliveries" - -#. module: sale_report_delivered -#: model:ir.ui.menu,name:sale_report_delivered.menu_report_sale_stock_delivery -msgid "Sales from deliveries" -msgstr "Sales from deliveries" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__user_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Salesperson" -msgstr "Referent prodaje" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__user_from_partner_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Salesperson From Partner" -msgstr "Salesperson From Partner" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__source_id -msgid "Source" -msgstr "Izvor" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__state -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Status" -msgstr "Status" - -#. module: sale_report_delivered -#: model_terms:ir.actions.act_window,help:sale_report_delivered.action_sale_report_delivered -msgid "" -"This report performs analysis on your sales orders from deliveries. Analysis" -" check your sales revenues and sort it by different group criteria " -"(salesman, partner, product, etc.) Use this report to perform analysis on " -"sales not having invoiced yet. If you want to analyse your turnover, you " -"should use the Invoice Analysis report in the Accounting application." -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__product_uom -msgid "Unit of Measure" -msgstr "Jedinica mjere" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__price_subtotal -msgid "Untaxed total delivered" -msgstr "Untaxed total delivered" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__volume -msgid "Volume" -msgstr "Volumen" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/i18n/es.po b/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/i18n/es.po deleted file mode 100644 index 7c99b082..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/i18n/es.po +++ /dev/null @@ -1,281 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_delivered -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 13.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-28 20:03+0000\n" -"PO-Revision-Date: 2024-11-28 21:03+0100\n" -"Last-Translator: Carlos Dauden \n" -"Language-Team: \n" -"Language: es\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 3.4.2\n" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__nbr -msgid "# of Lines" -msgstr "# de líneas" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__amount_cost -msgid "Amount cost" -msgstr "Coste" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__analytic_account_id -msgid "Analytic Account" -msgstr "Cuenta analítica" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__campaign_id -msgid "Campaign" -msgstr "Campaña" - -#. module: sale_report_delivered -#: model:ir.model.fields.selection,name:sale_report_delivered.selection__sale_report_delivered__state__cancel -msgid "Cancelled" -msgstr "Cancelado" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__company_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Company" -msgstr "Compañía" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__partner_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Customer" -msgstr "Cliente" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__country_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Customer Country" -msgstr "País del cliente" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__commercial_partner_id -msgid "Customer Entity" -msgstr "Entidad del Cliente" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__industry_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Customer Industry" -msgstr "Sector" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__date -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Date" -msgstr "Fecha" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__display_name -msgid "Display Name" -msgstr "Nombre a mostrar" - -#. module: sale_report_delivered -#: model:ir.model.fields.selection,name:sale_report_delivered.selection__sale_report_delivered__state__draft -msgid "Draft Quotation" -msgstr "Presupuesto borrador" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Extended Filters" -msgstr "Filtros extendidos" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__weight -msgid "Gross Weight" -msgstr "Peso bruto" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Group By" -msgstr "Agrupado por" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__id -msgid "ID" -msgstr "ID (Identificador)" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered____last_update -msgid "Last Modified on" -msgstr "Última modificación en" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__margin -msgid "Margin delivered" -msgstr "Margen entregado" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__margin_percent -msgid "Margin delivered(%)" -msgstr "Margen entregado(%)" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__medium_id -msgid "Medium" -msgstr "Media" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__order_id -msgid "Order" -msgstr "Pedido" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__name -msgid "Order Reference" -msgstr "Referencia del pedido" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__picking_id -msgid "Picking" -msgstr "Albarán" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__pricelist_id -msgid "Pricelist" -msgstr "Tarifa" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__product_tmpl_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Product" -msgstr "Producto" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__categ_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Product Category" -msgstr "Categoría" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__product_id -msgid "Product Variant" -msgstr "Variante de producto" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__product_uom_qty -msgid "Qty" -msgstr "Cantidad" - -#. module: sale_report_delivered -#: model:ir.model.fields.selection,name:sale_report_delivered.selection__sale_report_delivered__state__sent -msgid "Quotation Sent" -msgstr "Presupuesto enviado" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Quotations" -msgstr "Presupuestos" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_pivot -msgid "Sales Analysis" -msgstr "Análisis de ventas" - -#. module: sale_report_delivered -#: model:ir.actions.act_window,name:sale_report_delivered.action_sale_report_delivered -msgid "Sales Analysis From Deliveries" -msgstr "Análisis de ventas desde albaranes" - -#. module: sale_report_delivered -#: model:ir.model,name:sale_report_delivered.model_sale_report_delivered -msgid "Sales Delivered Analysis Report" -msgstr "Análisis de ventas" - -#. module: sale_report_delivered -#: model:ir.model.fields.selection,name:sale_report_delivered.selection__sale_report_delivered__state__done -msgid "Sales Done" -msgstr "Orden de venta completa" - -#. module: sale_report_delivered -#: model:ir.model.fields.selection,name:sale_report_delivered.selection__sale_report_delivered__state__sale -msgid "Sales Order" -msgstr "Pedido de venta" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Sales Orders" -msgstr "Pedidos de ventas" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__team_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Sales Team" -msgstr "Equipo de ventas" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_graph -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Sales analysis from deliveries" -msgstr "Análisis de ventas desde albaranes" - -#. module: sale_report_delivered -#: model:ir.ui.menu,name:sale_report_delivered.menu_report_sale_stock_delivery -msgid "Sales from deliveries" -msgstr "Ventas desde albaranes" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__user_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Salesperson" -msgstr "Comercial" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__user_from_partner_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Salesperson From Partner" -msgstr "Comercial del cliente" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__source_id -msgid "Source" -msgstr "Origen" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__state -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Status" -msgstr "Estado" - -#. module: sale_report_delivered -#: model_terms:ir.actions.act_window,help:sale_report_delivered.action_sale_report_delivered -msgid "" -"This report performs analysis on your sales orders from deliveries. Analysis " -"check your sales revenues and sort it by different group criteria (salesman, " -"partner, product, etc.) Use this report to perform analysis on sales not " -"having invoiced yet. If you want to analyse your turnover, you should use " -"the Invoice Analysis report in the Accounting application." -msgstr "" -"Este informe realiza el análisis de sus pedidos de venta. El análisis " -"comprueba su ingresos por ventas y los ordena por diferentes criterios de " -"agrupación (comercial, cliente, producto, etc). Use este informe para " -"analizar las ventas que aún no han sido facturadas. Si lo que quiere " -"analizar es su volumen de negocios, debería usar el informe de análisis de " -"facturas en la aplicación de Contabilidad." - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__product_uom -msgid "Unit of Measure" -msgstr "Unidad de medida" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__price_subtotal -msgid "Untaxed total delivered" -msgstr "Base imponible entregada" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__volume -msgid "Volume" -msgstr "Volumen" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/i18n/it.po b/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/i18n/it.po deleted file mode 100644 index 810d6a9e..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/i18n/it.po +++ /dev/null @@ -1,280 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_delivered -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2025-03-05 12:06+0000\n" -"Last-Translator: mymage \n" -"Language-Team: none\n" -"Language: it\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 5.10.2\n" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__nbr -msgid "# of Lines" -msgstr "N° di righe" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__amount_cost -msgid "Amount cost" -msgstr "Costo del valore" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__analytic_account_id -msgid "Analytic Account" -msgstr "Conto analitico" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__campaign_id -msgid "Campaign" -msgstr "Campagna" - -#. module: sale_report_delivered -#: model:ir.model.fields.selection,name:sale_report_delivered.selection__sale_report_delivered__state__cancel -msgid "Cancelled" -msgstr "Annullata" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__company_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Company" -msgstr "Azienda" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__partner_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Customer" -msgstr "Cliente" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__country_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Customer Country" -msgstr "Nazione cliente" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__commercial_partner_id -msgid "Customer Entity" -msgstr "Entità cliente" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__industry_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Customer Industry" -msgstr "Settore cliente" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__date -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Date" -msgstr "Data" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__display_name -msgid "Display Name" -msgstr "Nome visualizzato" - -#. module: sale_report_delivered -#: model:ir.model.fields.selection,name:sale_report_delivered.selection__sale_report_delivered__state__draft -msgid "Draft Quotation" -msgstr "Preventivo bozza" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Extended Filters" -msgstr "Filtri estesi" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__weight -msgid "Gross Weight" -msgstr "Peso lordo" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Group By" -msgstr "Raggruppa per" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__id -msgid "ID" -msgstr "ID" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered____last_update -msgid "Last Modified on" -msgstr "Ultima modifica il" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__margin -msgid "Margin delivered" -msgstr "Margine consegnato" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__margin_percent -msgid "Margin delivered(%)" -msgstr "Margine consegnato (%)" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__medium_id -msgid "Medium" -msgstr "Medio" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__order_id -msgid "Order" -msgstr "Ordine" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__name -msgid "Order Reference" -msgstr "Riferimento ordine" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__picking_id -msgid "Picking" -msgstr "Prelievo" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__pricelist_id -msgid "Pricelist" -msgstr "Listino prezzi" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__product_tmpl_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Product" -msgstr "Prodotto" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__categ_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Product Category" -msgstr "Categoria prodotto" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__product_id -msgid "Product Variant" -msgstr "Variante prodotto" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__product_uom_qty -msgid "Qty" -msgstr "Q.tà" - -#. module: sale_report_delivered -#: model:ir.model.fields.selection,name:sale_report_delivered.selection__sale_report_delivered__state__sent -msgid "Quotation Sent" -msgstr "Preventivo inviato" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Quotations" -msgstr "Preventivi" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_pivot -msgid "Sales Analysis" -msgstr "Analisi delle vendite" - -#. module: sale_report_delivered -#: model:ir.actions.act_window,name:sale_report_delivered.action_sale_report_delivered -msgid "Sales Analysis From Deliveries" -msgstr "Analisi vendite dalle consegne" - -#. module: sale_report_delivered -#: model:ir.model,name:sale_report_delivered.model_sale_report_delivered -msgid "Sales Delivered Analysis Report" -msgstr "Resoconto analisi vendite consegnate" - -#. module: sale_report_delivered -#: model:ir.model.fields.selection,name:sale_report_delivered.selection__sale_report_delivered__state__done -msgid "Sales Done" -msgstr "Vendita effettuata" - -#. module: sale_report_delivered -#: model:ir.model.fields.selection,name:sale_report_delivered.selection__sale_report_delivered__state__sale -msgid "Sales Order" -msgstr "Ordine di vendita" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Sales Orders" -msgstr "Ordini di vendita" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__team_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Sales Team" -msgstr "Team di vendita" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_graph -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Sales analysis from deliveries" -msgstr "Analisi vendite dalle consegne" - -#. module: sale_report_delivered -#: model:ir.ui.menu,name:sale_report_delivered.menu_report_sale_stock_delivery -msgid "Sales from deliveries" -msgstr "Vendite dalle consegne" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__user_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Salesperson" -msgstr "Addetto vendite" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__user_from_partner_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Salesperson From Partner" -msgstr "Venditore dal partner" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__source_id -msgid "Source" -msgstr "Origine" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__state -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Status" -msgstr "Stato" - -#. module: sale_report_delivered -#: model_terms:ir.actions.act_window,help:sale_report_delivered.action_sale_report_delivered -msgid "" -"This report performs analysis on your sales orders from deliveries. Analysis " -"check your sales revenues and sort it by different group criteria (salesman, " -"partner, product, etc.) Use this report to perform analysis on sales not " -"having invoiced yet. If you want to analyse your turnover, you should use " -"the Invoice Analysis report in the Accounting application." -msgstr "" -"Questo resoconto effettua l'analisi sugli ordini di vendita dalle consegne. " -"L'analisi controlla i ricavi delle vendite e li ordina per diversi gruppi di " -"criteri (addetto vendita, partner, prodotto, ecc.). Utilizzare questo " -"resoconto per effettuare analisi sulle vendite che non sono ancora state " -"fatturate. Se si vuole analizzare il fatturato, si deve usare il resoconto " -"analisi fatture nell'applicazione contabilità." - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__product_uom -msgid "Unit of Measure" -msgstr "Unità di misura" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__price_subtotal -msgid "Untaxed total delivered" -msgstr "Totale consegnato tasse escluse" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__volume -msgid "Volume" -msgstr "Volume" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/i18n/sale_report_delivered.pot b/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/i18n/sale_report_delivered.pot deleted file mode 100644 index 8208d04e..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/i18n/sale_report_delivered.pot +++ /dev/null @@ -1,271 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_delivered -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__nbr -msgid "# of Lines" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__amount_cost -msgid "Amount cost" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__analytic_account_id -msgid "Analytic Account" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__campaign_id -msgid "Campaign" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields.selection,name:sale_report_delivered.selection__sale_report_delivered__state__cancel -msgid "Cancelled" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__company_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Company" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__partner_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Customer" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__country_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Customer Country" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__commercial_partner_id -msgid "Customer Entity" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__industry_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Customer Industry" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__date -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Date" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__display_name -msgid "Display Name" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields.selection,name:sale_report_delivered.selection__sale_report_delivered__state__draft -msgid "Draft Quotation" -msgstr "" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Extended Filters" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__weight -msgid "Gross Weight" -msgstr "" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Group By" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__id -msgid "ID" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered____last_update -msgid "Last Modified on" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__margin -msgid "Margin delivered" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__margin_percent -msgid "Margin delivered(%)" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__medium_id -msgid "Medium" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__order_id -msgid "Order" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__name -msgid "Order Reference" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__picking_id -msgid "Picking" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__pricelist_id -msgid "Pricelist" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__product_tmpl_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Product" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__categ_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Product Category" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__product_id -msgid "Product Variant" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__product_uom_qty -msgid "Qty" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields.selection,name:sale_report_delivered.selection__sale_report_delivered__state__sent -msgid "Quotation Sent" -msgstr "" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Quotations" -msgstr "" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_pivot -msgid "Sales Analysis" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.actions.act_window,name:sale_report_delivered.action_sale_report_delivered -msgid "Sales Analysis From Deliveries" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model,name:sale_report_delivered.model_sale_report_delivered -msgid "Sales Delivered Analysis Report" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields.selection,name:sale_report_delivered.selection__sale_report_delivered__state__done -msgid "Sales Done" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields.selection,name:sale_report_delivered.selection__sale_report_delivered__state__sale -msgid "Sales Order" -msgstr "" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Sales Orders" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__team_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Sales Team" -msgstr "" - -#. module: sale_report_delivered -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_graph -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Sales analysis from deliveries" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.ui.menu,name:sale_report_delivered.menu_report_sale_stock_delivery -msgid "Sales from deliveries" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__user_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Salesperson" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__user_from_partner_id -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Salesperson From Partner" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__source_id -msgid "Source" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__state -#: model_terms:ir.ui.view,arch_db:sale_report_delivered.view_sale_report_delivered_search -msgid "Status" -msgstr "" - -#. module: sale_report_delivered -#: model_terms:ir.actions.act_window,help:sale_report_delivered.action_sale_report_delivered -msgid "" -"This report performs analysis on your sales orders from deliveries. Analysis" -" check your sales revenues and sort it by different group criteria " -"(salesman, partner, product, etc.) Use this report to perform analysis on " -"sales not having invoiced yet. If you want to analyse your turnover, you " -"should use the Invoice Analysis report in the Accounting application." -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__product_uom -msgid "Unit of Measure" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__price_subtotal -msgid "Untaxed total delivered" -msgstr "" - -#. module: sale_report_delivered -#: model:ir.model.fields,field_description:sale_report_delivered.field_sale_report_delivered__volume -msgid "Volume" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/readme/CONTRIBUTORS.rst deleted file mode 100644 index 917c5bfd..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,6 +0,0 @@ -* `Tecnativa `_: - - * Sergio Teruel - * Carlos Dauden - -* Eduardo de Miguel (`Moduon `__) diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/readme/DESCRIPTION.rst b/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/readme/DESCRIPTION.rst deleted file mode 100644 index 363be9f2..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/readme/DESCRIPTION.rst +++ /dev/null @@ -1,4 +0,0 @@ -Adds subtotal price based on the delivered quantities field to the -*Sales Report*. - -This module takes in consideration Outgoing, Returns and Dropship. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/readme/USAGE.rst b/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/readme/USAGE.rst deleted file mode 100644 index 852c2877..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/readme/USAGE.rst +++ /dev/null @@ -1,2 +0,0 @@ -Go to *Sales > Reporting > Sales from deliveries* and you'll find the new *Total Price -Delivered* measure. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/reports/__init__.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/reports/__init__.py deleted file mode 100644 index cd23411b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/reports/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import sale_report diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/reports/sale_report.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/reports/sale_report.py deleted file mode 100644 index 6c7c1209..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/reports/sale_report.py +++ /dev/null @@ -1,322 +0,0 @@ -# Copyright 2021 Tecnativa - Sergio Teruel -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). - -from psycopg2.extensions import AsIs - -from odoo import api, fields, models, tools - - -class SaleReportDeliverd(models.Model): - _name = "sale.report.delivered" - _description = "Sales Delivered Analysis Report" - _auto = False - _rec_name = "date" - _order = "date desc" - - name = fields.Char("Order Reference", readonly=True) - date = fields.Datetime(readonly=True) - product_id = fields.Many2one("product.product", "Product Variant", readonly=True) - product_uom = fields.Many2one("uom.uom", "Unit of Measure", readonly=True) - product_uom_qty = fields.Float("Qty", readonly=True) - partner_id = fields.Many2one("res.partner", "Customer", readonly=True) - company_id = fields.Many2one("res.company", "Company", readonly=True) - user_from_partner_id = fields.Many2one( - "res.users", "Salesperson From Partner", readonly=True - ) - user_id = fields.Many2one("res.users", "Salesperson", readonly=True) - price_subtotal = fields.Float("Untaxed total delivered", readonly=True) - product_tmpl_id = fields.Many2one("product.template", "Product", readonly=True) - categ_id = fields.Many2one("product.category", "Product Category", readonly=True) - nbr = fields.Integer("# of Lines", readonly=True) - pricelist_id = fields.Many2one("product.pricelist", "Pricelist", readonly=True) - analytic_account_id = fields.Many2one( - "account.analytic.account", "Analytic Account", readonly=True - ) - team_id = fields.Many2one("crm.team", "Sales Team", readonly=True) - country_id = fields.Many2one("res.country", "Customer Country", readonly=True) - industry_id = fields.Many2one( - "res.partner.industry", "Customer Industry", readonly=True - ) - commercial_partner_id = fields.Many2one( - "res.partner", "Customer Entity", readonly=True - ) - state = fields.Selection( - [ - ("draft", "Draft Quotation"), - ("sent", "Quotation Sent"), - ("sale", "Sales Order"), - ("done", "Sales Done"), - ("cancel", "Cancelled"), - ], - string="Status", - readonly=True, - ) - weight = fields.Float("Gross Weight", readonly=True) - volume = fields.Float(readonly=True) - campaign_id = fields.Many2one("utm.campaign", "Campaign") - medium_id = fields.Many2one("utm.medium", "Medium") - source_id = fields.Many2one("utm.source", "Source") - order_id = fields.Many2one("sale.order", "Order", readonly=True) - picking_id = fields.Many2one("stock.picking", "Picking", readonly=True) - amount_cost = fields.Float("Amount cost", readonly=True) - margin = fields.Float("Margin delivered", readonly=True) - margin_percent = fields.Float(string="Margin delivered(%)", readonly=True) - - def _select(self): - select_str = """ - SELECT - min(sub.id) AS id, - sub.product_id, - sub.template_name, - sub.product_uom, - count(*) as nbr, - sub.order_name as name, - sub.date, - sub.state, - sub.partner_id, - sub.user_from_partner_id, - sub.user_id, - sub.company_id, - sub.campaign_id, - sub.medium_id, - sub.source_id, - sub.categ_id, - sub.pricelist_id, - sub.analytic_account_id , - sub.team_id, - sub.product_tmpl_id, - sub.country_id, - sub.industry_id, - sub.commercial_partner_id, - sum(signed_qty * sub.weight) as weight, - sum(signed_qty * sub.volume) as volume, - sub.order_id, - sub.picking_id, - sum(signed_qty * unsigned_product_uom_qty) AS product_uom_qty, - sum(signed_qty * unsigned_price_subtotal) AS price_subtotal, - CASE - WHEN BOOL_OR(sub.amount_cost is not NULL) - THEN sum(-sub.amount_cost) - ELSE sum( - signed_qty * ROUND( - sub.unsigned_purchase_price * unsigned_product_uom_qty, - sub.decimal_places - ) - ) - END AS amount_cost, - CASE - WHEN BOOL_OR(sub.amount_cost is not NULL) - THEN sum( - signed_qty * unsigned_price_subtotal + COALESCE( - sub.amount_cost, 0.0 - ) - ) - ELSE sum( - signed_qty * unsigned_price_subtotal - ( - signed_qty * ROUND( - sub.unsigned_purchase_price * unsigned_product_uom_qty, - sub.decimal_places - ) - ) - ) - END AS margin, - 0 AS margin_percent - """ - return select_str - - def _sub_select_signed_qty(self): - """Sub select to calculate the cases for the signed quantity""" - return """ - WHEN source_location.usage = 'internal' AND dest_location.usage = 'customer' - THEN 1 - WHEN source_location.usage = 'customer' AND dest_location.usage = 'internal' - THEN -1 - WHEN source_location.usage = 'supplier' AND dest_location.usage = 'customer' - THEN 1 - WHEN source_location.usage = 'customer' AND dest_location.usage = 'supplier' - THEN -1 - """ - - def _sub_select(self): - sub_select_str = """ - SELECT - sol.id AS id, - sol.product_id as product_id, - t.name as template_name, - t.uom_id as product_uom, - cur.decimal_places, - CASE - WHEN dest_location.usage IS NULL - THEN 1 - {sub_select_signed_qty} - ELSE 0 - END AS signed_qty, - (CASE - WHEN t.type IN ('product', 'consu') - THEN ABS(COALESCE(-svl.quantity, sm.quantity_done, 0.0)) - ELSE sol.product_uom_qty END - ) / u.factor * u2.factor as unsigned_product_uom_qty, - ROUND(ABS(COALESCE( - -svl.quantity * sol.price_reduce, - sm.quantity_done * sol.price_reduce, - sol.price_subtotal)) / - CASE COALESCE(s.currency_rate, 0) - WHEN 0 THEN 1.0 ELSE s.currency_rate END, cur.decimal_places) - as unsigned_price_subtotal, - s.name as order_name, - COALESCE(sm.date, s.effective_date, s.date_order) as date, - s.state as state, - s.partner_id as partner_id, - s.user_id as user_id, - s.company_id as company_id, - s.campaign_id as campaign_id, - s.medium_id as medium_id, - s.source_id as source_id, - t.categ_id as categ_id, - s.pricelist_id as pricelist_id, - s.analytic_account_id as analytic_account_id, - s.team_id as team_id, - p.product_tmpl_id, - partner.user_id as user_from_partner_id, - partner.country_id as country_id, - partner.industry_id as industry_id, - partner.commercial_partner_id as commercial_partner_id, - p.weight * sm.quantity_done / u.factor * u2.factor as weight, - p.volume * sm.quantity_done / u.factor * u2.factor as volume, - s.id as order_id, - sp.id as picking_id, - sol.purchase_price AS unsigned_purchase_price, - ROUND(svl.value, cur.decimal_places) AS amount_cost - """.format( - sub_select_signed_qty=self._sub_select_signed_qty() - ) - return sub_select_str - - def _from(self): - from_str = """ - FROM sale_order_line sol - LEFT JOIN stock_move sm ON (sol.id = sm.sale_line_id) - join sale_order s on (sol.order_id=s.id) - join res_partner partner on s.partner_id = partner.id - left join product_product p on (sol.product_id=p.id) - left join product_template t on (p.product_tmpl_id=t.id) - left join uom_uom u on (u.id=sol.product_uom) - left join uom_uom u2 on (u2.id=t.uom_id) - left join product_pricelist pp on (s.pricelist_id = pp.id) - LEFT JOIN - stock_location dest_location ON sm.location_dest_id = dest_location.id - LEFT JOIN - stock_location source_location ON sm.location_id = source_location.id - LEFT JOIN stock_valuation_layer svl ON svl.stock_move_id = sm.id - LEFT JOIN stock_picking sp ON sp.id = sm.picking_id - LEFT JOIN res_currency as cur ON cur.id = sol.currency_id - """ - return from_str - - def _sub_where(self): - """ - Take into account only stock moves from: - - Outgoing: Internal to Customer - Returns: Customer to Internal + to_refund - Dropship: Supplier to Customer - Dropship return: Customer to Supplier - """ - return """ - ( - source_location.usage = 'internal' AND - dest_location.usage = 'customer' - ) OR - ( - source_location.usage = 'customer' AND - dest_location.usage = 'internal' AND - sm.to_refund - ) OR - ( - source_location.usage = 'supplier' AND - dest_location.usage = 'customer' AND - svl.quantity < 0 - ) OR - ( - source_location.usage = 'customer' AND - dest_location.usage = 'supplier' AND - svl.quantity > 0 - ) - """ - - def _where(self): - """Where clause with only done mvoes or without state""" - return """ - WHERE (sm.quantity_done <> 0.0) AND - (sm.state = 'done' OR sm.state IS NULL) AND - ({sub_where}) - """.format( - sub_where=self._sub_where() - ) - - def _group_by(self): - group_by_str = """ - GROUP BY sub.product_id, - sub.template_name, - sub.order_id, - sub.picking_id, - sub.product_uom, - sub.categ_id, - sub.order_name, - sub.date, - sub.partner_id, - sub.user_from_partner_id, - sub.user_id, - sub.state, - sub.company_id, - sub.campaign_id, - sub.medium_id, - sub.source_id, - sub.pricelist_id, - sub.analytic_account_id, - sub.team_id, - sub.product_tmpl_id, - sub.country_id, - sub.industry_id, - sub.commercial_partner_id - """ - return group_by_str - - def init(self): - tools.drop_view_if_exists(self.env.cr, self._table) - self.env.cr.execute( - """CREATE or REPLACE VIEW %s AS ( - %s - FROM ( - %s %s %s - ) AS sub %s)""", - ( - AsIs(self._table), - AsIs(self._select()), - AsIs(self._sub_select()), - AsIs(self._from()), - AsIs(self._where()), - AsIs(self._group_by()), - ), - ) - - @api.model - def read_group( - self, domain, fields, groupby, offset=0, limit=None, orderby=False, lazy=True - ): - res = super().read_group( - domain, - fields, - groupby, - offset=offset, - limit=limit, - orderby=orderby, - lazy=lazy, - ) - if "margin_percent:sum" not in fields: - return res - full_fields = all(x in fields for x in {"price_subtotal:sum", "margin:sum"}) - for line in res: - if full_fields and line["price_subtotal"]: - line["margin_percent"] = (line["margin"] / line["price_subtotal"]) * 100 - return res diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/security/ir.model.access.csv b/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/security/ir.model.access.csv deleted file mode 100644 index bdc5ae78..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/security/ir.model.access.csv +++ /dev/null @@ -1,3 +0,0 @@ -id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -access_sale_report_delivered_manager,sale.report.delivered,model_sale_report_delivered,sales_team.group_sale_manager,1,1,1,1 -access_sale_report_delivered_salesman,sale.report.delivered,model_sale_report_delivered,sales_team.group_sale_salesman,1,0,0,0 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/security/sale_report_security.xml b/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/security/sale_report_security.xml deleted file mode 100644 index f9835c11..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/security/sale_report_security.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - Personal Delivered Analysis - - ['|',('user_id','=',user.id),('user_id','=',False)] - - - - - All Delivered Analysis - - [(1, '=', 1)] - - - diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/static/description/icon.png b/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/static/description/icon.png deleted file mode 100644 index 3a0328b5..00000000 Binary files a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/static/description/icon.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/static/description/index.html b/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/static/description/index.html deleted file mode 100644 index 0b4a1fdf..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/static/description/index.html +++ /dev/null @@ -1,442 +0,0 @@ - - - - - -Sale Report Delivered - - - -
-

Sale Report Delivered

- - -

Beta License: AGPL-3 OCA/sale-reporting Translate me on Weblate Try me on Runboat

-

Adds subtotal price based on the delivered quantities field to the -Sales Report.

-

This module takes in consideration Outgoing, Returns and Dropship.

-

Table of contents

- -
-

Usage

-

Go to Sales > Reporting > Sales from deliveries and you’ll find the new Total Price -Delivered measure.

-
-
-

Bug Tracker

-

Bugs are tracked on GitHub Issues. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

-

Do not contact contributors directly about support or help with technical issues.

-
-
-

Credits

-
-

Authors

-
    -
  • Tecnativa
  • -
-
-
-

Contributors

-
    -
  • Tecnativa:

    -
    -
      -
    • Sergio Teruel
    • -
    • Carlos Dauden
    • -
    -
    -
  • -
  • Eduardo de Miguel (Moduon)

    -
  • -
-
-
-

Maintainers

-

This module is maintained by the OCA.

- -Odoo Community Association - -

OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use.

-

Current maintainer:

-

sergio-teruel

-

This module is part of the OCA/sale-reporting project on GitHub.

-

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

-
-
-
- - diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/tests/__init__.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/tests/__init__.py deleted file mode 100644 index 5b278603..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/tests/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import test_sale_report_delivered diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/tests/test_sale_report_delivered.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/tests/test_sale_report_delivered.py deleted file mode 100644 index 98931fe3..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/tests/test_sale_report_delivered.py +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 2022 Tecnativa - Víctor Martínez -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - -from odoo.tests import Form, common, new_test_user -from odoo.tests.common import users - - -class TestSaleReportDeliveredBase(common.TransactionCase): - @classmethod - def setUpClass(cls): - super().setUpClass() - cls.company = cls.env.company - cls.admin = cls.env.ref("base.user_admin") - cls.pricelist = cls.env["product.pricelist"].create( - { - "name": "Test pricelist", - "currency_id": cls.company.currency_id.id, - } - ) - cls.partner = cls.env["res.partner"].create( - {"name": "Test partner", "property_product_pricelist": cls.pricelist.id} - ) - cls.user = new_test_user( - cls.env, - login="test_user-sale_report_delivered", - name="test_user-one", - groups="sales_team.group_sale_manager", - ) - group_sale_manager = cls.env.ref("sales_team.group_sale_manager") - group_sale_manager.write({"users": [(4, cls.admin.id)]}) - - cls.product = cls.env["product.product"].create( - {"name": "Test product", "type": "product", "list_price": 10} - ) - cls._create_stock_quant(cls, cls.product) - cls.service = cls.env["product.product"].create( - {"name": "Test service", "type": "service", "list_price": 10} - ) - cls.order_1 = cls._create_order(cls, cls.product) - cls.order_2 = cls._create_order(cls, cls.service) - cls.orders = cls.order_1 + cls.order_2 - cls.orders.action_confirm() - cls.orders.picking_ids.action_confirm() - cls.orders.picking_ids.move_ids.write({"quantity_done": 1.0}) - cls.orders.picking_ids.button_validate() - - def _create_stock_quant(self, product): - res = product.action_update_quantity_on_hand() - quant_form = Form( - self.env["stock.quant"].with_context(**res["context"]), - view="stock.view_stock_quant_tree_inventory_editable", - ) - quant_form.inventory_quantity = 1 - quant_form.location_id = self.env.ref("stock.stock_location_stock") - return quant_form.save() - - def _create_order(self, product): - order_form = Form(self.env["sale.order"]) - order_form.partner_id = self.partner - with order_form.order_line.new() as line_form: - line_form.product_id = product - line_form.product_uom_qty = 1 - return order_form.save() - - -class TestSaleReportDelivered(TestSaleReportDeliveredBase): - @users("admin", "test_user-sale_report_delivered") - def test_sale_report_delivered_misc(self): - items = self.env["sale.report.delivered"].search( - [("order_id", "in", self.orders.ids)] - ) - self.assertIn(self.order_1, items.mapped("order_id")) - self.assertNotIn(self.order_2, items.mapped("order_id")) - self.assertIn(self.order_1.picking_ids, items.mapped("picking_id")) - self.assertIn(self.product, items.mapped("product_id")) - self.assertNotIn(self.service, items.mapped("product_id")) - - def _test_sale_report_delivered_read_group(self): - self.product.stock_valuation_layer_ids.value = 1 - res = self.env["sale.report.delivered"].read_group( - domain=[("order_id", "in", self.orders.ids)], - fields=[ - "order_id", - "margin_percent:sum", - "price_subtotal:sum", - "margin:sum", - ], - groupby=["order_id"], - ) - self.assertAlmostEqual(res[0]["margin_percent"], 100.00) - - @users("admin") - def test_sale_report_delivered_read_group_admin(self): - self._test_sale_report_delivered_read_group() - - @users("test_user-sale_report_delivered") - def test_sale_report_delivered_read_group(self): - self._test_sale_report_delivered_read_group() diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/views/sale_report_delivered_views.xml b/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/views/sale_report_delivered_views.xml deleted file mode 100644 index d0b6de73..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered/sale_report_delivered/views/sale_report_delivered_views.xml +++ /dev/null @@ -1,150 +0,0 @@ - - - - - sale.report.delivered.pivot - sale.report.delivered - - - - - - - - - - - - - sale.report.delivered.graph - sale.report.delivered - - - - - - - - - - sale.report.delivered.search - sale.report.delivered - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Sales Analysis From Deliveries - sale.report.delivered - graph,pivot - - - {'search_default_Sales':1, 'group_by_no_leaf':1,'group_by':[], 'search_default_year':1} - This report performs analysis on your sales orders from deliveries. Analysis check your sales revenues and sort it by different group criteria (salesman, partner, product, etc.) Use this report to perform analysis on sales not having invoiced yet. If you want to analyse your turnover, you should use the Invoice Analysis report in the Accounting application. - - - - - diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/README.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/README.md deleted file mode 100644 index 7d8f2937..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/README.md +++ /dev/null @@ -1,47 +0,0 @@ -# Sale Report Delivered - Attribute Values - -Odoo addon: sale_report_delivered_attribute_values - -## Installation - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values -``` - -## Dependencies - -This addon depends on: -- sale_report_delivered -- sale_order_line_product_attribute_values - -## Manifest Information - -- **Name**: Sale Report Delivered - Attribute Values -- **Version**: 16.0.1.0.1 -- **Category**: Sales -- **License**: AGPL-3 -- **Installable**: True - -## Source - -Based on [OCA/sale-reporting](https://github.com/OCA/sale-reporting) branch 16.0, addon `sale_report_delivered_attribute_values`. - -## License - -This package maintains the original AGPL-3 license from the upstream Odoo project. - -## 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/ARCHITECTURE.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/ARCHITECTURE.md deleted file mode 100644 index c2a47981..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/ARCHITECTURE.md +++ /dev/null @@ -1,32 +0,0 @@ -# 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 Sale_report_delivered_attribute_values Module - sale_report_delivered_attribute_values - 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/CONFIGURATION.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/CONFIGURATION.md deleted file mode 100644 index 5e61a602..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/CONFIGURATION.md +++ /dev/null @@ -1,3 +0,0 @@ -# Configuration - -Refer to Odoo settings for sale_report_delivered_attribute_values. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/CONTROLLERS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/CONTROLLERS.md deleted file mode 100644 index f628e770..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/CONTROLLERS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Controllers - -This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/DEPENDENCIES.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/DEPENDENCIES.md deleted file mode 100644 index 7576ff17..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/DEPENDENCIES.md +++ /dev/null @@ -1,6 +0,0 @@ -# Dependencies - -This addon depends on: - -- [sale_report_delivered](https://github.com/bringout/oca-technical) -- [sale_order_line_product_attribute_values](https://github.com/bringout/oca-workflow-process) diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/FAQ.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/FAQ.md deleted file mode 100644 index 471bf283..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/FAQ.md +++ /dev/null @@ -1,4 +0,0 @@ -# FAQ - -- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). -- Q: How to enable? A: Start server with --addon sale_report_delivered_attribute_values or install in UI. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/INSTALL.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/INSTALL.md deleted file mode 100644 index 4650686f..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/INSTALL.md +++ /dev/null @@ -1,7 +0,0 @@ -# Install - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values" -# or -uv pip install odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values" -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/MODELS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/MODELS.md deleted file mode 100644 index 264d9b62..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/MODELS.md +++ /dev/null @@ -1,11 +0,0 @@ -# Models - -Detected core models and extensions in sale_report_delivered_attribute_values. - -```mermaid -classDiagram -``` - -Notes -- Classes show model technical names; fields omitted for brevity. -- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/OVERVIEW.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/OVERVIEW.md deleted file mode 100644 index 6bef8c20..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/OVERVIEW.md +++ /dev/null @@ -1,6 +0,0 @@ -# Overview - -Packaged Odoo addon: sale_report_delivered_attribute_values. Provides features documented in upstream Odoo 16 under this addon. - -- Source: OCA/OCB 16.0, addon sale_report_delivered_attribute_values -- License: LGPL-3 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/REPORTS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/REPORTS.md deleted file mode 100644 index 5e00a988..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/REPORTS.md +++ /dev/null @@ -1,25 +0,0 @@ -# Reports - -Report definitions and templates in sale_report_delivered_attribute_values. - -```mermaid -classDiagram - class SaleReportDelivered - Model <|-- SaleReportDelivered -``` - -## Available Reports - -No named reports found in XML files. - - -## Report Files - -- **__init__.py** (Python logic) -- **sale_report.py** (Python logic) - -## Notes -- Named reports above are accessible through Odoo's reporting menu -- Python files define report logic and data processing -- XML files contain report templates, definitions, and formatting -- Reports are integrated with Odoo's printing and email systems diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/SECURITY.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/SECURITY.md deleted file mode 100644 index e07da9da..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/SECURITY.md +++ /dev/null @@ -1,8 +0,0 @@ -# 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/TROUBLESHOOTING.md deleted file mode 100644 index 56853cb7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/TROUBLESHOOTING.md +++ /dev/null @@ -1,5 +0,0 @@ -# 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/USAGE.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/USAGE.md deleted file mode 100644 index af4f6aee..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/USAGE.md +++ /dev/null @@ -1,7 +0,0 @@ -# Usage - -Start Odoo including this addon (from repo root): - -```bash -python3 scripts/nix_odoo_web_server.py --db-name mydb --addon sale_report_delivered_attribute_values -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/WIZARDS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/WIZARDS.md deleted file mode 100644 index 48e790dc..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/doc/WIZARDS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Wizards - -This module does not include UI wizards. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/pyproject.toml b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/pyproject.toml deleted file mode 100644 index c83d3476..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/pyproject.toml +++ /dev/null @@ -1,43 +0,0 @@ -[project] -name = "odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values" -version = "16.0.0" -description = "Sale Report Delivered - Attribute Values - Allow to view Attribute values of Lines on Sale Report Delivered" -authors = [ - { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } -] -dependencies = [ - "odoo-bringout-oca-sale-reporting-sale_report_delivered>=16.0.0", - "odoo-bringout-oca-sale-reporting-sale_order_line_product_attribute_values>=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 = ["sale_report_delivered_attribute_values"] - -[tool.rye] -managed = true -dev-dependencies = [ - "pytest>=8.4.1", -] diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/README.rst b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/README.rst deleted file mode 100644 index 753e518c..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/README.rst +++ /dev/null @@ -1,120 +0,0 @@ -======================================== -Sale Report Delivered - Attribute Values -======================================== - -.. - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:4cb5dc130361ca6e54aa14bba4bac0f724eb73b7771edc8e832d51d0179907d8 - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png - :target: https://odoo-community.org/page/development-status - :alt: Alpha -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--reporting-lightgray.png?logo=github - :target: https://github.com/OCA/sale-reporting/tree/16.0/sale_report_delivered_attribute_values - :alt: OCA/sale-reporting -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-reporting-16-0/sale-reporting-16-0-sale_report_delivered_attribute_values - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-reporting&target_branch=16.0 - :alt: Try me on Runboat - -|badge1| |badge2| |badge3| |badge4| |badge5| - -This module extends the functionality of Sale Report Delivered to -support view Attribute Values and to allow you to have a better view of -Deliveries. - -.. IMPORTANT:: - This is an alpha version, the data model and design can change at any time without warning. - Only for development or testing purpose, do not use in production. - `More details on development status `_ - -**Table of contents** - -.. contents:: - :local: - -Use Cases / Context -=================== - -This module was developed because we want to show Attribute Values on -Sale Report Delivered report. - -It will be useful for you if want to analyize information of your -Attribute Values. - -Usage -===== - -To use this module, you need to: - -1. Go to Sales and create and send products with Attribute Values -2. Go to Sale Delivered Report -3. Check Attribute Values can be filtered and grouped -4. Check Attributes can be filtered - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -------- - -* Moduon - -Contributors ------------- - -- Eduardo de Miguel (`Moduon `__) - -Other credits -------------- - -The development of this module has been financially supported by: - -- Comercial Ulzama - -Maintainers ------------ - -This module is maintained by the OCA. - -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org - -OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use. - -.. |maintainer-Shide| image:: https://github.com/Shide.png?size=40px - :target: https://github.com/Shide - :alt: Shide -.. |maintainer-rafaelbn| image:: https://github.com/rafaelbn.png?size=40px - :target: https://github.com/rafaelbn - :alt: rafaelbn - -Current `maintainers `__: - -|maintainer-Shide| |maintainer-rafaelbn| - -This module is part of the `OCA/sale-reporting `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/__init__.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/__init__.py deleted file mode 100644 index 4c4f242f..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import report diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/__manifest__.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/__manifest__.py deleted file mode 100644 index f2ece16a..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/__manifest__.py +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2025 Moduon Team S.L. -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) - -{ - "name": "Sale Report Delivered - Attribute Values", - "summary": "Allow to view Attribute values of Lines on Sale Report Delivered", - "version": "16.0.1.0.1", - "development_status": "Alpha", - "category": "Sales", - "website": "https://github.com/OCA/sale-reporting", - "author": "Moduon, Odoo Community Association (OCA)", - "maintainers": ["Shide", "rafaelbn"], - "license": "AGPL-3", - "application": False, - "installable": True, - "auto_install": True, - "depends": [ - "sale_report_delivered", - "sale_order_line_product_attribute_values", - ], - "data": [ - "views/sale_report_delivered_views.xml", - ], -} diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/i18n/bs.po b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/i18n/bs.po deleted file mode 100644 index 01eea1a0..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/i18n/bs.po +++ /dev/null @@ -1,47 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_delivered_attribute_values -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_report_delivered_attribute_values -#: model:ir.model.fields,help:sale_report_delivered_attribute_values.field_sale_report_delivered__all_product_attribute_value_ids -msgid "" -"All Product Attribute Values used directly or indirecly for this line.\n" -"Contains information about increased price, html color, etc." -msgstr "" - -#. module: sale_report_delivered_attribute_values -#: model_terms:ir.ui.view,arch_db:sale_report_delivered_attribute_values.view_sale_report_delivered_search -msgid "Attribue Value" -msgstr "Attribue Value" - -#. module: sale_report_delivered_attribute_values -#: model_terms:ir.ui.view,arch_db:sale_report_delivered_attribute_values.view_sale_report_delivered_search -msgid "Attribute" -msgstr "Atribut" - -#. module: sale_report_delivered_attribute_values -#: model:ir.model.fields,field_description:sale_report_delivered_attribute_values.field_sale_report_delivered__all_product_attribute_value_ids -#: model_terms:ir.ui.view,arch_db:sale_report_delivered_attribute_values.view_sale_report_delivered_search -msgid "Attribute Values" -msgstr "Vrijednosti značajki" - -#. module: sale_report_delivered_attribute_values -#: model:ir.model.fields,field_description:sale_report_delivered_attribute_values.field_sale_report_delivered__sale_line_id -msgid "Sale Line" -msgstr "Stavka prodaje" - -#. module: sale_report_delivered_attribute_values -#: model:ir.model,name:sale_report_delivered_attribute_values.model_sale_report_delivered -msgid "Sales Delivered Analysis Report" -msgstr "Sales Delivered Analysis Report" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/i18n/es.po b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/i18n/es.po deleted file mode 100644 index f6e10ea3..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/i18n/es.po +++ /dev/null @@ -1,54 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_delivered_attribute_values -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-14 12:17+0000\n" -"PO-Revision-Date: 2025-02-14 13:18+0100\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: es\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 3.4.4\n" - -#. module: sale_report_delivered_attribute_values -#: model:ir.model.fields,help:sale_report_delivered_attribute_values.field_sale_report_delivered__all_product_attribute_value_ids -msgid "" -"All Product Attribute Values used directly or indirecly for this line.\n" -"Contains information about increased price, html color, etc." -msgstr "" -"Todos los Valores de Atributos de Producto utilizados directamente o " -"indirectamente en esta línea.\n" -"Contiene información sobre el incremento de precio, color html, etc." - -#. module: sale_report_delivered_attribute_values -#: model_terms:ir.ui.view,arch_db:sale_report_delivered_attribute_values.view_sale_report_delivered_search -msgid "Attribue Value" -msgstr "Valor de atributo" - -#. module: sale_report_delivered_attribute_values -#: model_terms:ir.ui.view,arch_db:sale_report_delivered_attribute_values.view_sale_report_delivered_search -msgid "Attribute" -msgstr "Atributo" - -#. module: sale_report_delivered_attribute_values -#: model:ir.model.fields,field_description:sale_report_delivered_attribute_values.field_sale_report_delivered__all_product_attribute_value_ids -#: model_terms:ir.ui.view,arch_db:sale_report_delivered_attribute_values.view_sale_report_delivered_search -msgid "Attribute Values" -msgstr "Valores de atributo" - -#. module: sale_report_delivered_attribute_values -#: model:ir.model.fields,field_description:sale_report_delivered_attribute_values.field_sale_report_delivered__sale_line_id -msgid "Sale Line" -msgstr "Línea de venta" - -#. module: sale_report_delivered_attribute_values -#: model:ir.model,name:sale_report_delivered_attribute_values.model_sale_report_delivered -msgid "Sales Delivered Analysis Report" -msgstr "Análisis de ventas" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/i18n/it.po b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/i18n/it.po deleted file mode 100644 index dc046ed9..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/i18n/it.po +++ /dev/null @@ -1,53 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_delivered_attribute_values -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2025-02-18 12:06+0000\n" -"Last-Translator: mymage \n" -"Language-Team: none\n" -"Language: it\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 5.6.2\n" - -#. module: sale_report_delivered_attribute_values -#: model:ir.model.fields,help:sale_report_delivered_attribute_values.field_sale_report_delivered__all_product_attribute_value_ids -msgid "" -"All Product Attribute Values used directly or indirecly for this line.\n" -"Contains information about increased price, html color, etc." -msgstr "" -"Tutti i valori degli attributi del prodotto utilizzati direttamente o " -"indirettamente per questa riga.\n" -"Contiene informazioni su prezzo aumentato, colore HTML, ecc." - -#. module: sale_report_delivered_attribute_values -#: model_terms:ir.ui.view,arch_db:sale_report_delivered_attribute_values.view_sale_report_delivered_search -msgid "Attribue Value" -msgstr "Valore attributo" - -#. module: sale_report_delivered_attribute_values -#: model_terms:ir.ui.view,arch_db:sale_report_delivered_attribute_values.view_sale_report_delivered_search -msgid "Attribute" -msgstr "Attributo" - -#. module: sale_report_delivered_attribute_values -#: model:ir.model.fields,field_description:sale_report_delivered_attribute_values.field_sale_report_delivered__all_product_attribute_value_ids -#: model_terms:ir.ui.view,arch_db:sale_report_delivered_attribute_values.view_sale_report_delivered_search -msgid "Attribute Values" -msgstr "Valori attributo" - -#. module: sale_report_delivered_attribute_values -#: model:ir.model.fields,field_description:sale_report_delivered_attribute_values.field_sale_report_delivered__sale_line_id -msgid "Sale Line" -msgstr "Riga di vendita" - -#. module: sale_report_delivered_attribute_values -#: model:ir.model,name:sale_report_delivered_attribute_values.model_sale_report_delivered -msgid "Sales Delivered Analysis Report" -msgstr "Resoconto analisi vendite consegnate" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/i18n/sale_report_delivered_attribute_values.pot b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/i18n/sale_report_delivered_attribute_values.pot deleted file mode 100644 index 6c01d5c4..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/i18n/sale_report_delivered_attribute_values.pot +++ /dev/null @@ -1,47 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_delivered_attribute_values -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_report_delivered_attribute_values -#: model:ir.model.fields,help:sale_report_delivered_attribute_values.field_sale_report_delivered__all_product_attribute_value_ids -msgid "" -"All Product Attribute Values used directly or indirecly for this line.\n" -"Contains information about increased price, html color, etc." -msgstr "" - -#. module: sale_report_delivered_attribute_values -#: model_terms:ir.ui.view,arch_db:sale_report_delivered_attribute_values.view_sale_report_delivered_search -msgid "Attribue Value" -msgstr "" - -#. module: sale_report_delivered_attribute_values -#: model_terms:ir.ui.view,arch_db:sale_report_delivered_attribute_values.view_sale_report_delivered_search -msgid "Attribute" -msgstr "" - -#. module: sale_report_delivered_attribute_values -#: model:ir.model.fields,field_description:sale_report_delivered_attribute_values.field_sale_report_delivered__all_product_attribute_value_ids -#: model_terms:ir.ui.view,arch_db:sale_report_delivered_attribute_values.view_sale_report_delivered_search -msgid "Attribute Values" -msgstr "" - -#. module: sale_report_delivered_attribute_values -#: model:ir.model.fields,field_description:sale_report_delivered_attribute_values.field_sale_report_delivered__sale_line_id -msgid "Sale Line" -msgstr "" - -#. module: sale_report_delivered_attribute_values -#: model:ir.model,name:sale_report_delivered_attribute_values.model_sale_report_delivered -msgid "Sales Delivered Analysis Report" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/readme/CONTEXT.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/readme/CONTEXT.md deleted file mode 100644 index 5bbc586f..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/readme/CONTEXT.md +++ /dev/null @@ -1,3 +0,0 @@ -This module was developed because we want to show Attribute Values on Sale Report Delivered report. - -It will be useful for you if want to analyize information of your Attribute Values. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/readme/CONTRIBUTORS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/readme/CONTRIBUTORS.md deleted file mode 100644 index 6388f286..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/readme/CONTRIBUTORS.md +++ /dev/null @@ -1,2 +0,0 @@ -- Eduardo de Miguel ([Moduon](https://www.moduon.team/)) - diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/readme/CREDITS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/readme/CREDITS.md deleted file mode 100644 index 72110911..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/readme/CREDITS.md +++ /dev/null @@ -1,3 +0,0 @@ -The development of this module has been financially supported by: - -- Comercial Ulzama diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/readme/DESCRIPTION.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/readme/DESCRIPTION.md deleted file mode 100644 index 2a2da382..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/readme/DESCRIPTION.md +++ /dev/null @@ -1 +0,0 @@ -This module extends the functionality of Sale Report Delivered to support view Attribute Values and to allow you to have a better view of Deliveries. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/readme/USAGE.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/readme/USAGE.md deleted file mode 100644 index 6c722d70..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/readme/USAGE.md +++ /dev/null @@ -1,6 +0,0 @@ -To use this module, you need to: - -1. Go to Sales and create and send products with Attribute Values -2. Go to Sale Delivered Report -3. Check Attribute Values can be filtered and grouped -4. Check Attributes can be filtered diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/report/__init__.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/report/__init__.py deleted file mode 100644 index cd23411b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/report/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import sale_report diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/report/sale_report.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/report/sale_report.py deleted file mode 100644 index 5febe2fc..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/report/sale_report.py +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 2025 Moduon Team S.L. -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) - -from odoo import fields, models - - -class SaleReportDelivered(models.Model): - _inherit = "sale.report.delivered" - - sale_line_id = fields.Many2one( - comodel_name="sale.order.line", - readonly=True, - ) - - # This table is not generated here because we are using the original table - # since the id of this report is the id of the sale order line - all_product_attribute_value_ids = fields.Many2many( - related="sale_line_id.all_product_attribute_value_ids", - relation="sale_order_line_all_product_attribute_value_rel", - column1="sale_order_line_id", - column2="product_attribute_value_id", - readonly=True, - store=True, # To allow grouping by this field - ) - - def _select(self): - """Add sale order line to the select query""" - res = super()._select() - res += ", sub.id as sale_line_id" - return res - - def _group_by(self): - """Add sale order line to the group by query""" - res = super()._group_by() - res += ", sub.id" - return res diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/static/description/icon.png b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/static/description/icon.png deleted file mode 100644 index 3a0328b5..00000000 Binary files a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/static/description/icon.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/static/description/index.html b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/static/description/index.html deleted file mode 100644 index 71b8fede..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/static/description/index.html +++ /dev/null @@ -1,460 +0,0 @@ - - - - - -Sale Report Delivered - Attribute Values - - - -
-

Sale Report Delivered - Attribute Values

- - -

Alpha License: AGPL-3 OCA/sale-reporting Translate me on Weblate Try me on Runboat

-

This module extends the functionality of Sale Report Delivered to -support view Attribute Values and to allow you to have a better view of -Deliveries.

-
-

Important

-

This is an alpha version, the data model and design can change at any time without warning. -Only for development or testing purpose, do not use in production. -More details on development status

-
-

Table of contents

- -
-

Use Cases / Context

-

This module was developed because we want to show Attribute Values on -Sale Report Delivered report.

-

It will be useful for you if want to analyize information of your -Attribute Values.

-
-
-

Usage

-

To use this module, you need to:

-
    -
  1. Go to Sales and create and send products with Attribute Values
  2. -
  3. Go to Sale Delivered Report
  4. -
  5. Check Attribute Values can be filtered and grouped
  6. -
  7. Check Attributes can be filtered
  8. -
-
-
-

Bug Tracker

-

Bugs are tracked on GitHub Issues. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

-

Do not contact contributors directly about support or help with technical issues.

-
-
-

Credits

-
-

Authors

-
    -
  • Moduon
  • -
-
-
-

Contributors

-
    -
  • Eduardo de Miguel (Moduon)
  • -
-
-
-

Other credits

-

The development of this module has been financially supported by:

-
    -
  • Comercial Ulzama
  • -
-
-
-

Maintainers

-

This module is maintained by the OCA.

- -Odoo Community Association - -

OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use.

-

Current maintainers:

-

Shide rafaelbn

-

This module is part of the OCA/sale-reporting project on GitHub.

-

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

-
-
-
- - diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/tests/__init__.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/tests/__init__.py deleted file mode 100644 index 8aec542a..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/tests/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import test_sale_report_delivered_attribute_values diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/tests/test_sale_report_delivered_attribute_values.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/tests/test_sale_report_delivered_attribute_values.py deleted file mode 100644 index 344ce7b7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/tests/test_sale_report_delivered_attribute_values.py +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright 2025 Moduon Team S.L. -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) - - -from odoo.fields import Command -from odoo.tests import Form, common - - -class TestSaleReportDeliveredAttributeValues(common.TransactionCase): - @classmethod - def setUpClass(cls): - super().setUpClass() - cls.partner = cls.env["res.partner"].create({"name": "Test Partner"}) - # Create product - cls.product_template = cls.env["product.template"].create( - { - "name": "Adidas Hoodie", - "type": "product", - "sale_ok": True, - } - ) - # Create attributes and attribute values - cls.trademark_attribute = cls.env["product.attribute"].create( - { - "name": "Trademark", - "display_type": "pills", - "create_variant": "no_variant", - "value_ids": [ - Command.create({"name": "Adidas"}), - ], - } - ) - cls.size_attribute = cls.env["product.attribute"].create( - { - "name": "Size", - "display_type": "pills", - "create_variant": "always", - "value_ids": [ - Command.create({"name": "M"}), - Command.create({"name": "L"}), - ], - } - ) - # Assign attributes to product template - cls.env["product.template.attribute.line"].create( - [ - { - "product_tmpl_id": cls.product_template.id, - "attribute_id": cls.trademark_attribute.id, - "value_ids": [Command.set(cls.trademark_attribute.value_ids.ids)], - }, - { - "product_tmpl_id": cls.product_template.id, - "attribute_id": cls.size_attribute.id, - "value_ids": [Command.set(cls.size_attribute.value_ids.ids)], - }, - ] - ) - # Create quants - for product in cls.product_template.product_variant_ids: - res = product.action_update_quantity_on_hand() - quant_form = Form( - cls.env["stock.quant"].with_context(**res["context"]), - view="stock.view_stock_quant_tree_inventory_editable", - ) - quant_form.inventory_quantity = 1 - quant_form.location_id = cls.env.ref("stock.stock_location_stock") - return quant_form.save() - - def _create_and_complete_order(self, product): - order_form = Form(self.env["sale.order"]) - order_form.partner_id = self.partner - with order_form.order_line.new() as line_form: - line_form.product_id = product - line_form.product_uom_qty = 1 - order = order_form.save() - order.action_confirm() - order.picking_ids.action_confirm() - order.picking_ids.move_ids.write({"quantity_done": 1.0}) - order.picking_ids.button_validate() - self.env.flush_all() - return order - - def test_report_delivered_attribute_values(self): - sale1 = self._create_and_complete_order( - self.product_template.product_variant_ids[0] - ) - sale2 = self._create_and_complete_order( - self.product_template.product_variant_ids[1] - ) - # Check order 1 - report_lines = self.env["sale.report.delivered"].search( - [ - ("order_id", "=", sale1.id), - ] - ) - self.assertEqual(len(report_lines), 1) - self.assertEqual(len(report_lines.all_product_attribute_value_ids), 2) - self.assertEqual( - report_lines.all_product_attribute_value_ids, - sale1.order_line.all_product_attribute_value_ids, - ) - self.assertEqual(report_lines.sale_line_id, sale1.order_line) - # Check order 2 - report_lines = self.env["sale.report.delivered"].search( - [ - ("order_id", "=", sale2.id), - ] - ) - self.assertEqual(len(report_lines), 1) - self.assertEqual(len(report_lines.all_product_attribute_value_ids), 2) - self.assertEqual( - report_lines.all_product_attribute_value_ids, - sale2.order_line.all_product_attribute_value_ids, - ) - self.assertEqual(report_lines.sale_line_id, sale2.order_line) - # Check attribute TRADEMARK value - report_lines = self.env["sale.report.delivered"].search( - [ - ( - "all_product_attribute_value_ids", - "in", - self.trademark_attribute.value_ids.ids, - ), - ] - ) - self.assertEqual(len(report_lines), 2) - # Check attribute SIZE value 1 - report_lines = self.env["sale.report.delivered"].search( - [ - ( - "all_product_attribute_value_ids", - "in", - self.size_attribute.value_ids[0].ids, - ), - ] - ) - self.assertEqual(len(report_lines), 1) - # Check attribute SIZE value 2 - report_lines = self.env["sale.report.delivered"].search( - [ - ( - "all_product_attribute_value_ids", - "in", - self.size_attribute.value_ids[1].ids, - ), - ] - ) - self.assertEqual(len(report_lines), 1) diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/views/sale_report_delivered_views.xml b/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/views/sale_report_delivered_views.xml deleted file mode 100644 index fc8a833e..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_attribute_values/sale_report_delivered_attribute_values/views/sale_report_delivered_views.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - sale.report.delivered.search - sale.report.delivered - - - - - - - - - - - - diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/README.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/README.md deleted file mode 100644 index 890dac98..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/README.md +++ /dev/null @@ -1,47 +0,0 @@ -# Sale Report Delivered - Deposit - -Odoo addon: sale_report_delivered_deposit - -## Installation - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit -``` - -## Dependencies - -This addon depends on: -- sale_report_delivered -- stock_customer_deposit - -## Manifest Information - -- **Name**: Sale Report Delivered - Deposit -- **Version**: 16.0.2.0.0 -- **Category**: Sales -- **License**: AGPL-3 -- **Installable**: True - -## Source - -Based on [OCA/sale-reporting](https://github.com/OCA/sale-reporting) branch 16.0, addon `sale_report_delivered_deposit`. - -## License - -This package maintains the original AGPL-3 license from the upstream Odoo project. - -## 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/ARCHITECTURE.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/ARCHITECTURE.md deleted file mode 100644 index dad8255b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/ARCHITECTURE.md +++ /dev/null @@ -1,32 +0,0 @@ -# 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 Sale_report_delivered_deposit Module - sale_report_delivered_deposit - 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/CONFIGURATION.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/CONFIGURATION.md deleted file mode 100644 index 6a757027..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/CONFIGURATION.md +++ /dev/null @@ -1,3 +0,0 @@ -# Configuration - -Refer to Odoo settings for sale_report_delivered_deposit. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/CONTROLLERS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/CONTROLLERS.md deleted file mode 100644 index f628e770..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/CONTROLLERS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Controllers - -This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/DEPENDENCIES.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/DEPENDENCIES.md deleted file mode 100644 index 03ef75e4..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/DEPENDENCIES.md +++ /dev/null @@ -1,6 +0,0 @@ -# Dependencies - -This addon depends on: - -- [sale_report_delivered](https://github.com/bringout/oca-technical) -- [stock_customer_deposit](https://github.com/bringout/oca-workflow-process) diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/FAQ.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/FAQ.md deleted file mode 100644 index 6ed7afdc..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/FAQ.md +++ /dev/null @@ -1,4 +0,0 @@ -# FAQ - -- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). -- Q: How to enable? A: Start server with --addon sale_report_delivered_deposit or install in UI. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/INSTALL.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/INSTALL.md deleted file mode 100644 index 53a8777d..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/INSTALL.md +++ /dev/null @@ -1,7 +0,0 @@ -# Install - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit" -# or -uv pip install odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit" -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/MODELS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/MODELS.md deleted file mode 100644 index 6f4f3981..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/MODELS.md +++ /dev/null @@ -1,11 +0,0 @@ -# Models - -Detected core models and extensions in sale_report_delivered_deposit. - -```mermaid -classDiagram -``` - -Notes -- Classes show model technical names; fields omitted for brevity. -- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/OVERVIEW.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/OVERVIEW.md deleted file mode 100644 index 513929c6..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/OVERVIEW.md +++ /dev/null @@ -1,6 +0,0 @@ -# Overview - -Packaged Odoo addon: sale_report_delivered_deposit. Provides features documented in upstream Odoo 16 under this addon. - -- Source: OCA/OCB 16.0, addon sale_report_delivered_deposit -- License: LGPL-3 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/REPORTS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/REPORTS.md deleted file mode 100644 index f54d72d7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/REPORTS.md +++ /dev/null @@ -1,25 +0,0 @@ -# Reports - -Report definitions and templates in sale_report_delivered_deposit. - -```mermaid -classDiagram - class Name - AbstractModel <|-- Name -``` - -## Available Reports - -No named reports found in XML files. - - -## Report Files - -- **__init__.py** (Python logic) -- **sale_report.py** (Python logic) - -## Notes -- Named reports above are accessible through Odoo's reporting menu -- Python files define report logic and data processing -- XML files contain report templates, definitions, and formatting -- Reports are integrated with Odoo's printing and email systems diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/SECURITY.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/SECURITY.md deleted file mode 100644 index e07da9da..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/SECURITY.md +++ /dev/null @@ -1,8 +0,0 @@ -# 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/TROUBLESHOOTING.md deleted file mode 100644 index 56853cb7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/TROUBLESHOOTING.md +++ /dev/null @@ -1,5 +0,0 @@ -# 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/USAGE.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/USAGE.md deleted file mode 100644 index 1e365573..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/USAGE.md +++ /dev/null @@ -1,7 +0,0 @@ -# Usage - -Start Odoo including this addon (from repo root): - -```bash -python3 scripts/nix_odoo_web_server.py --db-name mydb --addon sale_report_delivered_deposit -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/WIZARDS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/WIZARDS.md deleted file mode 100644 index 48e790dc..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/doc/WIZARDS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Wizards - -This module does not include UI wizards. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/pyproject.toml b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/pyproject.toml deleted file mode 100644 index e8e3c98f..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/pyproject.toml +++ /dev/null @@ -1,43 +0,0 @@ -[project] -name = "odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit" -version = "16.0.0" -description = "Sale Report Delivered - Deposit - Allow to view Customer Deposits on Sale Report Delivered" -authors = [ - { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } -] -dependencies = [ - "odoo-bringout-oca-sale-reporting-sale_report_delivered>=16.0.0", - "odoo-bringout-oca-sale-reporting-stock_customer_deposit>=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 = ["sale_report_delivered_deposit"] - -[tool.rye] -managed = true -dev-dependencies = [ - "pytest>=8.4.1", -] diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/README.rst b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/README.rst deleted file mode 100644 index 51503ee1..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/README.rst +++ /dev/null @@ -1,120 +0,0 @@ -=============================== -Sale Report Delivered - Deposit -=============================== - -.. - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:05c19bad73ebed077d749044beaac73ad885e44498d52a23567cdfb351d44e65 - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png - :target: https://odoo-community.org/page/development-status - :alt: Alpha -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--reporting-lightgray.png?logo=github - :target: https://github.com/OCA/sale-reporting/tree/16.0/sale_report_delivered_deposit - :alt: OCA/sale-reporting -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-reporting-16-0/sale-reporting-16-0-sale_report_delivered_deposit - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-reporting&target_branch=16.0 - :alt: Try me on Runboat - -|badge1| |badge2| |badge3| |badge4| |badge5| - -This module extends the functionality of Sale Report Delivered to -support view lines that comes from Customer Deposits and to allow you to -have a better view of Deliveries. - -.. IMPORTANT:: - This is an alpha version, the data model and design can change at any time without warning. - Only for development or testing purpose, do not use in production. - `More details on development status `_ - -**Table of contents** - -.. contents:: - :local: - -Use Cases / Context -=================== - -This module was developed because we want to show Customer Deposits on -Sale Report Delivered report. - -It will be useful for you if want to take into account customer -deposits. - -Usage -===== - -To use this module, you need to: - -1. Go to your Warehouse and activate Customer Deposits -2. Go to Sales and create and send a Customer Deposit -3. Go to Sale Delivered Report -4. Check the deposit is shown - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -------- - -* Moduon - -Contributors ------------- - -- Eduardo de Miguel (`Moduon `__) - -Other credits -------------- - -The development of this module has been financially supported by: - -- Comercial Ulzama - -Maintainers ------------ - -This module is maintained by the OCA. - -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org - -OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use. - -.. |maintainer-Shide| image:: https://github.com/Shide.png?size=40px - :target: https://github.com/Shide - :alt: Shide -.. |maintainer-rafaelbn| image:: https://github.com/rafaelbn.png?size=40px - :target: https://github.com/rafaelbn - :alt: rafaelbn - -Current `maintainers `__: - -|maintainer-Shide| |maintainer-rafaelbn| - -This module is part of the `OCA/sale-reporting `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/__init__.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/__init__.py deleted file mode 100644 index 4c4f242f..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import report diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/__manifest__.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/__manifest__.py deleted file mode 100644 index 13cb4cb9..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/__manifest__.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 2024 Moduon Team S.L. -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) - -{ - "name": "Sale Report Delivered - Deposit", - "summary": "Allow to view Customer Deposits on Sale Report Delivered", - "version": "16.0.2.0.0", - "development_status": "Alpha", - "category": "Sales", - "website": "https://github.com/OCA/sale-reporting", - "author": "Moduon, Odoo Community Association (OCA)", - "maintainers": ["Shide", "rafaelbn"], - "license": "AGPL-3", - "application": False, - "installable": True, - "auto_install": True, - "depends": [ - "sale_report_delivered", - "stock_customer_deposit", - ], - "data": [], -} diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/i18n/bs.po b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/i18n/bs.po deleted file mode 100644 index 01a617c7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/i18n/bs.po +++ /dev/null @@ -1,19 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_delivered_deposit -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_report_delivered_deposit -#: model:ir.model,name:sale_report_delivered_deposit.model_sale_report_delivered -msgid "Sales Delivered Analysis Report" -msgstr "Sales Delivered Analysis Report" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/i18n/it.po b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/i18n/it.po deleted file mode 100644 index 19647dbe..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/i18n/it.po +++ /dev/null @@ -1,22 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_delivered_deposit -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2024-10-31 01:06+0000\n" -"Last-Translator: mymage \n" -"Language-Team: none\n" -"Language: it\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 5.6.2\n" - -#. module: sale_report_delivered_deposit -#: model:ir.model,name:sale_report_delivered_deposit.model_sale_report_delivered -msgid "Sales Delivered Analysis Report" -msgstr "Resoconto analisi vendite consegnate" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/i18n/sale_report_delivered_deposit.pot b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/i18n/sale_report_delivered_deposit.pot deleted file mode 100644 index 7454bb8c..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/i18n/sale_report_delivered_deposit.pot +++ /dev/null @@ -1,19 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_delivered_deposit -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_report_delivered_deposit -#: model:ir.model,name:sale_report_delivered_deposit.model_sale_report_delivered -msgid "Sales Delivered Analysis Report" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/readme/CONTEXT.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/readme/CONTEXT.md deleted file mode 100644 index 5ea8dca6..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/readme/CONTEXT.md +++ /dev/null @@ -1,3 +0,0 @@ -This module was developed because we want to show Customer Deposits on Sale Report Delivered report. - -It will be useful for you if want to take into account customer deposits. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/readme/CONTRIBUTORS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/readme/CONTRIBUTORS.md deleted file mode 100644 index 6388f286..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/readme/CONTRIBUTORS.md +++ /dev/null @@ -1,2 +0,0 @@ -- Eduardo de Miguel ([Moduon](https://www.moduon.team/)) - diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/readme/CREDITS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/readme/CREDITS.md deleted file mode 100644 index 72110911..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/readme/CREDITS.md +++ /dev/null @@ -1,3 +0,0 @@ -The development of this module has been financially supported by: - -- Comercial Ulzama diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/readme/DESCRIPTION.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/readme/DESCRIPTION.md deleted file mode 100644 index e3a57f9b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/readme/DESCRIPTION.md +++ /dev/null @@ -1 +0,0 @@ -This module extends the functionality of Sale Report Delivered to support view lines that comes from Customer Deposits and to allow you to have a better view of Deliveries. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/readme/USAGE.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/readme/USAGE.md deleted file mode 100644 index d1de80c0..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/readme/USAGE.md +++ /dev/null @@ -1,6 +0,0 @@ -To use this module, you need to: - -1. Go to your Warehouse and activate Customer Deposits -2. Go to Sales and create and send a Customer Deposit -3. Go to Sale Delivered Report -4. Check the deposit is shown diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/report/__init__.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/report/__init__.py deleted file mode 100644 index cd23411b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/report/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import sale_report diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/report/sale_report.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/report/sale_report.py deleted file mode 100644 index f727bd2c..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/report/sale_report.py +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2024 Moduon Team S.L. -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) - -from odoo import models - - -class Name(models.AbstractModel): - _inherit = "sale.report.delivered" - - def _sub_select_signed_qty(self): - """Case for the signed quantity of Deposits""" - res = super()._sub_select_signed_qty() - deposit_sub_select_signed_qty = """ - WHEN ( - source_location.usage = 'internal' AND - dest_location.usage = 'internal' AND - s.customer_deposit is TRUE - ) - THEN 1 - """ - return res + deposit_sub_select_signed_qty - - def _sub_where(self): - """Add the case for Deposits""" - res = super()._sub_where() - deposit_sub_where = """ OR ( - source_location.usage = 'internal' AND - dest_location.usage = 'internal' AND - s.customer_deposit - )""" - return res + deposit_sub_where diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/static/description/icon.png b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/static/description/icon.png deleted file mode 100644 index 3a0328b5..00000000 Binary files a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/static/description/icon.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/static/description/index.html b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/static/description/index.html deleted file mode 100644 index f681b738..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/static/description/index.html +++ /dev/null @@ -1,460 +0,0 @@ - - - - - -Sale Report Delivered - Deposit - - - -
-

Sale Report Delivered - Deposit

- - -

Alpha License: AGPL-3 OCA/sale-reporting Translate me on Weblate Try me on Runboat

-

This module extends the functionality of Sale Report Delivered to -support view lines that comes from Customer Deposits and to allow you to -have a better view of Deliveries.

-
-

Important

-

This is an alpha version, the data model and design can change at any time without warning. -Only for development or testing purpose, do not use in production. -More details on development status

-
-

Table of contents

- -
-

Use Cases / Context

-

This module was developed because we want to show Customer Deposits on -Sale Report Delivered report.

-

It will be useful for you if want to take into account customer -deposits.

-
-
-

Usage

-

To use this module, you need to:

-
    -
  1. Go to your Warehouse and activate Customer Deposits
  2. -
  3. Go to Sales and create and send a Customer Deposit
  4. -
  5. Go to Sale Delivered Report
  6. -
  7. Check the deposit is shown
  8. -
-
-
-

Bug Tracker

-

Bugs are tracked on GitHub Issues. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

-

Do not contact contributors directly about support or help with technical issues.

-
-
-

Credits

-
-

Authors

-
    -
  • Moduon
  • -
-
-
-

Contributors

-
    -
  • Eduardo de Miguel (Moduon)
  • -
-
-
-

Other credits

-

The development of this module has been financially supported by:

-
    -
  • Comercial Ulzama
  • -
-
-
-

Maintainers

-

This module is maintained by the OCA.

- -Odoo Community Association - -

OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use.

-

Current maintainers:

-

Shide rafaelbn

-

This module is part of the OCA/sale-reporting project on GitHub.

-

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

-
-
-
- - diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/tests/__init__.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/tests/__init__.py deleted file mode 100644 index 75f0be52..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/tests/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import test_sale_report_delivered_deposit diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/tests/test_sale_report_delivered_deposit.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/tests/test_sale_report_delivered_deposit.py deleted file mode 100644 index 367cb0b8..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_deposit/sale_report_delivered_deposit/tests/test_sale_report_delivered_deposit.py +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 2024 Moduon Team S.L. -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) - -from odoo.tests.common import users - -from odoo.addons.sale_report_delivered.tests.test_sale_report_delivered import ( - TestSaleReportDeliveredBase, -) - - -class TestSaleReportDeliveredDeposit(TestSaleReportDeliveredBase): - @classmethod - def setUpClass(cls): - super().setUpClass() - cls.product_deposit = cls.env["product.product"].create( - {"name": "Test product Deposit", "type": "product", "list_price": 10} - ) - cls.deposit_wh = cls.env["stock.warehouse"].search( - [("company_id", "=", cls.company.id)] - ) - cls.deposit_wh.use_customer_deposits = True - cls._create_stock_quant(cls, cls.product_deposit) - cls.order_deposit = cls._create_order(cls, cls.product_deposit) - cls.order_deposit.customer_deposit = True - cls.order_deposit.action_confirm() - cls.order_deposit.picking_ids.action_confirm() - cls.order_deposit.picking_ids.move_ids.write({"quantity_done": 1.0}) - cls.order_deposit.picking_ids.button_validate() - - @users("admin", "test_user-sale_report_delivered") - def test_sale_report_delivered_deposit(self): - items = self.env["sale.report.delivered"].search( - [("order_id", "in", self.order_deposit.ids)] - ) - self.assertIn(self.order_deposit, items.mapped("order_id")) - self.assertIn(self.order_deposit.picking_ids, items.mapped("picking_id")) - self.assertIn(self.product_deposit, items.mapped("product_id")) - - def _test_sale_report_delivered_deposit_read_group(self): - self.product_deposit.stock_valuation_layer_ids.value = 1 - res = self.env["sale.report.delivered"].read_group( - domain=[("order_id", "in", self.order_deposit.ids)], - fields=[ - "order_id", - "margin_percent:sum", - "price_subtotal:sum", - "margin:sum", - ], - groupby=["order_id"], - ) - self.assertAlmostEqual(res[0]["margin_percent"], 100.00) - - @users("admin") - def test_sale_report_delivered_deposit_read_group_admin(self): - self._test_sale_report_delivered_deposit_read_group() - - @users("test_user-sale_report_delivered") - def test_sale_report_delivered_deposit_read_group(self): - self._test_sale_report_delivered_deposit_read_group() diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/README.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/README.md deleted file mode 100644 index 11875c98..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/README.md +++ /dev/null @@ -1,46 +0,0 @@ -# Sale Report Delivered subtotal - -Odoo addon: sale_report_delivered_subtotal - -## Installation - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal -``` - -## Dependencies - -This addon depends on: -- sale - -## Manifest Information - -- **Name**: Sale Report Delivered subtotal -- **Version**: 16.0.1.0.1 -- **Category**: Sales -- **License**: AGPL-3 -- **Installable**: True - -## Source - -Based on [OCA/sale-reporting](https://github.com/OCA/sale-reporting) branch 16.0, addon `sale_report_delivered_subtotal`. - -## License - -This package maintains the original AGPL-3 license from the upstream Odoo project. - -## 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/ARCHITECTURE.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/ARCHITECTURE.md deleted file mode 100644 index b38e9c74..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/ARCHITECTURE.md +++ /dev/null @@ -1,32 +0,0 @@ -# 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 Sale_report_delivered_subtotal Module - sale_report_delivered_subtotal - 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/CONFIGURATION.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/CONFIGURATION.md deleted file mode 100644 index 0a7df5ff..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/CONFIGURATION.md +++ /dev/null @@ -1,3 +0,0 @@ -# Configuration - -Refer to Odoo settings for sale_report_delivered_subtotal. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/CONTROLLERS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/CONTROLLERS.md deleted file mode 100644 index f628e770..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/CONTROLLERS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Controllers - -This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/DEPENDENCIES.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/DEPENDENCIES.md deleted file mode 100644 index 47e4ecf1..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/DEPENDENCIES.md +++ /dev/null @@ -1,5 +0,0 @@ -# Dependencies - -This addon depends on: - -- [sale](https://github.com/bringout/oca-ocb-sale/tree/681dc8d5fff638cb0862a34e48091a2098d091f8/odoo-bringout-oca-ocb-sale) diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/FAQ.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/FAQ.md deleted file mode 100644 index fbdc7c50..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/FAQ.md +++ /dev/null @@ -1,4 +0,0 @@ -# FAQ - -- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). -- Q: How to enable? A: Start server with --addon sale_report_delivered_subtotal or install in UI. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/INSTALL.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/INSTALL.md deleted file mode 100644 index 935accad..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/INSTALL.md +++ /dev/null @@ -1,7 +0,0 @@ -# Install - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal" -# or -uv pip install odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal" -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/MODELS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/MODELS.md deleted file mode 100644 index 97bb81bd..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/MODELS.md +++ /dev/null @@ -1,11 +0,0 @@ -# Models - -Detected core models and extensions in sale_report_delivered_subtotal. - -```mermaid -classDiagram -``` - -Notes -- Classes show model technical names; fields omitted for brevity. -- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/OVERVIEW.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/OVERVIEW.md deleted file mode 100644 index c8364a76..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/OVERVIEW.md +++ /dev/null @@ -1,6 +0,0 @@ -# Overview - -Packaged Odoo addon: sale_report_delivered_subtotal. Provides features documented in upstream Odoo 16 under this addon. - -- Source: OCA/OCB 16.0, addon sale_report_delivered_subtotal -- License: LGPL-3 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/REPORTS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/REPORTS.md deleted file mode 100644 index e0ea35fb..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/REPORTS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Reports - -This module does not define custom reports. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/SECURITY.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/SECURITY.md deleted file mode 100644 index e07da9da..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/SECURITY.md +++ /dev/null @@ -1,8 +0,0 @@ -# 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/TROUBLESHOOTING.md deleted file mode 100644 index 56853cb7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/TROUBLESHOOTING.md +++ /dev/null @@ -1,5 +0,0 @@ -# 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/USAGE.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/USAGE.md deleted file mode 100644 index 14eabc84..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/USAGE.md +++ /dev/null @@ -1,7 +0,0 @@ -# Usage - -Start Odoo including this addon (from repo root): - -```bash -python3 scripts/nix_odoo_web_server.py --db-name mydb --addon sale_report_delivered_subtotal -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/WIZARDS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/WIZARDS.md deleted file mode 100644 index 48e790dc..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/doc/WIZARDS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Wizards - -This module does not include UI wizards. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/pyproject.toml b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/pyproject.toml deleted file mode 100644 index a4b03327..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/pyproject.toml +++ /dev/null @@ -1,42 +0,0 @@ -[project] -name = "odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal" -version = "16.0.0" -description = "Sale Report Delivered subtotal - Odoo addon" -authors = [ - { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } -] -dependencies = [ - "odoo-bringout-oca-ocb-sale>=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 = ["sale_report_delivered_subtotal"] - -[tool.rye] -managed = true -dev-dependencies = [ - "pytest>=8.4.1", -] diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/README.rst b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/README.rst deleted file mode 100644 index 943d257d..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/README.rst +++ /dev/null @@ -1,95 +0,0 @@ -============================== -Sale Report Delivered subtotal -============================== - -.. - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:b5f07b8cb5a21c15f8a22e2768d61599dbd7e12a1862fd1259b1512fba3e567a - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png - :target: https://odoo-community.org/page/development-status - :alt: Production/Stable -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--reporting-lightgray.png?logo=github - :target: https://github.com/OCA/sale-reporting/tree/16.0/sale_report_delivered_subtotal - :alt: OCA/sale-reporting -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-reporting-16-0/sale-reporting-16-0-sale_report_delivered_subtotal - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-reporting&target_branch=16.0 - :alt: Try me on Runboat - -|badge1| |badge2| |badge3| |badge4| |badge5| - -Adds subtotal price based on the delivered quantities field to the -*Sales Report*. - -**Table of contents** - -.. contents:: - :local: - -Usage -===== - -Go to *Sales > Reporting* and you'll find *Untaxed Total Delivered* and *Gross Weight -Delivered* measures. - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -~~~~~~~ - -* Tecnativa - -Contributors -~~~~~~~~~~~~ - -* `Tecnativa `_: - - * Sergio Teruel - * David Vidal - * Alexandre Díaz - -Maintainers -~~~~~~~~~~~ - -This module is maintained by the OCA. - -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org - -OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use. - -.. |maintainer-sergio-teruel| image:: https://github.com/sergio-teruel.png?size=40px - :target: https://github.com/sergio-teruel - :alt: sergio-teruel - -Current `maintainer `__: - -|maintainer-sergio-teruel| - -This module is part of the `OCA/sale-reporting `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/__init__.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/__init__.py deleted file mode 100644 index 65323532..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import reports diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/__manifest__.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/__manifest__.py deleted file mode 100644 index 3dba362d..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/__manifest__.py +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 2018 Tecnativa - Sergio Teruel -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -{ - "name": "Sale Report Delivered subtotal", - "version": "16.0.1.0.1", - "author": "Tecnativa," "Odoo Community Association (OCA)", - "website": "https://github.com/OCA/sale-reporting", - "category": "Sales", - "license": "AGPL-3", - "depends": ["sale"], - "installable": True, - "development_status": "Production/Stable", - "maintainers": ["sergio-teruel"], -} diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/i18n/bs.po b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/i18n/bs.po deleted file mode 100644 index 31702b58..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/i18n/bs.po +++ /dev/null @@ -1,29 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_delivered_subtotal -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_report_delivered_subtotal -#: model:ir.model.fields,field_description:sale_report_delivered_subtotal.field_sale_report__weight_delivered -msgid "Gross Weight Delivered" -msgstr "Gross Weight Delivered" - -#. module: sale_report_delivered_subtotal -#: model:ir.model,name:sale_report_delivered_subtotal.model_sale_report -msgid "Sales Analysis Report" -msgstr "Izvještaj analize prodaje" - -#. module: sale_report_delivered_subtotal -#: model:ir.model.fields,field_description:sale_report_delivered_subtotal.field_sale_report__price_subtotal_delivered -msgid "Untaxed Total Delivered" -msgstr "Untaxed Total Delivered" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/i18n/es.po b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/i18n/es.po deleted file mode 100644 index 480167ec..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/i18n/es.po +++ /dev/null @@ -1,33 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_delivered_subtotal -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 13.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-20 07:15+0000\n" -"PO-Revision-Date: 2021-09-20 09:16+0200\n" -"Last-Translator: Ana Suárez \n" -"Language-Team: none\n" -"Language: es\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Poedit 3.0\n" - -#. module: sale_report_delivered_subtotal -#: model:ir.model.fields,field_description:sale_report_delivered_subtotal.field_sale_report__weight_delivered -msgid "Gross Weight Delivered" -msgstr "Peso Bruto Entregado" - -#. module: sale_report_delivered_subtotal -#: model:ir.model,name:sale_report_delivered_subtotal.model_sale_report -msgid "Sales Analysis Report" -msgstr "Informe Análisis de Ventas" - -#. module: sale_report_delivered_subtotal -#: model:ir.model.fields,field_description:sale_report_delivered_subtotal.field_sale_report__price_subtotal_delivered -msgid "Untaxed Total Delivered" -msgstr "Base imponible entregada" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/i18n/it.po b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/i18n/it.po deleted file mode 100644 index 4a7fd8a9..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/i18n/it.po +++ /dev/null @@ -1,32 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_delivered_subtotal -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2024-05-03 16:34+0000\n" -"Last-Translator: mymage \n" -"Language-Team: none\n" -"Language: it\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" - -#. module: sale_report_delivered_subtotal -#: model:ir.model.fields,field_description:sale_report_delivered_subtotal.field_sale_report__weight_delivered -msgid "Gross Weight Delivered" -msgstr "Peso lordo consegnato" - -#. module: sale_report_delivered_subtotal -#: model:ir.model,name:sale_report_delivered_subtotal.model_sale_report -msgid "Sales Analysis Report" -msgstr "Resoconto analisi vendite" - -#. module: sale_report_delivered_subtotal -#: model:ir.model.fields,field_description:sale_report_delivered_subtotal.field_sale_report__price_subtotal_delivered -msgid "Untaxed Total Delivered" -msgstr "Totale consegnato tasse escluse" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/i18n/sale_report_delivered_subtotal.pot b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/i18n/sale_report_delivered_subtotal.pot deleted file mode 100644 index 3fd392f4..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/i18n/sale_report_delivered_subtotal.pot +++ /dev/null @@ -1,29 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_delivered_subtotal -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_report_delivered_subtotal -#: model:ir.model.fields,field_description:sale_report_delivered_subtotal.field_sale_report__weight_delivered -msgid "Gross Weight Delivered" -msgstr "" - -#. module: sale_report_delivered_subtotal -#: model:ir.model,name:sale_report_delivered_subtotal.model_sale_report -msgid "Sales Analysis Report" -msgstr "" - -#. module: sale_report_delivered_subtotal -#: model:ir.model.fields,field_description:sale_report_delivered_subtotal.field_sale_report__price_subtotal_delivered -msgid "Untaxed Total Delivered" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/readme/CONTRIBUTORS.rst deleted file mode 100644 index 0f925aa7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,5 +0,0 @@ -* `Tecnativa `_: - - * Sergio Teruel - * David Vidal - * Alexandre Díaz diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/readme/DESCRIPTION.rst b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/readme/DESCRIPTION.rst deleted file mode 100644 index cd96ba4c..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/readme/DESCRIPTION.rst +++ /dev/null @@ -1,2 +0,0 @@ -Adds subtotal price based on the delivered quantities field to the -*Sales Report*. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/readme/USAGE.rst b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/readme/USAGE.rst deleted file mode 100644 index 9e8ef635..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/readme/USAGE.rst +++ /dev/null @@ -1,2 +0,0 @@ -Go to *Sales > Reporting* and you'll find *Untaxed Total Delivered* and *Gross Weight -Delivered* measures. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/reports/__init__.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/reports/__init__.py deleted file mode 100644 index cd23411b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/reports/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import sale_report diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/reports/sale_report.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/reports/sale_report.py deleted file mode 100644 index bc62f4e9..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/reports/sale_report.py +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 2018 Tecnativa - Sergio Teruel -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - -from odoo import fields, models - - -class SaleReport(models.Model): - _inherit = "sale.report" - - price_subtotal_delivered = fields.Float(string="Untaxed Total Delivered") - weight_delivered = fields.Float("Gross Weight Delivered") - - def _select_additional_fields(self): - res = super()._select_additional_fields() - select_str_price = """ - sum( - CASE WHEN l.price_subtotal <> 0 - THEN (l.price_subtotal / l.product_uom_qty) - ELSE l.price_reduce - END - * l.qty_delivered) - """ - select_str_weight = """ - sum(p.weight * l.qty_delivered / u.factor * u2.factor) - """ - res.update( - { - "price_subtotal_delivered": select_str_price, - "weight_delivered": select_str_weight, - } - ) - return res diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/static/description/icon.png b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/static/description/icon.png deleted file mode 100644 index 3a0328b5..00000000 Binary files a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/static/description/icon.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/static/description/index.html b/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/static/description/index.html deleted file mode 100644 index cb4bf748..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_subtotal/sale_report_delivered_subtotal/static/description/index.html +++ /dev/null @@ -1,438 +0,0 @@ - - - - - - -Sale Report Delivered subtotal - - - -
-

Sale Report Delivered subtotal

- - -

Production/Stable License: AGPL-3 OCA/sale-reporting Translate me on Weblate Try me on Runboat

-

Adds subtotal price based on the delivered quantities field to the -Sales Report.

-

Table of contents

- -
-

Usage

-

Go to Sales > Reporting and you’ll find Untaxed Total Delivered and Gross Weight -Delivered measures.

-
-
-

Bug Tracker

-

Bugs are tracked on GitHub Issues. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

-

Do not contact contributors directly about support or help with technical issues.

-
-
-

Credits

-
-

Authors

-
    -
  • Tecnativa
  • -
-
-
-

Contributors

-
    -
  • Tecnativa:

    -
    -
      -
    • Sergio Teruel
    • -
    • David Vidal
    • -
    • Alexandre Díaz
    • -
    -
    -
  • -
-
-
-

Maintainers

-

This module is maintained by the OCA.

-Odoo Community Association -

OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use.

-

Current maintainer:

-

sergio-teruel

-

This module is part of the OCA/sale-reporting project on GitHub.

-

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

-
-
-
- - diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/README.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/README.md deleted file mode 100644 index 6de0592a..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/README.md +++ /dev/null @@ -1,46 +0,0 @@ -# Sale Report Delivered Volume - -Odoo addon: sale_report_delivered_volume - -## Installation - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_report_delivered_volume -``` - -## Dependencies - -This addon depends on: -- sale - -## Manifest Information - -- **Name**: Sale Report Delivered Volume -- **Version**: 16.0.1.0.0 -- **Category**: Sales -- **License**: AGPL-3 -- **Installable**: True - -## Source - -Based on [OCA/sale-reporting](https://github.com/OCA/sale-reporting) branch 16.0, addon `sale_report_delivered_volume`. - -## License - -This package maintains the original AGPL-3 license from the upstream Odoo project. - -## 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/ARCHITECTURE.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/ARCHITECTURE.md deleted file mode 100644 index 6e8b1af0..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/ARCHITECTURE.md +++ /dev/null @@ -1,32 +0,0 @@ -# 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 Sale_report_delivered_volume Module - sale_report_delivered_volume - 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/CONFIGURATION.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/CONFIGURATION.md deleted file mode 100644 index 764f36a5..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/CONFIGURATION.md +++ /dev/null @@ -1,3 +0,0 @@ -# Configuration - -Refer to Odoo settings for sale_report_delivered_volume. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/CONTROLLERS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/CONTROLLERS.md deleted file mode 100644 index f628e770..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/CONTROLLERS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Controllers - -This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/DEPENDENCIES.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/DEPENDENCIES.md deleted file mode 100644 index 47e4ecf1..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/DEPENDENCIES.md +++ /dev/null @@ -1,5 +0,0 @@ -# Dependencies - -This addon depends on: - -- [sale](https://github.com/bringout/oca-ocb-sale/tree/681dc8d5fff638cb0862a34e48091a2098d091f8/odoo-bringout-oca-ocb-sale) diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/FAQ.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/FAQ.md deleted file mode 100644 index ab1a2fc5..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/FAQ.md +++ /dev/null @@ -1,4 +0,0 @@ -# FAQ - -- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). -- Q: How to enable? A: Start server with --addon sale_report_delivered_volume or install in UI. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/INSTALL.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/INSTALL.md deleted file mode 100644 index 9defb4b2..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/INSTALL.md +++ /dev/null @@ -1,7 +0,0 @@ -# Install - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_report_delivered_volume" -# or -uv pip install odoo-bringout-oca-sale-reporting-sale_report_delivered_volume" -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/MODELS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/MODELS.md deleted file mode 100644 index 069a3505..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/MODELS.md +++ /dev/null @@ -1,12 +0,0 @@ -# Models - -Detected core models and extensions in sale_report_delivered_volume. - -```mermaid -classDiagram - class sale_report -``` - -Notes -- Classes show model technical names; fields omitted for brevity. -- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/OVERVIEW.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/OVERVIEW.md deleted file mode 100644 index 466a4005..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/OVERVIEW.md +++ /dev/null @@ -1,6 +0,0 @@ -# Overview - -Packaged Odoo addon: sale_report_delivered_volume. Provides features documented in upstream Odoo 16 under this addon. - -- Source: OCA/OCB 16.0, addon sale_report_delivered_volume -- License: LGPL-3 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/REPORTS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/REPORTS.md deleted file mode 100644 index e0ea35fb..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/REPORTS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Reports - -This module does not define custom reports. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/SECURITY.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/SECURITY.md deleted file mode 100644 index e07da9da..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/SECURITY.md +++ /dev/null @@ -1,8 +0,0 @@ -# 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/TROUBLESHOOTING.md deleted file mode 100644 index 56853cb7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/TROUBLESHOOTING.md +++ /dev/null @@ -1,5 +0,0 @@ -# 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/USAGE.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/USAGE.md deleted file mode 100644 index 6e6a0f8a..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/USAGE.md +++ /dev/null @@ -1,7 +0,0 @@ -# Usage - -Start Odoo including this addon (from repo root): - -```bash -python3 scripts/nix_odoo_web_server.py --db-name mydb --addon sale_report_delivered_volume -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/WIZARDS.md b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/WIZARDS.md deleted file mode 100644 index 48e790dc..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/doc/WIZARDS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Wizards - -This module does not include UI wizards. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/pyproject.toml b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/pyproject.toml deleted file mode 100644 index 61972f7e..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/pyproject.toml +++ /dev/null @@ -1,42 +0,0 @@ -[project] -name = "odoo-bringout-oca-sale-reporting-sale_report_delivered_volume" -version = "16.0.0" -description = "Sale Report Delivered Volume - Odoo addon" -authors = [ - { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } -] -dependencies = [ - "odoo-bringout-oca-ocb-sale>=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 = ["sale_report_delivered_volume"] - -[tool.rye] -managed = true -dev-dependencies = [ - "pytest>=8.4.1", -] diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/README.rst b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/README.rst deleted file mode 100644 index a23472df..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/README.rst +++ /dev/null @@ -1,85 +0,0 @@ -============================ -Sale Report Delivered Volume -============================ - -.. - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:a667693bb3badeef15771eae2bfb056219e4b80c2fbc1c61fef1227fadd688a6 - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png - :target: https://odoo-community.org/page/development-status - :alt: Production/Stable -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--reporting-lightgray.png?logo=github - :target: https://github.com/OCA/sale-reporting/tree/16.0/sale_report_delivered_volume - :alt: OCA/sale-reporting -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-reporting-16-0/sale-reporting-16-0-sale_report_delivered_volume - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-reporting&target_branch=16.0 - :alt: Try me on Runboat - -|badge1| |badge2| |badge3| |badge4| |badge5| - -This module adds the measure "Volume Delivered" in the sale report view. - -**Table of contents** - -.. contents:: - :local: - -Usage -===== - -#. Go to *Sales > Reporting > Sales*. -#. Add the "Volume Delivered" measure from your "Measures" dropdown in your analysis. - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -~~~~~~~ - -* Tecnativa - -Contributors -~~~~~~~~~~~~ - -* `Tecnativa `_: - - * Carlos Roca - * Carolina Fernandez - -Maintainers -~~~~~~~~~~~ - -This module is maintained by the OCA. - -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org - -OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use. - -This module is part of the `OCA/sale-reporting `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/__init__.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/__init__.py deleted file mode 100644 index 0650744f..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import models diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/__manifest__.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/__manifest__.py deleted file mode 100644 index c6352fb8..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/__manifest__.py +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 2022 Tecnativa - Carlos Roca -# Copyright 2023 Tecnativa - Carolina Fernandez -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - -{ - "name": "Sale Report Delivered Volume", - "version": "16.0.1.0.0", - "author": "Tecnativa, Odoo Community Association (OCA)", - "category": "Sales", - "development_status": "Production/Stable", - "license": "AGPL-3", - "website": "https://github.com/OCA/sale-reporting", - "depends": ["sale"], - "installable": True, -} diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/i18n/bs.po b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/i18n/bs.po deleted file mode 100644 index 3fb280e7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/i18n/bs.po +++ /dev/null @@ -1,24 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_delivered_volume -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_report_delivered_volume -#: model:ir.model,name:sale_report_delivered_volume.model_sale_report -msgid "Sales Analysis Report" -msgstr "Izvještaj analize prodaje" - -#. module: sale_report_delivered_volume -#: model:ir.model.fields,field_description:sale_report_delivered_volume.field_sale_report__volume_delivered -msgid "Volume Delivered" -msgstr "Volume Delivered" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/i18n/es.po b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/i18n/es.po deleted file mode 100644 index 6a8be1c0..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/i18n/es.po +++ /dev/null @@ -1,28 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_delivered_volume -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 13.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-05-06 09:48+0000\n" -"PO-Revision-Date: 2023-10-09 09:14+0000\n" -"Last-Translator: Ivorra78 \n" -"Language-Team: \n" -"Language: es\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" - -#. module: sale_report_delivered_volume -#: model:ir.model,name:sale_report_delivered_volume.model_sale_report -msgid "Sales Analysis Report" -msgstr "Informe de análisis de ventas" - -#. module: sale_report_delivered_volume -#: model:ir.model.fields,field_description:sale_report_delivered_volume.field_sale_report__volume_delivered -msgid "Volume Delivered" -msgstr "Volumen Entregado" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/i18n/it.po b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/i18n/it.po deleted file mode 100644 index e3e28558..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/i18n/it.po +++ /dev/null @@ -1,27 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_delivered_volume -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2023-12-12 11:34+0000\n" -"Last-Translator: mymage \n" -"Language-Team: none\n" -"Language: it\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" - -#. module: sale_report_delivered_volume -#: model:ir.model,name:sale_report_delivered_volume.model_sale_report -msgid "Sales Analysis Report" -msgstr "Resoconto analisi vendite" - -#. module: sale_report_delivered_volume -#: model:ir.model.fields,field_description:sale_report_delivered_volume.field_sale_report__volume_delivered -msgid "Volume Delivered" -msgstr "Volume consegnato" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/i18n/sale_report_delivered_volume.pot b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/i18n/sale_report_delivered_volume.pot deleted file mode 100644 index 2a4cda9e..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/i18n/sale_report_delivered_volume.pot +++ /dev/null @@ -1,24 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_delivered_volume -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_report_delivered_volume -#: model:ir.model,name:sale_report_delivered_volume.model_sale_report -msgid "Sales Analysis Report" -msgstr "" - -#. module: sale_report_delivered_volume -#: model:ir.model.fields,field_description:sale_report_delivered_volume.field_sale_report__volume_delivered -msgid "Volume Delivered" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/models/__init__.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/models/__init__.py deleted file mode 100644 index cd23411b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/models/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import sale_report diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/models/sale_report.py b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/models/sale_report.py deleted file mode 100644 index 8085360d..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/models/sale_report.py +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2022 Tecnativa - Carlos Roca -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - -from odoo import fields, models - - -class SaleReport(models.Model): - _inherit = "sale.report" - - volume_delivered = fields.Float(digits="Volume") - - def _select_additional_fields(self): - res = super()._select_additional_fields() - select_str_volume_delivered = """ - CASE - WHEN l.product_id IS NOT NULL THEN sum( - p.volume * l.qty_delivered / u.factor * u2.factor - ) - ELSE 0 - END - """ - res.update( - { - "volume_delivered": select_str_volume_delivered, - } - ) - return res diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/readme/CONTRIBUTORS.rst deleted file mode 100644 index b58b628f..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,4 +0,0 @@ -* `Tecnativa `_: - - * Carlos Roca - * Carolina Fernandez diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/readme/DESCRIPTION.rst b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/readme/DESCRIPTION.rst deleted file mode 100644 index 489c779a..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/readme/DESCRIPTION.rst +++ /dev/null @@ -1 +0,0 @@ -This module adds the measure "Volume Delivered" in the sale report view. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/readme/USAGE.rst b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/readme/USAGE.rst deleted file mode 100644 index 27b1fb96..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/readme/USAGE.rst +++ /dev/null @@ -1,2 +0,0 @@ -#. Go to *Sales > Reporting > Sales*. -#. Add the "Volume Delivered" measure from your "Measures" dropdown in your analysis. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/static/description/icon.png b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/static/description/icon.png deleted file mode 100644 index 3a0328b5..00000000 Binary files a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/static/description/icon.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/static/description/index.html b/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/static/description/index.html deleted file mode 100644 index 441e28cd..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_delivered_volume/sale_report_delivered_volume/static/description/index.html +++ /dev/null @@ -1,433 +0,0 @@ - - - - - - -Sale Report Delivered Volume - - - -
-

Sale Report Delivered Volume

- - -

Production/Stable License: AGPL-3 OCA/sale-reporting Translate me on Weblate Try me on Runboat

-

This module adds the measure “Volume Delivered” in the sale report view.

-

Table of contents

- -
-

Usage

-
    -
  1. Go to Sales > Reporting > Sales.
  2. -
  3. Add the “Volume Delivered” measure from your “Measures” dropdown in your analysis.
  4. -
-
-
-

Bug Tracker

-

Bugs are tracked on GitHub Issues. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

-

Do not contact contributors directly about support or help with technical issues.

-
-
-

Credits

-
-

Authors

-
    -
  • Tecnativa
  • -
-
-
-

Contributors

-
    -
  • Tecnativa:
      -
    • Carlos Roca
    • -
    • Carolina Fernandez
    • -
    -
  • -
-
-
-

Maintainers

-

This module is maintained by the OCA.

-Odoo Community Association -

OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use.

-

This module is part of the OCA/sale-reporting project on GitHub.

-

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

-
-
-
- - diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/README.md b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/README.md deleted file mode 100644 index 0f878be2..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/README.md +++ /dev/null @@ -1,46 +0,0 @@ -# Sale Report Salesperson From Partner - -Odoo addon: sale_report_salesperson_from_partner - -## Installation - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner -``` - -## Dependencies - -This addon depends on: -- sale - -## Manifest Information - -- **Name**: Sale Report Salesperson From Partner -- **Version**: 16.0.1.1.0 -- **Category**: Sales -- **License**: AGPL-3 -- **Installable**: True - -## Source - -Based on [OCA/sale-reporting](https://github.com/OCA/sale-reporting) branch 16.0, addon `sale_report_salesperson_from_partner`. - -## License - -This package maintains the original AGPL-3 license from the upstream Odoo project. - -## 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/ARCHITECTURE.md b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/ARCHITECTURE.md deleted file mode 100644 index f5143cd5..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/ARCHITECTURE.md +++ /dev/null @@ -1,32 +0,0 @@ -# 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 Sale_report_salesperson_from_partner Module - sale_report_salesperson_from_partner - 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/CONFIGURATION.md b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/CONFIGURATION.md deleted file mode 100644 index f9291f7b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/CONFIGURATION.md +++ /dev/null @@ -1,3 +0,0 @@ -# Configuration - -Refer to Odoo settings for sale_report_salesperson_from_partner. Configure related models, access rights, and options as needed. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/CONTROLLERS.md b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/CONTROLLERS.md deleted file mode 100644 index f628e770..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/CONTROLLERS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Controllers - -This module does not define custom HTTP controllers. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/DEPENDENCIES.md b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/DEPENDENCIES.md deleted file mode 100644 index 47e4ecf1..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/DEPENDENCIES.md +++ /dev/null @@ -1,5 +0,0 @@ -# Dependencies - -This addon depends on: - -- [sale](https://github.com/bringout/oca-ocb-sale/tree/681dc8d5fff638cb0862a34e48091a2098d091f8/odoo-bringout-oca-ocb-sale) diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/FAQ.md b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/FAQ.md deleted file mode 100644 index 8feb7081..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/FAQ.md +++ /dev/null @@ -1,4 +0,0 @@ -# FAQ - -- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged). -- Q: How to enable? A: Start server with --addon sale_report_salesperson_from_partner or install in UI. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/INSTALL.md b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/INSTALL.md deleted file mode 100644 index 0aa86e3d..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/INSTALL.md +++ /dev/null @@ -1,7 +0,0 @@ -# Install - -```bash -pip install odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner" -# or -uv pip install odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner" -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/MODELS.md b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/MODELS.md deleted file mode 100644 index 5fd4bb43..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/MODELS.md +++ /dev/null @@ -1,11 +0,0 @@ -# Models - -Detected core models and extensions in sale_report_salesperson_from_partner. - -```mermaid -classDiagram -``` - -Notes -- Classes show model technical names; fields omitted for brevity. -- Items listed under _inherit are extensions of existing models. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/OVERVIEW.md b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/OVERVIEW.md deleted file mode 100644 index 7d73bb8c..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/OVERVIEW.md +++ /dev/null @@ -1,6 +0,0 @@ -# Overview - -Packaged Odoo addon: sale_report_salesperson_from_partner. Provides features documented in upstream Odoo 16 under this addon. - -- Source: OCA/OCB 16.0, addon sale_report_salesperson_from_partner -- License: LGPL-3 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/REPORTS.md b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/REPORTS.md deleted file mode 100644 index 7bc9e72e..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/REPORTS.md +++ /dev/null @@ -1,25 +0,0 @@ -# Reports - -Report definitions and templates in sale_report_salesperson_from_partner. - -```mermaid -classDiagram - class SaleReport - Model <|-- SaleReport -``` - -## Available Reports - -No named reports found in XML files. - - -## Report Files - -- **__init__.py** (Python logic) -- **sale_report.py** (Python logic) - -## Notes -- Named reports above are accessible through Odoo's reporting menu -- Python files define report logic and data processing -- XML files contain report templates, definitions, and formatting -- Reports are integrated with Odoo's printing and email systems diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/SECURITY.md b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/SECURITY.md deleted file mode 100644 index e07da9da..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/SECURITY.md +++ /dev/null @@ -1,8 +0,0 @@ -# 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 diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/TROUBLESHOOTING.md b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/TROUBLESHOOTING.md deleted file mode 100644 index 56853cb7..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/TROUBLESHOOTING.md +++ /dev/null @@ -1,5 +0,0 @@ -# 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. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/USAGE.md b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/USAGE.md deleted file mode 100644 index 5ee7316f..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/USAGE.md +++ /dev/null @@ -1,7 +0,0 @@ -# Usage - -Start Odoo including this addon (from repo root): - -```bash -python3 scripts/nix_odoo_web_server.py --db-name mydb --addon sale_report_salesperson_from_partner -``` diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/WIZARDS.md b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/WIZARDS.md deleted file mode 100644 index 48e790dc..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/doc/WIZARDS.md +++ /dev/null @@ -1,3 +0,0 @@ -# Wizards - -This module does not include UI wizards. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/pyproject.toml b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/pyproject.toml deleted file mode 100644 index 446005e0..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/pyproject.toml +++ /dev/null @@ -1,42 +0,0 @@ -[project] -name = "odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner" -version = "16.0.0" -description = "Sale Report Salesperson From Partner - Odoo addon" -authors = [ - { name = "Ernad Husremovic", email = "hernad@bring.out.ba" } -] -dependencies = [ - "odoo-bringout-oca-ocb-sale>=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 = ["sale_report_salesperson_from_partner"] - -[tool.rye] -managed = true -dev-dependencies = [ - "pytest>=8.4.1", -] diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/README.rst b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/README.rst deleted file mode 100644 index 171ee5a1..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/README.rst +++ /dev/null @@ -1,87 +0,0 @@ -==================================== -Sale Report Salesperson From Partner -==================================== - -.. - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! This file is generated by oca-gen-addon-readme !! - !! changes will be overwritten. !! - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:25e8ade2df0057e6c9341a6aa4b6e5be47344b6eb18c6190476bcc488811a8de - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png - :target: https://odoo-community.org/page/development-status - :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--reporting-lightgray.png?logo=github - :target: https://github.com/OCA/sale-reporting/tree/16.0/sale_report_salesperson_from_partner - :alt: OCA/sale-reporting -.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-reporting-16-0/sale-reporting-16-0-sale_report_salesperson_from_partner - :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-reporting&target_branch=16.0 - :alt: Try me on Runboat - -|badge1| |badge2| |badge3| |badge4| |badge5| - -This module extends the sales report in Odoo to allow sales to be grouped by the sales -person assigned to the partner. - -**Table of contents** - -.. contents:: - :local: - -Bug Tracker -=========== - -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. - -Do not contact contributors directly about support or help with technical issues. - -Credits -======= - -Authors -~~~~~~~ - -* Tecnativa - -Contributors -~~~~~~~~~~~~ - -* `Tecnativa `_: - - * Pilar Vargas - -Maintainers -~~~~~~~~~~~ - -This module is maintained by the OCA. - -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org - -OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use. - -.. |maintainer-pilarvargas-tecnativa| image:: https://github.com/pilarvargas-tecnativa.png?size=40px - :target: https://github.com/pilarvargas-tecnativa - :alt: pilarvargas-tecnativa - -Current `maintainer `__: - -|maintainer-pilarvargas-tecnativa| - -This module is part of the `OCA/sale-reporting `_ project on GitHub. - -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/__init__.py b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/__init__.py deleted file mode 100644 index 4c4f242f..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import report diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/__manifest__.py b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/__manifest__.py deleted file mode 100644 index 9acf3b0c..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/__manifest__.py +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 2024 Tecnativa - Pilar Vargas -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -{ - "name": "Sale Report Salesperson From Partner", - "version": "16.0.1.1.0", - "author": "Tecnativa," "Odoo Community Association (OCA)", - "website": "https://github.com/OCA/sale-reporting", - "category": "Sales", - "license": "AGPL-3", - "data": ["views/sale_report_views.xml"], - "depends": ["sale"], - "maintainers": ["pilarvargas-tecnativa"], - "installable": True, - "application": False, -} diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/i18n/bs.po b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/i18n/bs.po deleted file mode 100644 index d17faec0..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/i18n/bs.po +++ /dev/null @@ -1,25 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_salesperson_from_partner -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_report_salesperson_from_partner -#: model:ir.model,name:sale_report_salesperson_from_partner.model_sale_report -msgid "Sales Analysis Report" -msgstr "Izvještaj analize prodaje" - -#. module: sale_report_salesperson_from_partner -#: model:ir.model.fields,field_description:sale_report_salesperson_from_partner.field_sale_report__user_from_partner_id -#: model_terms:ir.ui.view,arch_db:sale_report_salesperson_from_partner.view_order_product_search -msgid "Salesperson From Partner" -msgstr "Salesperson From Partner" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/i18n/es.po b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/i18n/es.po deleted file mode 100644 index 1a5964af..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/i18n/es.po +++ /dev/null @@ -1,35 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_salesperson_from_partner -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 15.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-29 07:18+0000\n" -"PO-Revision-Date: 2024-11-29 08:20+0100\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: es\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 3.4.2\n" - -#. module: sale_report_salesperson_from_partner -#: model:ir.model,name:sale_report_salesperson_from_partner.model_sale_report -msgid "Sales Analysis Report" -msgstr "Informe de análisis de ventas" - -#. module: sale_report_salesperson_from_partner -#: model:ir.model.fields,field_description:sale_report_salesperson_from_partner.field_sale_report__user_from_partner_id -#: model_terms:ir.ui.view,arch_db:sale_report_salesperson_from_partner.view_order_product_search -msgid "Salesperson From Partner" -msgstr "Comercial del cliente" - -#~ msgid "Sales Order" -#~ msgstr "Pedido de venta" - -#~ msgid "The internal user in charge of this contact." -#~ msgstr "El usuario interno a cargo de este contacto." diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/i18n/it.po b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/i18n/it.po deleted file mode 100644 index 3750b1aa..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/i18n/it.po +++ /dev/null @@ -1,28 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_salesperson_from_partner -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2024-12-09 10:06+0000\n" -"Last-Translator: mymage \n" -"Language-Team: none\n" -"Language: it\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 5.6.2\n" - -#. module: sale_report_salesperson_from_partner -#: model:ir.model,name:sale_report_salesperson_from_partner.model_sale_report -msgid "Sales Analysis Report" -msgstr "Resoconto analisi vendite" - -#. module: sale_report_salesperson_from_partner -#: model:ir.model.fields,field_description:sale_report_salesperson_from_partner.field_sale_report__user_from_partner_id -#: model_terms:ir.ui.view,arch_db:sale_report_salesperson_from_partner.view_order_product_search -msgid "Salesperson From Partner" -msgstr "Venditore dal partner" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/i18n/sale_report_salesperson_from_partner.pot b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/i18n/sale_report_salesperson_from_partner.pot deleted file mode 100644 index 48db998c..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/i18n/sale_report_salesperson_from_partner.pot +++ /dev/null @@ -1,25 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_report_salesperson_from_partner -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: sale_report_salesperson_from_partner -#: model:ir.model,name:sale_report_salesperson_from_partner.model_sale_report -msgid "Sales Analysis Report" -msgstr "" - -#. module: sale_report_salesperson_from_partner -#: model:ir.model.fields,field_description:sale_report_salesperson_from_partner.field_sale_report__user_from_partner_id -#: model_terms:ir.ui.view,arch_db:sale_report_salesperson_from_partner.view_order_product_search -msgid "Salesperson From Partner" -msgstr "" diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/readme/CONTRIBUTORS.rst b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/readme/CONTRIBUTORS.rst deleted file mode 100644 index c1d7564b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,3 +0,0 @@ -* `Tecnativa `_: - - * Pilar Vargas diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/readme/DESCRIPTION.rst b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/readme/DESCRIPTION.rst deleted file mode 100644 index 6be59769..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/readme/DESCRIPTION.rst +++ /dev/null @@ -1,2 +0,0 @@ -This module extends the sales report in Odoo to allow sales to be grouped by the sales -person assigned to the partner. diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/report/__init__.py b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/report/__init__.py deleted file mode 100644 index cd23411b..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/report/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import sale_report diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/report/sale_report.py b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/report/sale_report.py deleted file mode 100644 index f063aaa5..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/report/sale_report.py +++ /dev/null @@ -1,21 +0,0 @@ -from odoo import fields, models - - -class SaleReport(models.Model): - _inherit = "sale.report" - - user_from_partner_id = fields.Many2one( - "res.users", - string="Salesperson From Partner", - readonly=True, - ) - - def _group_by_sale(self): - res = super()._group_by_sale() - res += """,partner.user_id""" - return res - - def _select_additional_fields(self): - res = super()._select_additional_fields() - res["user_from_partner_id"] = "partner.user_id" - return res diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/static/description/icon.png b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/static/description/icon.png deleted file mode 100644 index 3a0328b5..00000000 Binary files a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/static/description/icon.png and /dev/null differ diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/static/description/index.html b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/static/description/index.html deleted file mode 100644 index 8d0c4cda..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/static/description/index.html +++ /dev/null @@ -1,432 +0,0 @@ - - - - - -Sale Report Salesperson From Partner - - - -
-

Sale Report Salesperson From Partner

- - -

Beta License: AGPL-3 OCA/sale-reporting Translate me on Weblate Try me on Runboat

-

This module extends the sales report in Odoo to allow sales to be grouped by the sales -person assigned to the partner.

-

Table of contents

- -
-

Bug Tracker

-

Bugs are tracked on GitHub Issues. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

-

Do not contact contributors directly about support or help with technical issues.

-
-
-

Credits

-
-

Authors

-
    -
  • Tecnativa
  • -
-
-
-

Contributors

- -
-
-

Maintainers

-

This module is maintained by the OCA.

- -Odoo Community Association - -

OCA, or the Odoo Community Association, is a nonprofit organization whose -mission is to support the collaborative development of Odoo features and -promote its widespread use.

-

Current maintainer:

-

pilarvargas-tecnativa

-

This module is part of the OCA/sale-reporting project on GitHub.

-

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

-
-
-
- - diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/tests/__init__.py b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/tests/__init__.py deleted file mode 100644 index 2e9166ba..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/tests/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import test_sale_report_salesperson_from_partner diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/tests/test_sale_report_salesperson_from_partner.py b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/tests/test_sale_report_salesperson_from_partner.py deleted file mode 100644 index 7414c98a..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/tests/test_sale_report_salesperson_from_partner.py +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2024 Tecnativa - Pilar Vargas -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - -from odoo.tests import Form, new_test_user - -from odoo.addons.base.tests.common import BaseCommon - - -class SaleReportSalespersonFromPartner(BaseCommon): - @classmethod - def setUpClass(cls): - super().setUpClass() - cls.salesperson = new_test_user( - cls.env, - login="test_salesperson_from_partner", - groups="sales_team.group_sale_manager", - ) - cls.partner = cls.env["res.partner"].create( - { - "name": "Test Partner", - "user_id": cls.salesperson.id, - } - ) - cls.product = cls.env["product.product"].create({"name": "Test product"}) - cls.order = cls._create_order(cls, cls.product) - cls.order.action_confirm() - - def _create_order(self, product): - order_form = Form(self.env["sale.order"]) - order_form.partner_id = self.partner - with order_form.order_line.new() as line_form: - line_form.product_id = product - line_form.product_uom_qty = 1 - return order_form.save() - - def test_sale_report_user_from_partner_id(self): - sale_report = self.env["sale.report"].search( - [("user_from_partner_id", "=", self.salesperson.id)], limit=1 - ) - self.assertTrue(sale_report) - self.assertEqual( - sale_report.user_from_partner_id, - self.salesperson, - ) - self.assertEqual( - sale_report.order_id, - self.order, - ) diff --git a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/views/sale_report_views.xml b/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/views/sale_report_views.xml deleted file mode 100644 index 7c39b377..00000000 --- a/odoo-bringout-oca-sale-reporting-sale_report_salesperson_from_partner/sale_report_salesperson_from_partner/views/sale_report_views.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - sale.report - - - - - - - - - -