-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[16.0][ADD] crm_claim_non_conformity: In crm claim type new field "Is…
… Non Conformity?".
- Loading branch information
1 parent
af87518
commit 1eb6769
Showing
13 changed files
with
215 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
|
||
======================== | ||
Crm claim non conformity | ||
======================== | ||
|
||
* In crm claim type new field "Is Non Conformity?". | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues | ||
<https://github.com/avanzosc/crm-addons/issues>`_. In case of trouble, | ||
please check there if your issue has already been reported. If you spotted | ||
it first, help us smash it by providing detailed and welcomed feedback. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Contributors | ||
------------ | ||
|
||
* Ana Juaristi <anajuaristi@avanzosc.es> | ||
* Alfredo de la Fuente <alfredodelafuente@avanzosc.es> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Copyright 2024 Alfredo de la Fuente - AvanzOSC | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
{ | ||
"name": "CRM Claim Non Conformity", | ||
"version": "16.0.1.0.0", | ||
"category": "Customer Relationship Management", | ||
"license": "AGPL-3", | ||
"author": "AvanzOSC", | ||
"website": "https://github.com/avanzosc/crm-addons", | ||
"depends": [ | ||
"crm_claim_type_sequence", | ||
], | ||
"data": [ | ||
"views/crm_claim_type_views.xml", | ||
], | ||
"installable": True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * crm_claim_non_conformity | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-10-01 07:11+0000\n" | ||
"PO-Revision-Date: 2024-10-01 07:11+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: crm_claim_non_conformity | ||
#: model:ir.model,name:crm_claim_non_conformity.model_crm_claim_type | ||
msgid "Claim Type" | ||
msgstr "Tipus de reclamació" | ||
|
||
#. module: crm_claim_non_conformity | ||
#: model:ir.model.fields,field_description:crm_claim_non_conformity.field_crm_claim_type__non_conformity | ||
msgid "Is Non Conformity?" | ||
msgstr "" |
26 changes: 26 additions & 0 deletions
26
crm_claim_non_conformity/i18n/crm_claim_non_conformity.pot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * crm_claim_non_conformity | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-10-01 07:11+0000\n" | ||
"PO-Revision-Date: 2024-10-01 07:11+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: crm_claim_non_conformity | ||
#: model:ir.model,name:crm_claim_non_conformity.model_crm_claim_type | ||
msgid "Claim Type" | ||
msgstr "" | ||
|
||
#. module: crm_claim_non_conformity | ||
#: model:ir.model.fields,field_description:crm_claim_non_conformity.field_crm_claim_type__non_conformity | ||
msgid "Is Non Conformity?" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * crm_claim_non_conformity | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-10-01 07:11+0000\n" | ||
"PO-Revision-Date: 2024-10-01 07:11+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: crm_claim_non_conformity | ||
#: model:ir.model,name:crm_claim_non_conformity.model_crm_claim_type | ||
msgid "Claim Type" | ||
msgstr "" | ||
|
||
#. module: crm_claim_non_conformity | ||
#: model:ir.model.fields,field_description:crm_claim_non_conformity.field_crm_claim_type__non_conformity | ||
msgid "Is Non Conformity?" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * crm_claim_non_conformity | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-10-01 07:12+0000\n" | ||
"PO-Revision-Date: 2024-10-01 07:12+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: crm_claim_non_conformity | ||
#: model:ir.model,name:crm_claim_non_conformity.model_crm_claim_type | ||
msgid "Claim Type" | ||
msgstr "Tipo de reclamación" | ||
|
||
#. module: crm_claim_non_conformity | ||
#: model:ir.model.fields,field_description:crm_claim_non_conformity.field_crm_claim_type__non_conformity | ||
msgid "Is Non Conformity?" | ||
msgstr "¿Es no conformidad?" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * crm_claim_non_conformity | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-10-01 07:12+0000\n" | ||
"PO-Revision-Date: 2024-10-01 07:12+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: crm_claim_non_conformity | ||
#: model:ir.model,name:crm_claim_non_conformity.model_crm_claim_type | ||
msgid "Claim Type" | ||
msgstr "" | ||
|
||
#. module: crm_claim_non_conformity | ||
#: model:ir.model.fields,field_description:crm_claim_non_conformity.field_crm_claim_type__non_conformity | ||
msgid "Is Non Conformity?" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import crm_claim_type |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Copyright 2024 Alfredo de la Fuente - AvanzOSC | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
from odoo import fields, models | ||
|
||
|
||
class CrmClaimtype(models.Model): | ||
_inherit = "crm.claim.type" | ||
|
||
non_conformity = fields.Boolean(string="Is Non Conformity?", default=False) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<odoo> | ||
<record model="ir.ui.view" id="crm_claim_type_tree"> | ||
<field name="model">crm.claim.type</field> | ||
<field name="inherit_id" ref="crm_claim_type.crm_claim_type_tree" /> | ||
<field name="arch" type="xml"> | ||
<field name="name" position="after"> | ||
<field name="non_conformity" optional="show" /> | ||
</field> | ||
</field> | ||
</record> | ||
|
||
<record model="ir.ui.view" id="crm_claim_type_form"> | ||
<field name="model">crm.claim.type</field> | ||
<field name="inherit_id" ref="crm_claim_type.crm_claim_type_form" /> | ||
<field name="arch" type="xml"> | ||
<field name="description" position="after"> | ||
<field name="non_conformity" /> | ||
</field> | ||
</field> | ||
</record> | ||
</odoo> |
1 change: 1 addition & 0 deletions
1
setup/crm_claim_non_conformity/odoo/addons/crm_claim_non_conformity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../crm_claim_non_conformity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import setuptools | ||
|
||
setuptools.setup( | ||
setup_requires=['setuptools-odoo'], | ||
odoo_addon=True, | ||
) |