Skip to content

Commit b17ff42

Browse files
Murtaza-OSIJasminSForgeFlow
authored andcommitted
[16.0][MIG] account_payment_batch_process_discount
1 parent 1ecabda commit b17ff42

File tree

7 files changed

+54
-35
lines changed

7 files changed

+54
-35
lines changed

account_payment_batch_process_discount/README.rst

+16-10
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22
Discount on batch payments
33
==========================
44

5-
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
67
!! This file is generated by oca-gen-addon-readme !!
78
!! changes will be overwritten. !!
89
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:7c17d9c000b0c7ea83366b8152a1d91de9b8ca8e1932a7d2b0460c9cad09990a
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
912
1013
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1114
:target: https://odoo-community.org/page/development-status
@@ -14,16 +17,16 @@ Discount on batch payments
1417
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1518
:alt: License: AGPL-3
1619
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--payment-lightgray.png?logo=github
17-
:target: https://github.com/OCA/account-payment/tree/14.0/account_payment_batch_process_discount
20+
:target: https://github.com/OCA/account-payment/tree/16.0/account_payment_batch_process_discount
1821
:alt: OCA/account-payment
1922
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
20-
:target: https://translation.odoo-community.org/projects/account-payment-14-0/account-payment-14-0-account_payment_batch_process_discount
23+
:target: https://translation.odoo-community.org/projects/account-payment-16-0/account-payment-16-0-account_payment_batch_process_discount
2124
:alt: Translate me on Weblate
22-
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
23-
:target: https://runbot.odoo-community.org/runbot/96/14.0
24-
:alt: Try me on Runbot
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/account-payment&target_branch=16.0
27+
:alt: Try me on Runboat
2528

26-
|badge1| |badge2| |badge3| |badge4| |badge5|
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
2730

2831
This module allows you to define discounts for early payment and apply them on batch
2932
payments.
@@ -57,8 +60,8 @@ Bug Tracker
5760

5861
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-payment/issues>`_.
5962
In case of trouble, please check there if your issue has already been reported.
60-
If you spotted it first, help us smashing it by providing a detailed and welcomed
61-
`feedback <https://github.com/OCA/account-payment/issues/new?body=module:%20account_payment_batch_process_discount%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
63+
If you spotted it first, help us to smash it by providing a detailed and welcomed
64+
`feedback <https://github.com/OCA/account-payment/issues/new?body=module:%20account_payment_batch_process_discount%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
6265

6366
Do not contact contributors directly about support or help with technical issues.
6467

@@ -79,6 +82,9 @@ Contributors
7982
* Balaji Kannan <[email protected]>
8083
* Maxime Chambreuil <[email protected]>
8184

85+
* Camptocamp <https://www.camptocamp.com>
86+
* Denis Leemann <[email protected]>
87+
8288
Maintainers
8389
~~~~~~~~~~~
8490

@@ -100,6 +106,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
100106

101107
|maintainer-mgosai|
102108

103-
This module is part of the `OCA/account-payment <https://github.com/OCA/account-payment/tree/14.0/account_payment_batch_process_discount>`_ project on GitHub.
109+
This module is part of the `OCA/account-payment <https://github.com/OCA/account-payment/tree/16.0/account_payment_batch_process_discount>`_ project on GitHub.
104110

105111
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

