mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[IMP] rma: pre-commit auto fixes
This commit is contained in:
@@ -2,6 +2,32 @@
|
||||
RMA (Return Merchandise Authorization)
|
||||
======================================
|
||||
|
||||
..
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:2a063cc1f6e65fa97dd68c83a5086cedca60cc1110a9a8c7fa55a665f6341339
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
.. |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-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-OCA%2F-lightgray.png?logo=github
|
||||
:target: https://github.com/OCA//tree/17.0/rma
|
||||
:alt: OCA/
|
||||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
||||
:target: https://translation.odoo-community.org/projects/-17-0/-17-0-rma
|
||||
: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/&target_branch=17.0
|
||||
:alt: Try me on Runboat
|
||||
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
|
||||
A Return Merchandise Authorization (RMA), is a part of the process of
|
||||
returning a product in order to receive a refund, replacement, or repair
|
||||
during the product's warranty period.
|
||||
@@ -30,7 +56,7 @@ Configuration
|
||||
=============
|
||||
|
||||
Security
|
||||
~~~~~~~~
|
||||
--------
|
||||
|
||||
Go to Settings > Users and assign the appropiate permissions to users.
|
||||
Different security groups grant distinct levels of access to the RMA features.
|
||||
@@ -42,7 +68,7 @@ Different security groups grant distinct levels of access to the RMA features.
|
||||
associated to both customers and suppliers.
|
||||
|
||||
RMA Approval Policy
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
-------------------
|
||||
|
||||
There are two RMA approval policies in product catogories:
|
||||
|
||||
@@ -58,7 +84,7 @@ steps:
|
||||
#. Select one and change the field *RMA Approval Policy* to your convenience.
|
||||
|
||||
Other Settings
|
||||
~~~~~~~~~~~~~~
|
||||
--------------
|
||||
|
||||
#. Go to RMA > Configuration > Settings > Return Merchandising
|
||||
Authorization and select the option "Display 3 fields on rma: partner,
|
||||
@@ -100,10 +126,10 @@ Known issues / Roadmap
|
||||
Bug Tracker
|
||||
===========
|
||||
|
||||
Bugs are tracked on `GitHub Issues <https://github.com/ForgeFlow/stock-rma/issues>`_.
|
||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA//issues>`_.
|
||||
In case of trouble, please check there if your issue has already been reported.
|
||||
If you spotted it first, help us smashing it by providing a detailed and welcomed
|
||||
`feedback <https://github.com/ForgeFlow/stock-rma/issues/new?body=module:%20rma%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
||||
`feedback <https://github.com/OCA//issues/new?body=module:%20rma%0Aversion:%2017.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.
|
||||
|
||||
@@ -113,7 +139,7 @@ Credits
|
||||
Authors
|
||||
~~~~~~~
|
||||
|
||||
* ForgeFlow S.L.
|
||||
* ForgeFlow
|
||||
|
||||
Contributors
|
||||
~~~~~~~~~~~~
|
||||
@@ -130,7 +156,16 @@ Contributors
|
||||
Maintainers
|
||||
~~~~~~~~~~~
|
||||
|
||||
This module is maintained by the ForgeFlow.
|
||||
This module is maintained by the OCA.
|
||||
|
||||
This module is part of the `ForgeFlow/stock-rma <https://github.com/ForgeFlow/stock-rma/tree/13.0/rma>`_ project on GitHub.
|
||||
.. 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/ <https://github.com/OCA//tree/17.0/rma>`_ project on GitHub.
|
||||
|
||||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"category": "RMA",
|
||||
"summary": "Introduces the return merchandise authorization (RMA) process in odoo",
|
||||
"author": "ForgeFlow",
|
||||
"website": "https://github.com/ForgeFlow/stock-rma",
|
||||
"website": "https://github.com/OCA/",
|
||||
"depends": ["stock", "mail", "web"],
|
||||
"demo": ["demo/stock_demo.xml"],
|
||||
"data": [
|
||||
|
||||
3
rma/pyproject.toml
Normal file
3
rma/pyproject.toml
Normal file
@@ -0,0 +1,3 @@
|
||||
[build-system]
|
||||
requires = ["whool"]
|
||||
build-backend = "whool.buildapi"
|
||||
@@ -221,7 +221,6 @@ class TestRma(common.TransactionCase):
|
||||
def _create_rma_from_move(
|
||||
cls, products2move, r_type, partner, dropship, supplier_address_id=None
|
||||
):
|
||||
|
||||
moves = []
|
||||
if r_type == "customer":
|
||||
picking_type = cls._get_picking_type(
|
||||
|
||||
@@ -5,7 +5,8 @@ import time
|
||||
|
||||
from odoo import _, api, fields, models
|
||||
from odoo.exceptions import UserError, ValidationError
|
||||
from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT as DT_FORMAT, float_compare
|
||||
from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT as DT_FORMAT
|
||||
from odoo.tools import float_compare
|
||||
|
||||
|
||||
class RmaMakePicking(models.TransientModel):
|
||||
|
||||
Reference in New Issue
Block a user