Skip to content

Commit 5aa413c

Browse files
committed
[ADD] stock_release_channel_shipment_advice_cash_on_delivery: Add buttons on release channel kanban to print cash on delivery invoices
1 parent 1fcc6fb commit 5aa413c

File tree

13 files changed

+590
-0
lines changed

13 files changed

+590
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../stock_release_channel_shipment_advice_cash_on_delivery
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import setuptools
2+
3+
setuptools.setup(
4+
setup_requires=['setuptools-odoo'],
5+
odoo_addon=True,
6+
)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
======================================================
2+
Stock Release Channel Shipment Advice Cash on Delivery
3+
======================================================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:aae17766f9633eb8fcb4a5412e614dc4e8f0ba3cf65a8191d2baafeeb3a1b6ee
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwms-lightgray.png?logo=github
20+
:target: https://github.com/OCA/wms/tree/16.0/stock_release_channel_shipment_advice_cash_on_delivery
21+
:alt: OCA/wms
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/wms-16-0/wms-16-0-stock_release_channel_shipment_advice_cash_on_delivery
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/wms&target_branch=16.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module allows users to print cash on delivery invoices from
32+
a release channel.
33+
34+
**Table of contents**
35+
36+
.. contents::
37+
:local:
38+
39+
Bug Tracker
40+
===========
41+
42+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/wms/issues>`_.
43+
In case of trouble, please check there if your issue has already been reported.
44+
If you spotted it first, help us to smash it by providing a detailed and welcomed
45+
`feedback <https://github.com/OCA/wms/issues/new?body=module:%20stock_release_channel_shipment_advice_cash_on_delivery%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
46+
47+
Do not contact contributors directly about support or help with technical issues.
48+
49+
Credits
50+
=======
51+
52+
Authors
53+
~~~~~~~
54+
55+
* BCIM
56+
* ACSONE SA/NV
57+
* Camptocamp
58+
59+
Contributors
60+
~~~~~~~~~~~~
61+
62+
* Jacques-Etienne Baudoux <[email protected]>
63+
* Souheil Bejaoui <[email protected]>
64+
* Tuan Tran <[email protected]>
65+
66+
Other credits
67+
~~~~~~~~~~~~~
68+
69+
The creation of this module was financially supported by Camptocamp.
70+
71+
Maintainers
72+
~~~~~~~~~~~
73+
74+
This module is maintained by the OCA.
75+
76+
.. image:: https://odoo-community.org/logo.png
77+
:alt: Odoo Community Association
78+
:target: https://odoo-community.org
79+
80+
OCA, or the Odoo Community Association, is a nonprofit organization whose
81+
mission is to support the collaborative development of Odoo features and
82+
promote its widespread use.
83+
84+
This module is part of the `OCA/wms <https://github.com/OCA/wms/tree/16.0/stock_release_channel_shipment_advice_cash_on_delivery>`_ project on GitHub.
85+
86+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright 2018 Jacques-Etienne Baudoux (BCIM) <[email protected]>
2+
# Copyright 2023 ACSONE SA/NV
3+
# Copyright 2024 Camptocamp SA
4+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
5+
6+
{
7+
"name": "Stock Release Channel Shipment Advice Cash on Delivery",
8+
"summary": """This module allows users to print cash on delivery invoices
9+
from a release channel and a shipment advice""",
10+
"version": "16.0.1.0.0",
11+
"license": "AGPL-3",
12+
"author": "BCIM, ACSONE SA/NV, Camptocamp, Odoo Community Association (OCA)",
13+
"website": "https://github.com/OCA/wms",
14+
"depends": [
15+
"shipment_advice_cash_on_delivery",
16+
"stock_release_channel_shipment_advice",
17+
],
18+
"data": [
19+
"views/stock_release_channel.xml",
20+
],
21+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import stock_release_channel
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Copyright 2018 Jacques-Etienne Baudoux (BCIM) <[email protected]>
2+
# Copyright 2023 ACSONE SA/NV
3+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
4+
5+
from odoo import models
6+
7+
8+
class StockReleaseChannel(models.Model):
9+
_inherit = "stock.release.channel"
10+
11+
def action_print_cash_on_delivery_invoices(self):
12+
if self.shipment_advice_to_print_ids:
13+
return self.shipment_advice_to_print_ids.print_cash_on_delivery_invoices()
14+
return {}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
* Jacques-Etienne Baudoux <[email protected]>
2+
* Souheil Bejaoui <[email protected]>
3+
* Tuan Tran <[email protected]>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The creation of this module was financially supported by Camptocamp.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
This module allows users to print cash on delivery invoices from
2+
a release channel.

0 commit comments

Comments
 (0)