-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c7786e7
commit 1b1e866
Showing
29 changed files
with
728 additions
and
92 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,23 @@ | ||
# Do NOT update manually; changes here will be overwritten by Copier | ||
_commit: v1.14.1 | ||
_commit: v1.24 | ||
_src_path: https://github.com/OCA/oca-addons-repo-template.git | ||
ci: GitHub | ||
dependency_installation_mode: PIP | ||
convert_readme_fragments_to_markdown: false | ||
generate_requirements_txt: true | ||
github_check_license: true | ||
github_ci_extra_env: {} | ||
github_enable_codecov: true | ||
github_enable_codecov: false | ||
github_enable_makepot: false | ||
github_enable_stale_action: true | ||
github_enforce_dev_status_compatibility: true | ||
github_enable_stale_action: false | ||
github_enforce_dev_status_compatibility: false | ||
include_wkhtmltopdf: false | ||
odoo_test_flavor: OCB | ||
odoo_version: 10.0 | ||
org_name: Quartile Limited | ||
org_name: '' | ||
org_slug: qrtl | ||
rebel_module_groups: [] | ||
repo_description: PCI Custom | ||
repo_name: null | ||
repo_name: '' | ||
repo_slug: pci-custom | ||
repo_website: https://www.quartile.co | ||
travis_apt_packages: [] | ||
travis_apt_sources: [] | ||
|
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 was deleted.
Oops, something went wrong.
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,2 @@ | ||
[MESSAGES_CONTROL] | ||
disable=xml-deprecated-data-node,xml-deprecated-tree-attribute |
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
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 @@ | ||
__import__('pkg_resources').declare_namespace(__name__) |
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 @@ | ||
__import__('pkg_resources').declare_namespace(__name__) |
1 change: 1 addition & 0 deletions
1
setup/stock_shipment_schedule_report/odoo/addons/stock_shipment_schedule_report
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 @@ | ||
../../../../stock_shipment_schedule_report |
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,6 @@ | ||
import setuptools | ||
|
||
setuptools.setup( | ||
setup_requires=['setuptools-odoo'], | ||
odoo_addon=True, | ||
) |
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,4 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from . import wizards | ||
from . import reports |
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,23 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2017 Quartile Limited | ||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). | ||
{ | ||
"name": "Shipment Schedule Report", | ||
"summary": "", | ||
"version": "10.0.1.1.0", | ||
"category": "Reporting", | ||
"website": "https://www.quartile.co", | ||
"author": "Quartile Limited", | ||
"license": "LGPL-3", | ||
"installable": True, | ||
"depends": [ | ||
"sale_stock", | ||
"abstract_report_xlsx", | ||
"sale_order_dates_ext", | ||
"website_product_stock", | ||
], | ||
"data": [ | ||
"wizards/shipment_schedule_report_wizard_view.xml", | ||
"reports.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,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<record id="action_shipment_schedule_report_xlsx" model="ir.actions.report.xml"> | ||
<field name="name">Shipment Schedule Report</field> | ||
<field name="model">shipment.schedule.report</field> | ||
<field name="type">ir.actions.report.xml</field> | ||
<field name="report_name">stock_shipment_schedule_report.shipment_schedule_report</field> | ||
<field name="report_type">xlsx</field> | ||
<field name="auto" eval="False"/> | ||
</record> | ||
|
||
</odoo> |
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,6 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from . import shipment_schedule_report | ||
from . import shipment_schedule_report_line | ||
from . import shipment_schedule_report_compute | ||
from . import shipment_schedule_xlsx |
29 changes: 29 additions & 0 deletions
29
stock_shipment_schedule_report/reports/shipment_schedule_report.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,29 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2017 Quartile Limited | ||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). | ||
|
||
from odoo import models, fields | ||
|
||
|
||
class ShipmentScheduleReport(models.TransientModel): | ||
# class fields are defined here | ||
_name = 'shipment.schedule.report' | ||
|
||
threshold_date = fields.Date() | ||
limit_locs = fields.Boolean() | ||
website_published = fields.Boolean() | ||
categ_name = fields.Char() | ||
p2 = fields.Char() | ||
p3 = fields.Char() | ||
p4 = fields.Char() | ||
p5 = fields.Char() | ||
p6 = fields.Char() | ||
|
||
# # Data fields, used to browse report data | ||
categ_id = fields.Many2one( | ||
comodel_name='product.category', | ||
) | ||
line_ids = fields.One2many( | ||
comodel_name='shipment.schedule.report.line', | ||
inverse_name='report_id' | ||
) |
Oops, something went wrong.