Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.0][ADD] sale_financial_risk_confirm_action: New module #416

Open
wants to merge 1 commit into
base: 15.0
Choose a base branch
from
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
95 changes: 95 additions & 0 deletions sale_financial_risk_confirm_action/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
==================================
Sale Financial Risk Confirm Action
==================================

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

.. |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%2Fcredit--control-lightgray.png?logo=github
:target: https://github.com/OCA/credit-control/tree/15.0/sale_financial_risk_confirm_action
:alt: OCA/credit-control
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/credit-control-15-0/credit-control-15-0-sale_financial_risk_confirm_action
: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/credit-control&target_branch=15.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows confirming sale order in risk exception but changing several sale order
fields

**Table of contents**

.. contents::
:local:

Configuration
=============

To configure this module, you need to:

#. Go to Server actions and search "Changes to confirm sale order in risk exception"
#. Set fields and values to be updated before sale order confirm

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/credit-control/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/OCA/credit-control/issues/new?body=module:%20sale_financial_risk_confirm_action%0Aversion:%2015.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
~~~~~~~

* Tecnativa

Contributors
~~~~~~~~~~~~

* `Tecnativa <https://www.tecnativa.com>`_:

* Carlos Dauden

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.

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

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-carlosdauden|

This module is part of the `OCA/credit-control <https://github.com/OCA/credit-control/tree/15.0/sale_financial_risk_confirm_action>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions sale_financial_risk_confirm_action/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import wizards
20 changes: 20 additions & 0 deletions sale_financial_risk_confirm_action/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2024 Tecnativa - Carlos Dauden
carlosdauden marked this conversation as resolved.
Show resolved Hide resolved
# License AGPL-3 - See https://www.gnu.org/licenses/agpl-3.0.html

{
"name": "Sale Financial Risk Confirm Action",
"summary": "Allow confirm sale order in risk exception but changing several sale"
" order fields",
"version": "15.0.1.0.0",
"development_status": "Beta",
"category": "Accounting",
"website": "https://github.com/OCA/credit-control",
"author": "Tecnativa, Odoo Community Association (OCA)",
"maintainers": ["carlosdauden"],
"license": "AGPL-3",
"installable": True,
"depends": [
"sale_financial_risk",
],
"data": ["data/ir_actions_server.xml", "wizards/partner_risk_exceeded_view.xml"],
}
8 changes: 8 additions & 0 deletions sale_financial_risk_confirm_action/data/ir_actions_server.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="action_sale_order_changes_to_confirm" model="ir.actions.server">
<field name="name">Changes to confirm sale order in risk exception</field>
<field name="model_id" ref="sale.model_sale_order" />
<field name="state">object_write</field>
</record>
</odoo>
33 changes: 33 additions & 0 deletions sale_financial_risk_confirm_action/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_financial_risk_confirm_action
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-02 08:09+0000\n"
"PO-Revision-Date: 2024-07-02 10:12+0200\n"
"Last-Translator: Carlos Dauden <carlos.dauden@tecnativa.com>\n"
"Language-Team: \n"
"Language: es_ES\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.0.1\n"

#. module: sale_financial_risk_confirm_action
#: model:ir.actions.server,name:sale_financial_risk_confirm_action.action_sale_order_changes_to_confirm
msgid "Changes to confirm sale order in risk exception"
msgstr "Cambios para confirmar un pedido de venta en excepción por riesgo"

#. module: sale_financial_risk_confirm_action
#: model:ir.model,name:sale_financial_risk_confirm_action.model_partner_risk_exceeded_wiz
msgid "Partner Risk Exceeded Wizard"
msgstr "Asistente de riesgo excedido de cliente"

#. module: sale_financial_risk_confirm_action
#: model_terms:ir.ui.view,arch_db:sale_financial_risk_confirm_action.partner_risk_exceeded_wizard
msgid "Update and continue"
msgstr "Actualizar y continuar"
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_financial_risk_confirm_action
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-02 08:09+0000\n"
"PO-Revision-Date: 2024-07-02 08:09+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: sale_financial_risk_confirm_action
#: model:ir.actions.server,name:sale_financial_risk_confirm_action.action_sale_order_changes_to_confirm
msgid "Changes to confirm sale order in risk exception"
msgstr ""

#. module: sale_financial_risk_confirm_action
#: model:ir.model,name:sale_financial_risk_confirm_action.model_partner_risk_exceeded_wiz
msgid "Partner Risk Exceeded Wizard"
msgstr ""

#. module: sale_financial_risk_confirm_action
#: model_terms:ir.ui.view,arch_db:sale_financial_risk_confirm_action.partner_risk_exceeded_wizard
msgid "Update and continue"
msgstr ""
4 changes: 4 additions & 0 deletions sale_financial_risk_confirm_action/readme/CONFIGURE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
To configure this module, you need to:

#. Go to Server actions and search "Changes to confirm sale order in risk exception"
#. Set fields and values to be updated before sale order confirm
3 changes: 3 additions & 0 deletions sale_financial_risk_confirm_action/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* `Tecnativa <https://www.tecnativa.com>`_:

* Carlos Dauden
2 changes: 2 additions & 0 deletions sale_financial_risk_confirm_action/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This module allow confirm sale order in risk exception but changing several sale order
fields
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading