Skip to content

Commit

Permalink
Merge PR #1877 into 18.0
Browse files Browse the repository at this point in the history
Signed-off-by rvalyi
  • Loading branch information
OCA-git-bot committed Jan 8, 2025
2 parents 3cadd17 + 891b29f commit 5f193fb
Show file tree
Hide file tree
Showing 24 changed files with 1,490 additions and 0 deletions.
100 changes: 100 additions & 0 deletions partner_stage/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
=============
Partner Stage
=============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:39e14ed799110c493e3451c0f9aac4b2feef7cd17fcb72e1e188684bb9443380
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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%2Fpartner--contact-lightgray.png?logo=github
:target: https://github.com/OCA/partner-contact/tree/18.0/partner_stage
:alt: OCA/partner-contact
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/partner-contact-18-0/partner-contact-18-0-partner_stage
: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/partner-contact&target_branch=18.0
:alt: Try me on Runboat

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

Adds stages to Contacts allowing, for example, to setup a lifecycle
workflow. The default stages are: Draft, Active and Inactive.

**Table of contents**

.. contents::
:local:

Usage
=====

Open a Contact form to see the corresponding Stage. It is visible in the
stages bar, at the top right are of the form.

The contact stage can be changed clicking on the stages bar.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/partner-contact/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/partner-contact/issues/new?body=module:%20partner_stage%0Aversion:%2018.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
-------

* Open Source Integrators

Contributors
------------

- Daniel Reis <dreis@opensourceintegrators.com>
- Urvisha Desai <udesai@opensourceintegrators.com>

- ``Camptocamp <https://www.camptocamp.com>``\ \_\_:

- Maksym Yankin maksym.yankin@camptocamp.com

- Bert Van Groenendael <bert.vangroenendael@dynapps.eu>

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-dreispt| image:: https://github.com/dreispt.png?size=40px
:target: https://github.com/dreispt
:alt: dreispt

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

|maintainer-dreispt|