account_payment_batch_process_discount/__manifest__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
33
{
44
"name": "Discount on batch payments",
5-
"version": "14.0.1.0.1",
5+
"version": "16.0.1.0.0",
66
"license": "AGPL-3",
77
"author": "Open Source Integrators, Odoo Community Association (OCA)",
88
"category": "Accounting & Finance",

account_payment_batch_process_discount/models/account_move.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class AccountMove(models.Model):
99
_inherit = "account.move"
1010

11-
valid_discount_date = fields.Date(string="Valid Discount Date")
11+
valid_discount_date = fields.Date()
1212

1313
def action_post(self):
1414
res = super().action_post()

account_payment_batch_process_discount/readme/CONTRIBUTORS.rst

+3
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33
* Mayank Gosai <[email protected]>
44
* Balaji Kannan <[email protected]>
55
* Maxime Chambreuil <[email protected]>
6+
7+
* Camptocamp <https://www.camptocamp.com>
8+
* Denis Leemann <[email protected]>

account_payment_batch_process_discount/static/description/index.html

+26-23
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
1-
<?xml version="1.0" encoding="utf-8" ?>
21
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
32
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
43
<head>
54
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6-
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
5+
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
76
<title>Discount on batch payments</title>
87
<style type="text/css">
98

109
/*
1110
:Author: David Goodger ([email protected])
12-
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
11+
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
1312
:Copyright: This stylesheet has been placed in the public domain.
1413
1514
Default cascading style sheet for the HTML output of Docutils.
1615
17-
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
16+
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1817
customize this style sheet.
1918
*/
2019

@@ -366,26 +365,28 @@ <h1 class="title">Discount on batch payments</h1>
366365
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367366
!! This file is generated by oca-gen-addon-readme !!
368367
!! changes will be overwritten. !!
368+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369+
!! source digest: sha256:7c17d9c000b0c7ea83366b8152a1d91de9b8ca8e1932a7d2b0460c9cad09990a
369370
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
370-
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/account-payment/tree/14.0/account_payment_batch_process_discount"><img alt="OCA/account-payment" src="https://img.shields.io/badge/github-OCA%2Faccount--payment-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/account-payment-14-0/account-payment-14-0-account_payment_batch_process_discount"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/96/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
371+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-payment/tree/16.0/account_payment_batch_process_discount"><img alt="OCA/account-payment" src="https://img.shields.io/badge/github-OCA%2Faccount--payment-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-payment-16-0/account-payment-16-0-account_payment_batch_process_discount"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-payment&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
371372
<p>This module allows you to define discounts for early payment and apply them on batch
372373
payments.</p>
373374
<p><strong>Table of contents</strong></p>
374375
<div class="contents local topic" id="contents">
375376
<ul class="simple">
376-
<li><a class="reference internal" href="#configuration" id="id1">Configuration</a></li>
377-
<li><a class="reference internal" href="#usage" id="id2">Usage</a></li>
378-
<li><a class="reference internal" href="#bug-tracker" id="id3">Bug Tracker</a></li>
379-
<li><a class="reference internal" href="#credits" id="id4">Credits</a><ul>
380-
<li><a class="reference internal" href="#authors" id="id5">Authors</a></li>
381-
<li><a class="reference internal" href="#contributors" id="id6">Contributors</a></li>
382-
<li><a class="reference internal" href="#maintainers" id="id7">Maintainers</a></li>
377+
<li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li>
378+
<li><a class="reference internal" href="#usage" id="toc-entry-2">Usage</a></li>
379+
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-3">Bug Tracker</a></li>
380+
<li><a class="reference internal" href="#credits" id="toc-entry-4">Credits</a><ul>
381+
<li><a class="reference internal" href="#authors" id="toc-entry-5">Authors</a></li>
382+
<li><a class="reference internal" href="#contributors" id="toc-entry-6">Contributors</a></li>
383+
<li><a class="reference internal" href="#maintainers" id="toc-entry-7">Maintainers</a></li>
383384
</ul>
384385
</li>
385386
</ul>
386387
</div>
387388
<div class="section" id="configuration">
388-
<h1><a class="toc-backref" href="#id1">Configuration</a></h1>
389+
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
389390
<ul class="simple">
390391
<li>Go to <em>Accounting &gt; Invoicing &gt; Payment Terms</em></li>
391392
<li>Select or create a payment term</li>
@@ -395,7 +396,7 @@ <h1><a class="toc-backref" href="#id1">Configuration</a></h1>
395396
</ul>
396397
</div>
397398
<div class="section" id="usage">
398-
<h1><a class="toc-backref" href="#id2">Usage</a></h1>
399+
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
399400
<ul class="simple">
400401
<li>Go to <em>Accounting &gt; Customers &gt; Invoices</em> or <em>Accounting &gt; Vendors &gt; Bills</em></li>
401402
<li>Select various open invoices or bills</li>
@@ -406,42 +407,44 @@ <h1><a class="toc-backref" href="#id2">Usage</a></h1>
406407
</ul>
407408
</div>
408409
<div class="section" id="bug-tracker">
409-
<h1><a class="toc-backref" href="#id3">Bug Tracker</a></h1>
410+
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
410411
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-payment/issues">GitHub Issues</a>.
411412
In case of trouble, please check there if your issue has already been reported.
412-
If you spotted it first, help us smashing it by providing a detailed and welcomed
413-
<a class="reference external" href="https://github.com/OCA/account-payment/issues/new?body=module:%20account_payment_batch_process_discount%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
413+
If you spotted it first, help us to smash it by providing a detailed and welcomed
414+
<a class="reference external" href="https://github.com/OCA/account-payment/issues/new?body=module:%20account_payment_batch_process_discount%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
414415
<p>Do not contact contributors directly about support or help with technical issues.</p>
415416
</div>
416417
<div class="section" id="credits">
417-
<h1><a class="toc-backref" href="#id4">Credits</a></h1>
418+
<h1><a class="toc-backref" href="#toc-entry-4">Credits</a></h1>
418419
<div class="section" id="authors">
419-
<h2><a class="toc-backref" href="#id5">Authors</a></h2>
420+
<h2><a class="toc-backref" href="#toc-entry-5">Authors</a></h2>
420421
<ul class="simple">
421422
<li>Open Source Integrators</li>
422423
</ul>
423424
</div>
424425
<div class="section" id="contributors">
425-
<h2><a class="toc-backref" href="#id6">Contributors</a></h2>
426+
<h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
426427
<ul class="simple">
427428
<li>Open Source Integrators &lt;<a class="reference external" href="https://www.opensourceintegrators.com">https://www.opensourceintegrators.com</a>&gt;<ul>
428429
<li>Mayank Gosai &lt;<a class="reference external" href="mailto:mgosai&#64;opensourceintegrators.com">mgosai&#64;opensourceintegrators.com</a>&gt;</li>
429430
<li>Balaji Kannan &lt;<a class="reference external" href="mailto:bkannan&#64;opensourceintegrators.com">bkannan&#64;opensourceintegrators.com</a>&gt;</li>
430431
<li>Maxime Chambreuil &lt;<a class="reference external" href="mailto:mchambreuil&#64;opensourceintegrators.com">mchambreuil&#64;opensourceintegrators.com</a>&gt;</li>
431432
</ul>
432433
</li>
434+
<li>Camptocamp &lt;<a class="reference external" href="https://www.camptocamp.com">https://www.camptocamp.com</a>&gt;
435+
* Denis Leemann &lt;<a class="reference external" href="mailto:denis.leemann&#64;camptocamp.com">denis.leemann&#64;camptocamp.com</a>&gt;</li>
433436
</ul>
434437
</div>
435438
<div class="section" id="maintainers">
436-
<h2><a class="toc-backref" href="#id7">Maintainers</a></h2>
439+
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
437440
<p>This module is maintained by the OCA.</p>
438441
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
439442
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
440443
mission is to support the collaborative development of Odoo features and
441444
promote its widespread use.</p>
442445
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
443-
<p><a class="reference external" href="https://github.com/mgosai"><img alt="mgosai" src="https://github.com/mgosai.png?size=40px" /></a></p>
444-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-payment/tree/14.0/account_payment_batch_process_discount">OCA/account-payment</a> project on GitHub.</p>
446+
<p><a class="reference external image-reference" href="https://github.com/mgosai"><img alt="mgosai" src="https://github.com/mgosai.png?size=40px" /></a></p>
447+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-payment/tree/16.0/account_payment_batch_process_discount">OCA/account-payment</a> project on GitHub.</p>
445448
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
446449
</div>
447450
</div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../account_payment_batch_process_discount
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+
)

0 commit comments

Comments
 (0)