Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions sale_view_adj/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
=====================
Sale View Adjustments
=====================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:48cc6329f4b378953bb6f56cb4ec78e04cc69a40627131b0bc853371e00ae69a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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-qrtl%2Fhls--custom-lightgray.png?logo=github
:target: https://github.com/qrtl/hls-custom/tree/18.0/sale_view_adj
:alt: qrtl/hls-custom

|badge1| |badge2| |badge3|

This module makes adjustments to sale related views.

It adds delivery date filters and list columns to sales order related
views.

The delivery date filters are implemented directly in the search views
because ``base_custom_filterr`` could not add date-style filters.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/qrtl/hls-custom/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/qrtl/hls-custom/issues/new?body=module:%20sale_view_adj%0Aversion:%2018.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
-------

* Quartile

Maintainers
-----------

This module is part of the `qrtl/hls-custom <https://github.com/qrtl/hls-custom/tree/18.0/sale_view_adj>`_ project on GitHub.

You are welcome to contribute.
3 changes: 3 additions & 0 deletions sale_view_adj/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models
14 changes: 14 additions & 0 deletions sale_view_adj/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2026 Quartile (https://www.quartile.co)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Sale View Adjustments",
"summary": "Adjust sales order views",
"version": "18.0.1.0.0",
"category": "Sale",
"website": "https://www.quartile.co",
"author": "Quartile",
"license": "AGPL-3",
"installable": True,
"depends": ["sale"],
"data": ["views/sale_order_views.xml", "views/sale_order_line_views.xml"],
}
24 changes: 24 additions & 0 deletions sale_view_adj/i18n/ja.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_view_adj
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-04-03 00:00+0000\n"
"PO-Revision-Date: 2026-04-03 00:00+0000\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_view_adj
#: model_terms:ir.ui.view,arch_db:sale_view_adj.sale_order_view_search_inherit_sale_commitment_date
#: model_terms:ir.ui.view,arch_db:sale_view_adj.sale_order_view_search_inherit_quotation_commitment_date
#: model_terms:ir.ui.view,arch_db:sale_view_adj.sale_order_line_tree_inherit_commitment_date
#: model_terms:ir.ui.view,arch_db:sale_view_adj.sale_order_line_view_search_inherit_commitment_date
msgid "Delivery Date"
msgstr "配送日"
3 changes: 3 additions & 0 deletions sale_view_adj/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import sale_order_line
14 changes: 14 additions & 0 deletions sale_view_adj/models/sale_order_line.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2026 Quartile (https://www.quartile.co)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from odoo import fields, models


class SaleOrderLine(models.Model):
_inherit = "sale.order.line"

commitment_date = fields.Datetime(
related="order_id.commitment_date",
store=True,
readonly=True,
)
3 changes: 3 additions & 0 deletions sale_view_adj/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
6 changes: 6 additions & 0 deletions sale_view_adj/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
This module makes adjustments to sale related views.

It adds delivery date filters and list columns to sales order related views.

The delivery date filters are implemented directly in the search views because
`base_custom_filterr` could not add date-style filters.
Loading
Loading