This module is part of the `OCA/partner-contact <https://github.com/OCA/partner-contact/tree/18.0/partner_stage>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions partner_stage/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from .init_hook import post_init_hook
22 changes: 22 additions & 0 deletions partner_stage/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2021 Open Source Integrators
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html)

{
"name": "Partner Stage",
"summary": "Add lifecycle Stages to Partners",
"author": "Open Source Integrators, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/partner-contact",
"category": "Sales/CRM",
"version": "18.0.1.0.0",
"license": "AGPL-3",
"depends": ["contacts"],
"data": [
"security/ir.model.access.csv",
"data/partner_stage_data.xml",
"views/res_partner_stage_views.xml",
"views/res_partner_views.xml",
],
"post_init_hook": "post_init_hook",
"installable": True,
"maintainers": ["dreispt"],
}
20 changes: 20 additions & 0 deletions partner_stage/data/partner_stage_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="partner_stage_draft" model="res.partner.stage">
<field name="name">Draft</field>
<field name="state">draft</field>
<field name="sequence">10</field>
</record>
<record id="partner_stage_active" model="res.partner.stage">
<field name="name">Active</field>
<field name="state">confirmed</field>
<field name="sequence">20</field>
<field name="is_default">True</field>
</record>
<record id="partner_stage_inactive" model="res.partner.stage">
<field name="name">Inactive</field>
<field name="state">cancel</field>
<field name="sequence">30</field>
<field name="fold">True</field>
</record>
</odoo>
159 changes: 159 additions & 0 deletions partner_stage/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_stage
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-08-31 08:13+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: partner_stage
#: model:ir.model.fields,field_description:partner_stage.field_res_partner_stage__active
#: model:res.partner.stage,name:partner_stage.partner_stage_active
msgid "Active"
msgstr "Activo"

#. module: partner_stage
#: model:ir.model.fields.selection,name:partner_stage.selection__res_partner_stage__state__confirmed
msgid "Approved"
msgstr "Aprobado"

#. module: partner_stage
#: model:ir.model.fields.selection,name:partner_stage.selection__res_partner_stage__state__cancel
msgid "Archived"
msgstr "Archivado"

#. module: partner_stage
#: model:ir.model.fields,field_description:partner_stage.field_res_partner_stage__code
msgid "Code"
msgstr "Código"

#. module: partner_stage
#: model:ir.model,name:partner_stage.model_res_partner
msgid "Contact"
msgstr "Contacto"

#. module: partner_stage
#: model:ir.model,name:partner_stage.model_res_partner_stage
msgid "Contact Stage"
msgstr "Etapa de contacto"

#. module: partner_stage
#: model:ir.ui.menu,name:partner_stage.menu_partner_stage
msgid "Contact Stages"
msgstr "Etapas de contacto"

#. module: partner_stage
#: model:ir.model.fields,field_description:partner_stage.field_res_partner_stage__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: partner_stage
#: model:ir.model.fields,field_description:partner_stage.field_res_partner_stage__create_date
msgid "Created on"
msgstr "Creado el"

#. module: partner_stage
#: model:ir.model.fields,field_description:partner_stage.field_res_partner_stage__is_default
msgid "Default state"
msgstr "Estado por defecto"

#. module: partner_stage
#: model:ir.model.fields,field_description:partner_stage.field_res_partner_stage__description
msgid "Description"
msgstr "Descripción"

#. module: partner_stage
#: model:ir.model.fields,field_description:partner_stage.field_res_partner_stage__display_name
msgid "Display Name"
msgstr "Mostrar Nombre"

#. module: partner_stage
#: model:res.partner.stage,name:partner_stage.partner_stage_draft
msgid "Draft"
msgstr "Borrador"

#. module: partner_stage
#: model:ir.model.fields,field_description:partner_stage.field_res_partner_stage__fold
msgid "Fold"
msgstr "Pliegue"

#. module: partner_stage
#: model:ir.model.fields,field_description:partner_stage.field_res_partner_stage__id
msgid "ID"
msgstr "ID (identificación)"

#. module: partner_stage
#: model:res.partner.stage,name:partner_stage.partner_stage_inactive
msgid "Inactive"
msgstr "Inactivo"

#. module: partner_stage
#: model:ir.model.fields,field_description:partner_stage.field_res_partner_stage____last_update
msgid "Last Modified on"
msgstr "Última Modificación el"

#. module: partner_stage
#: model:ir.model.fields,field_description:partner_stage.field_res_partner_stage__write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: partner_stage
#: model:ir.model.fields,field_description:partner_stage.field_res_partner_stage__write_date
msgid "Last Updated on"
msgstr "Última Actualización el"

#. module: partner_stage
#: model:ir.model.fields,field_description:partner_stage.field_res_partner_stage__name
msgid "Name"
msgstr "Nombre"

#. module: partner_stage
#: model:ir.model.fields,field_description:partner_stage.field_res_partner__state
#: model:ir.model.fields,field_description:partner_stage.field_res_partner_stage__state
msgid "Related State"
msgstr "Estado relacionado"

#. module: partner_stage
#: model:ir.model.fields,field_description:partner_stage.field_res_partner_stage__sequence
msgid "Sequence"
msgstr "Secuencia"

#. module: partner_stage
#: model:ir.actions.act_window,name:partner_stage.action_partner_stage
#: model:ir.model.fields,field_description:partner_stage.field_res_partner__stage_id
#: model:ir.model.fields,field_description:partner_stage.field_res_users__stage_id
#: model_terms:ir.ui.view,arch_db:partner_stage.view_partner_search
msgid "Stage"
msgstr "Etapa"

#. module: partner_stage
#: model:ir.model.constraint,message:partner_stage.constraint_res_partner_stage_res_partner_stage_code_unique
msgid "Stage Code must be unique."
msgstr "El código de etapa debe ser único."

#. module: partner_stage
#. odoo-python
#: code:addons/partner_stage/models/res_partner_stage.py:0
#, python-format
msgid "There should be only one default stage"
msgstr "Sólo debería haber una etapa predeterminada"

#. module: partner_stage
#: model:ir.model.fields.selection,name:partner_stage.selection__res_partner_stage__state__draft
msgid "To Approve"
msgstr "Para Aprobar"

#. module: partner_stage
#: model:ir.model.fields,help:partner_stage.field_res_partner_stage__sequence
msgid "Used to order the stages"
msgstr "Se utiliza para ordenar las etapas"
Loading

0 comments on commit 5f193fb

Please sign in to comment.