diff --git a/contract_sale/README.rst b/contract_sale/README.rst
index e125136f45..2930853090 100644
--- a/contract_sale/README.rst
+++ b/contract_sale/README.rst
@@ -7,7 +7,7 @@ Contract from Sale
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- !! source digest: sha256:00fb3cdc565442ffcd3351e97d0516ce6f4ceb55402981b183f7e717a1e23173
+ !! source digest: sha256:c2e49dd78cebc553bbe7e5bfa2c8658e29e120878e688512e9599b43144815dd
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
diff --git a/contract_sale/readme/CONFIGURE.rst b/contract_sale/readme/CONFIGURE.rst
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/contract_sale/readme/CREDITS.rst b/contract_sale/readme/CREDITS.rst
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/contract_sale/readme/DEVELOP.rst b/contract_sale/readme/DEVELOP.rst
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/contract_sale/readme/HISTORY.rst b/contract_sale/readme/HISTORY.rst
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/contract_sale/readme/INSTALL.rst b/contract_sale/readme/INSTALL.rst
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/contract_sale/readme/ROADMAP.rst b/contract_sale/readme/ROADMAP.rst
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/contract_sale/static/description/index.html b/contract_sale/static/description/index.html
index 2fec06806d..c4924509c2 100644
--- a/contract_sale/static/description/index.html
+++ b/contract_sale/static/description/index.html
@@ -8,10 +8,11 @@
/*
:Author: David Goodger (goodger@python.org)
-:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
+:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
+Despite the name, some widely supported CSS2 features are used.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
@@ -274,7 +275,7 @@
margin-left: 2em ;
margin-right: 2em }
-pre.code .ln { color: grey; } /* line numbers */
+pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -300,7 +301,7 @@
span.pre {
white-space: pre }
-span.problematic {
+span.problematic, pre.problematic {
color: red }
span.section-subtitle {
@@ -366,7 +367,7 @@
This module allows access to contracts for sale employees without account
@@ -428,7 +429,9 @@
This module is maintained by the OCA.
-

+
+
+
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
diff --git a/recurring_payments_stripe/README.rst b/recurring_payments_stripe/README.rst
new file mode 100644
index 0000000000..31fcb6beb7
--- /dev/null
+++ b/recurring_payments_stripe/README.rst
@@ -0,0 +1,70 @@
+==============================
+Recurring Payments with Stripe
+==============================
+
+..
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ !! This file is generated by oca-gen-addon-readme !!
+ !! changes will be overwritten. !!
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ !! source digest: sha256:7aacc5b46917b14e43404143f0ccd1519d1411d580330b8eb8a8ef608fe3a5a1
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
+.. |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-OCA%2Fcontract-lightgray.png?logo=github
+ :target: https://github.com/OCA/contract/tree/16.0/recurring_payments_stripe
+ :alt: OCA/contract
+.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
+ :target: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-recurring_payments_stripe
+ :alt: Translate me on Weblate
+.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/contract&target_branch=16.0
+ :alt: Try me on Runboat
+
+|badge1| |badge2| |badge3| |badge4| |badge5|
+
+
+**Table of contents**
+
+.. contents::
+ :local:
+
+Bug Tracker
+===========
+
+Bugs are tracked on `GitHub 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 `_.
+
+Do not contact contributors directly about support or help with technical issues.
+
+Credits
+=======
+
+Authors
+~~~~~~~
+
+* Binhex
+
+Maintainers
+~~~~~~~~~~~
+
+This module is maintained by the OCA.
+
+.. image:: https://odoo-community.org/logo.png
+ :alt: Odoo Community Association
+ :target: https://odoo-community.org
+
+OCA, or the Odoo Community Association, is a nonprofit organization whose
+mission is to support the collaborative development of Odoo features and
+promote its widespread use.
+
+This module is part of the `OCA/contract `_ project on GitHub.
+
+You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/recurring_payments_stripe/__init__.py b/recurring_payments_stripe/__init__.py
index a0fdc10fe1..0650744f6b 100644
--- a/recurring_payments_stripe/__init__.py
+++ b/recurring_payments_stripe/__init__.py
@@ -1,2 +1 @@
-# -*- coding: utf-8 -*-
from . import models
diff --git a/recurring_payments_stripe/__manifest__.py b/recurring_payments_stripe/__manifest__.py
index bca6e36757..ca812198c9 100644
--- a/recurring_payments_stripe/__manifest__.py
+++ b/recurring_payments_stripe/__manifest__.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
{
"name": "Recurring Payments with Stripe",
"version": "16.0.1.0.0",
diff --git a/recurring_payments_stripe/data/ir_cron.xml b/recurring_payments_stripe/data/ir_cron.xml
index d6580b1969..ff41276318 100644
--- a/recurring_payments_stripe/data/ir_cron.xml
+++ b/recurring_payments_stripe/data/ir_cron.xml
@@ -1,15 +1,13 @@
-
-
-
-
- Process Overdue Invoices for Subscriptions
-
- code
- model.cron_process_due_invoices()
- 1
- days
- -1
- True
-
-
+
+
+
+ Process Overdue Invoices for Subscriptions
+
+ code
+ model.cron_process_due_invoices()
+ 1
+ days
+ -1
+ True
+
diff --git a/recurring_payments_stripe/models/__init__.py b/recurring_payments_stripe/models/__init__.py
index 82c93204e4..fe83caa1a8 100644
--- a/recurring_payments_stripe/models/__init__.py
+++ b/recurring_payments_stripe/models/__init__.py
@@ -1,3 +1,2 @@
-# -*- coding: utf-8 -*-
from . import sale_subscription
from . import account_move
diff --git a/recurring_payments_stripe/models/account_move.py b/recurring_payments_stripe/models/account_move.py
index 2535853585..14d29e011e 100644
--- a/recurring_payments_stripe/models/account_move.py
+++ b/recurring_payments_stripe/models/account_move.py
@@ -1,8 +1,8 @@
-# -*- coding: utf-8 -*-
import logging
+
import stripe
-from odoo import models, api
+from odoo import api, models
from odoo.exceptions import UserError
_logger = logging.getLogger(__name__)
diff --git a/recurring_payments_stripe/models/sale_subscription.py b/recurring_payments_stripe/models/sale_subscription.py
index 30bef18952..ccc60eaf70 100644
--- a/recurring_payments_stripe/models/sale_subscription.py
+++ b/recurring_payments_stripe/models/sale_subscription.py
@@ -1,7 +1,6 @@
-# -*- coding: utf-8 -*-
import stripe
-from odoo import models, fields, api
+from odoo import api, fields, models
class SaleSubscription(models.Model):
diff --git a/recurring_payments_stripe/readme/CONFIGURE.rst b/recurring_payments_stripe/readme/CONFIGURE.rst
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/recurring_payments_stripe/readme/CONTRIBUTORS.rst b/recurring_payments_stripe/readme/CONTRIBUTORS.rst
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/recurring_payments_stripe/readme/CREDITS.rst b/recurring_payments_stripe/readme/CREDITS.rst
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/recurring_payments_stripe/readme/DESCRIPTION.rst b/recurring_payments_stripe/readme/DESCRIPTION.rst
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/recurring_payments_stripe/readme/DEVELOP.rst b/recurring_payments_stripe/readme/DEVELOP.rst
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/recurring_payments_stripe/readme/HISTORY.rst b/recurring_payments_stripe/readme/HISTORY.rst
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/recurring_payments_stripe/readme/INSTALL.rst b/recurring_payments_stripe/readme/INSTALL.rst
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/recurring_payments_stripe/readme/ROADMAP.rst b/recurring_payments_stripe/readme/ROADMAP.rst
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/recurring_payments_stripe/readme/USAGE.rst b/recurring_payments_stripe/readme/USAGE.rst
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/recurring_payments_stripe/static/description/index.html b/recurring_payments_stripe/static/description/index.html
new file mode 100644
index 0000000000..d9629f4109
--- /dev/null
+++ b/recurring_payments_stripe/static/description/index.html
@@ -0,0 +1,415 @@
+
+
+
+
+
+Recurring Payments with Stripe
+
+
+
+
+
Recurring Payments with Stripe
+
+
+

+
Table of contents
+
+
+
+
Bugs are tracked on GitHub 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.
+
Do not contact contributors directly about support or help with technical issues.
+
+
+
+
+
+
+
This module is maintained by the OCA.
+
+
+
+
OCA, or the Odoo Community Association, is a nonprofit organization whose
+mission is to support the collaborative development of Odoo features and
+promote its widespread use.
+
This module is part of the OCA/contract project on GitHub.
+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
+
+
+
+
+
diff --git a/recurring_payments_stripe/views/sale_subscription_views.xml b/recurring_payments_stripe/views/sale_subscription_views.xml
index dfca8d901b..bdfc7c87c0 100644
--- a/recurring_payments_stripe/views/sale_subscription_views.xml
+++ b/recurring_payments_stripe/views/sale_subscription_views.xml
@@ -1,4 +1,4 @@
-
+
@@ -9,9 +9,11 @@
-
+ attrs="{'invisible': [('charge_automatically', '=', False)]}"
+ />
diff --git a/setup/recurring_payments_stripe/odoo/addons/recurring_payments_stripe b/setup/recurring_payments_stripe/odoo/addons/recurring_payments_stripe
new file mode 120000
index 0000000000..0bdeb61a53
--- /dev/null
+++ b/setup/recurring_payments_stripe/odoo/addons/recurring_payments_stripe
@@ -0,0 +1 @@
+../../../../recurring_payments_stripe
\ No newline at end of file
diff --git a/setup/recurring_payments_stripe/setup.py b/setup/recurring_payments_stripe/setup.py
new file mode 100644
index 0000000000..28c57bb640
--- /dev/null
+++ b/setup/recurring_payments_stripe/setup.py
@@ -0,0 +1,6 @@
+import setuptools
+
+setuptools.setup(
+ setup_requires=['setuptools-odoo'],
+ odoo_addon=True,
+)