Skip to content
Open
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
80 changes: 80 additions & 0 deletions analytic_account_direct_ship/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

============================
Analytic Account Direct Ship
============================

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

.. |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/license-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-qrtl%2Faxls--custom-lightgray.png?logo=github
:target: https://github.com/qrtl/axls-custom/tree/16.0/analytic_account_direct_ship
:alt: qrtl/axls-custom

|badge1| |badge2| |badge3|

This module adds a **Direct Ship** (即出庫) flag to analytic accounts.

The flag itself is the only thing this module provides. The automated
action that detects incoming transfers and reroutes them to the
immediate shipment location is configured separately in Odoo's Automated
Actions settings — this module simply supplies the field for that action
to reference.

**Table of contents**

.. contents::
:local:

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

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

* Quartile Limited

Contributors
------------

- `Quartile <https://www.quartile.co>`__:

- Toshikimi Shigenobu

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

.. |maintainer-nobuQuartile| image:: https://github.com/nobuQuartile.png?size=40px
:target: https://github.com/nobuQuartile
:alt: nobuQuartile

Current maintainer:

|maintainer-nobuQuartile|

This module is part of the `qrtl/axls-custom <https://github.com/qrtl/axls-custom/tree/16.0/analytic_account_direct_ship>`_ project on GitHub.

You are welcome to contribute.
1 change: 1 addition & 0 deletions analytic_account_direct_ship/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
17 changes: 17 additions & 0 deletions analytic_account_direct_ship/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2026 Quartile Limited

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Copyright 2026 Quartile Limited
# Copyright 2026 Quartile (https://www.quartile.co)

# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
{
"name": "Analytic Account Direct Ship",
"summary": "Adds a direct shipment flag to analytic accounts",
"version": "16.0.1.0.0",
"author": "Quartile Limited",
"website": "https://www.quartile.co",
"maintainers": ["nobuQuartile"],
"category": "Inventory",
"license": "LGPL-3",
"depends": ["analytic"],
"data": [
"views/account_analytic_account_views.xml",
],
"installable": True,
}
1 change: 1 addition & 0 deletions analytic_account_direct_ship/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import account_analytic_account
14 changes: 14 additions & 0 deletions analytic_account_direct_ship/models/account_analytic_account.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2026 Quartile Limited
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).

from odoo import fields, models


class AccountAnalyticAccount(models.Model):
_inherit = "account.analytic.account"

is_direct_ship = fields.Boolean(
string="Direct Ship",
help="When enabled, incoming transfers for this analytic account are "
"automatically rerouted to the immediate shipment location.",
)
2 changes: 2 additions & 0 deletions analytic_account_direct_ship/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- [Quartile](https://www.quartile.co):
- Toshikimi Shigenobu
7 changes: 7 additions & 0 deletions analytic_account_direct_ship/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
This module adds a **Direct Ship** (即出庫) flag to analytic accounts.

The flag itself is the only thing this module provides. The automated
action that detects incoming transfers and reroutes them to the immediate
shipment location is configured separately in Odoo's Automated Actions
settings — this module simply supplies the field for that action to
reference.
Loading
Loading