-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[imp] upper version number and adding missing dependency
- Loading branch information
Showing
18 changed files
with
729 additions
and
5 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
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
Niels Göttsch <ng@ife.de> | ||
Niels Göttsch <ng@ife.de> | ||
Kimlong Mai |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
The IFE Reports attend to fix requirements for the german market. | ||
Therefor it adds some features including: | ||
* Company Types and correspondig fields | ||
* Company Types and correspondig fields | ||
|
||
* test |
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
|
||
:1.0.4: changes | ||
:1.0.3: Change to LGPL-3 license and add proper README | ||
:1.0.2: clean up dependencies | ||
:1.0.0: Initial module. |
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,67 @@ | ||
================== | ||
Add Company Fields | ||
================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:cfc0320b661c467df260e71c065af8fd2b8b1bb384875f8c1d2ec525e8eac8cc | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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-ifegmbh%2Fife_reports-lightgray.png?logo=github | ||
:target: https://github.com/ifegmbh/ife_reports/tree/16.0/ife_company_fields | ||
:alt: ifegmbh/ife_reports | ||
|
||
|badge1| |badge2| |badge3| | ||
|
||
Extends Partner Company Type to reference fields that are unique to legal forms. | ||
We use this to hide certain fields of res.company | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Changelog | ||
========= | ||
|
||
:16.0.1.0.2: change license to LGPL-3 | ||
:16.0.1.0.1: initial version | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/ifegmbh/ife_reports/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/ifegmbh/ife_reports/issues/new?body=module:%20ife_company_fields%0Aversion:%2016.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 | ||
~~~~~~~ | ||
|
||
* IFE Gesellschaft für Forschung und Entwicklung | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Niels Göttsch <ng@ife.de> | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
This module is part of the `ifegmbh/ife_reports <https://github.com/ifegmbh/ife_reports/tree/16.0/ife_company_fields>`_ project on GitHub. | ||
|
||
You are welcome to contribute. |
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 @@ | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "Add Company Fields", | ||
"summary": "Adds field names to Company based on their company type", | ||
"version": "16.0.1.0.2", | ||
"license": "LGPL-3", | ||
"author": "IFE Gesellschaft für Forschung und Entwicklung", | ||
"website": "https://www.ife.de", | ||
"depends": ["partner_company_type"], | ||
"data": [ | ||
"security/res_company_type_fields.xml", | ||
"views/res_company_type_fields.xml", | ||
], | ||
"auto_install": True, | ||
"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,94 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * ife_company_fields | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0+e-20230613\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-07-19 07:43+0000\n" | ||
"PO-Revision-Date: 2023-07-19 09:47+0200\n" | ||
"Last-Translator: \n" | ||
"Language-Team: \n" | ||
"Language: de_DE\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.3.2\n" | ||
|
||
#. module: ife_company_fields | ||
#: model:ir.model.fields,field_description:ife_company_fields.field_res_company_type_fields__shortcut | ||
msgid "Abbreviation" | ||
msgstr "Abkürzung" | ||
|
||
#. module: ife_company_fields | ||
#: model:ir.actions.act_window,name:ife_company_fields.res_company_type_fields_act_window | ||
#: model:ir.ui.menu,name:ife_company_fields.menu_company_type_fields | ||
msgid "Company Field Names" | ||
msgstr "firmenspez. Felder" | ||
|
||
#. module: ife_company_fields | ||
#: model:ir.model,name:ife_company_fields.model_res_company_type_fields | ||
msgid "Company Fields" | ||
msgstr "" | ||
|
||
#. module: ife_company_fields | ||
#: model:ir.model.fields,field_description:ife_company_fields.field_res_company_type_fields__company_types | ||
msgid "Legal Forms" | ||
msgstr "Rechtsformen" | ||
|
||
#. module: ife_company_fields | ||
#: model_terms:ir.ui.view,arch_db:ife_company_fields.res_company_type_fields_form_view | ||
msgid "Company Types" | ||
msgstr "Rechtsformen" | ||
|
||
#. module: ife_company_fields | ||
#: model:ir.model.fields,field_description:ife_company_fields.field_res_company_type_fields__create_uid | ||
msgid "Created by" | ||
msgstr "Erstellt von" | ||
|
||
#. module: ife_company_fields | ||
#: model:ir.model.fields,field_description:ife_company_fields.field_res_company_type_fields__create_date | ||
msgid "Created on" | ||
msgstr "Erstellt am" | ||
|
||
#. module: ife_company_fields | ||
#: model:ir.model.fields,field_description:ife_company_fields.field_res_company_type_fields__name | ||
msgid "Description" | ||
msgstr "Beschreibung" | ||
|
||
#. module: ife_company_fields | ||
#: model:ir.model.fields,field_description:ife_company_fields.field_res_company_type_fields__display_name | ||
msgid "Display Name" | ||
msgstr "Anzeigename" | ||
|
||
#. module: ife_company_fields | ||
#: model:ir.model.fields,field_description:ife_company_fields.field_res_company_type_fields__field_name | ||
msgid "Field Name" | ||
msgstr "tech. Feldname" | ||
|
||
#. module: ife_company_fields | ||
#: model:ir.model.constraint,message:ife_company_fields.constraint_res_company_type_fields_field_name_uniq | ||
msgid "Field Name already exists!" | ||
msgstr "Feldname existiert bereits!" | ||
|
||
#. module: ife_company_fields | ||
#: model:ir.model.fields,field_description:ife_company_fields.field_res_company_type_fields__id | ||
msgid "ID" | ||
msgstr "" | ||
|
||
#. module: ife_company_fields | ||
#: model:ir.model.fields,field_description:ife_company_fields.field_res_company_type_fields____last_update | ||
msgid "Last Modified on" | ||
msgstr "" | ||
|
||
#. module: ife_company_fields | ||
#: model:ir.model.fields,field_description:ife_company_fields.field_res_company_type_fields__write_uid | ||
msgid "Last Updated by" | ||
msgstr "" | ||
|
||
#. module: ife_company_fields | ||
#: model:ir.model.fields,field_description:ife_company_fields.field_res_company_type_fields__write_date | ||
msgid "Last Updated on" | ||
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 res_company_type_fields |
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 @@ | ||
from odoo import fields, models | ||
|
||
|
||
class ResCompanyTypeFields(models.Model): | ||
_name = "res.company.type.fields" | ||
_description = "Company Fields" | ||
|
||
name = fields.Char(string="Description", translate=True) | ||
shortcut = fields.Char(string="Abbreviation", translate=True) | ||
company_types = fields.Many2many( | ||
comodel_name="res.partner.company.type", string="Legal Forms" | ||
) | ||
field_name = fields.Char() | ||
|
||
_sql_constraints = [ | ||
("field_name_uniq", "unique (field_name)", "Field Name already exists!") | ||
] |
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,3 @@ | ||
[build-system] | ||
requires = ["whool"] | ||
build-backend = "whool.buildapi" |
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 @@ | ||
* Niels Göttsch <ng@ife.de> |
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,2 @@ | ||
Extends Partner Company Type to reference fields that are unique to legal forms. | ||
We use this to hide certain fields of res.company |
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,2 @@ | ||
:16.0.1.0.2: change license to LGPL-3 | ||
:16.0.1.0.1: initial version |
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,24 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2017-2018 ACSONE SA/NV | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> | ||
<odoo> | ||
<record model="ir.model.access" id="res_company_type_fields_user"> | ||
<field name="name">res.company.type.fields user</field> | ||
<field name="model_id" ref="model_res_company_type_fields" /> | ||
<field name="group_id" ref="base.group_user" /> | ||
<field name="perm_read" eval="1" /> | ||
<field name="perm_create" eval="0" /> | ||
<field name="perm_write" eval="0" /> | ||
<field name="perm_unlink" eval="0" /> | ||
</record> | ||
<record model="ir.model.access" id="res_company_type_fields_manager"> | ||
<field name="name">res.company.type.fields manager</field> | ||
<field name="model_id" ref="model_res_company_type_fields" /> | ||
<field name="group_id" ref="base.group_partner_manager" /> | ||
<field name="perm_read" eval="1" /> | ||
<field name="perm_create" eval="0" /> | ||
<field name="perm_write" eval="1" /> | ||
<field name="perm_unlink" eval="0" /> | ||
</record> | ||
|
||
</odoo> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.