mirror of
https://github.com/bringout/oca-project.git
synced 2026-04-18 09:22:01 +02:00
Move 124 sale modules to oca-sale, create oca-project with 56 project modules from oca-workflow-process
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
9eb7ae5807
commit
6094c218b2
2332 changed files with 125826 additions and 0 deletions
46
odoo-bringout-oca-project-project_task_code/README.md
Normal file
46
odoo-bringout-oca-project-project_task_code/README.md
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Sequential Code for Tasks
|
||||
|
||||
Odoo addon: project_task_code
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
pip install odoo-bringout-oca-project-project_task_code
|
||||
```
|
||||
|
||||
## Dependencies
|
||||
|
||||
This addon depends on:
|
||||
- project
|
||||
|
||||
## Manifest Information
|
||||
|
||||
- **Name**: Sequential Code for Tasks
|
||||
- **Version**: 16.0.1.1.0
|
||||
- **Category**: Project Management
|
||||
- **License**: AGPL-3
|
||||
- **Installable**: True
|
||||
|
||||
## Source
|
||||
|
||||
Based on [OCA/project](https://github.com/OCA/project) branch 16.0, addon `project_task_code`.
|
||||
|
||||
## License
|
||||
|
||||
This package maintains the original AGPL-3 license from the upstream Odoo project.
|
||||
|
||||
## Documentation
|
||||
|
||||
- Overview: doc/OVERVIEW.md
|
||||
- Architecture: doc/ARCHITECTURE.md
|
||||
- Models: doc/MODELS.md
|
||||
- Controllers: doc/CONTROLLERS.md
|
||||
- Wizards: doc/WIZARDS.md
|
||||
- Reports: doc/REPORTS.md
|
||||
- Security: doc/SECURITY.md
|
||||
- Install: doc/INSTALL.md
|
||||
- Usage: doc/USAGE.md
|
||||
- Configuration: doc/CONFIGURATION.md
|
||||
- Dependencies: doc/DEPENDENCIES.md
|
||||
- Troubleshooting: doc/TROUBLESHOOTING.md
|
||||
- FAQ: doc/FAQ.md
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
# Architecture
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
U[Users] -->|HTTP| V[Views and QWeb Templates]
|
||||
V --> C[Controllers]
|
||||
V --> W[Wizards – Transient Models]
|
||||
C --> M[Models and ORM]
|
||||
W --> M
|
||||
M --> R[Reports]
|
||||
DX[Data XML] --> M
|
||||
S[Security – ACLs and Groups] -. enforces .-> M
|
||||
|
||||
subgraph Project_task_code Module - project_task_code
|
||||
direction LR
|
||||
M:::layer
|
||||
W:::layer
|
||||
C:::layer
|
||||
V:::layer
|
||||
R:::layer
|
||||
S:::layer
|
||||
DX:::layer
|
||||
end
|
||||
|
||||
classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px
|
||||
```
|
||||
|
||||
Notes
|
||||
- Views include tree/form/kanban templates and report templates.
|
||||
- Controllers provide website/portal routes when present.
|
||||
- Wizards are UI flows implemented with `models.TransientModel`.
|
||||
- Data XML loads data/demo records; Security defines groups and access.
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
# Configuration
|
||||
|
||||
Refer to Odoo settings for project_task_code. Configure related models, access rights, and options as needed.
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
# Controllers
|
||||
|
||||
This module does not define custom HTTP controllers.
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
# Dependencies
|
||||
|
||||
This addon depends on:
|
||||
|
||||
- [project](https://github.com/bringout/oca-ocb-project/tree/5bbf7d0517a5706a48472bdf6a077a4467d11869/odoo-bringout-oca-ocb-project)
|
||||
4
odoo-bringout-oca-project-project_task_code/doc/FAQ.md
Normal file
4
odoo-bringout-oca-project-project_task_code/doc/FAQ.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# FAQ
|
||||
|
||||
- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged).
|
||||
- Q: How to enable? A: Start server with --addon project_task_code or install in UI.
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
# Install
|
||||
|
||||
```bash
|
||||
pip install odoo-bringout-oca-project-project_task_code"
|
||||
# or
|
||||
uv pip install odoo-bringout-oca-project-project_task_code"
|
||||
```
|
||||
12
odoo-bringout-oca-project-project_task_code/doc/MODELS.md
Normal file
12
odoo-bringout-oca-project-project_task_code/doc/MODELS.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Models
|
||||
|
||||
Detected core models and extensions in project_task_code.
|
||||
|
||||
```mermaid
|
||||
classDiagram
|
||||
class project_task
|
||||
```
|
||||
|
||||
Notes
|
||||
- Classes show model technical names; fields omitted for brevity.
|
||||
- Items listed under _inherit are extensions of existing models.
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
# Overview
|
||||
|
||||
Packaged Odoo addon: project_task_code. Provides features documented in upstream Odoo 16 under this addon.
|
||||
|
||||
- Source: OCA/OCB 16.0, addon project_task_code
|
||||
- License: LGPL-3
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
# Reports
|
||||
|
||||
This module does not define custom reports.
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
# Security
|
||||
|
||||
This module does not define custom security rules or access controls beyond Odoo defaults.
|
||||
|
||||
Default Odoo security applies:
|
||||
- Base user access through standard groups
|
||||
- Model access inherited from dependencies
|
||||
- No custom row-level security rules
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
# Troubleshooting
|
||||
|
||||
- Ensure Python and Odoo environment matches repo guidance.
|
||||
- Check database connectivity and logs if startup fails.
|
||||
- Validate that dependent addons listed in DEPENDENCIES.md are installed.
|
||||
7
odoo-bringout-oca-project-project_task_code/doc/USAGE.md
Normal file
7
odoo-bringout-oca-project-project_task_code/doc/USAGE.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Usage
|
||||
|
||||
Start Odoo including this addon (from repo root):
|
||||
|
||||
```bash
|
||||
python3 scripts/nix_odoo_web_server.py --db-name mydb --addon project_task_code
|
||||
```
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
# Wizards
|
||||
|
||||
This module does not include UI wizards.
|
||||
|
|
@ -0,0 +1,108 @@
|
|||
=========================
|
||||
Sequential Code for Tasks
|
||||
=========================
|
||||
|
||||
..
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:4597f906c0886b0b3a0022fdf54312744fe8011ed05bdbf2a0910de934cb8489
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
.. |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%2Fproject-lightgray.png?logo=github
|
||||
:target: https://github.com/OCA/project/tree/16.0/project_task_code
|
||||
:alt: OCA/project
|
||||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
||||
:target: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_task_code
|
||||
: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/project&target_branch=16.0
|
||||
:alt: Try me on Runboat
|
||||
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
|
||||
This module adds a sequential code for tasks.
|
||||
|
||||
**Table of contents**
|
||||
|
||||
.. contents::
|
||||
:local:
|
||||
|
||||
Configuration
|
||||
=============
|
||||
|
||||
To change the task code sequence, you must:
|
||||
|
||||
#. Activate the developer mode.
|
||||
#. Go to Settings > Technical > Sequences & Identifiers > Sequences.
|
||||
#. Click on "Task code" sequence to edit.
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
To use this module, you need to:
|
||||
|
||||
#. Go to menu Project > Search > Tasks and create a new task, and you get a
|
||||
new code saving it.
|
||||
#. If you duplicate a task, you will get a new code for the new task.
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/project/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/project/issues/new?body=module:%20project_task_code%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
|
||||
~~~~~~~
|
||||
|
||||
* OdooMRP team
|
||||
* AvanzOSC
|
||||
* Tecnativa
|
||||
|
||||
Contributors
|
||||
~~~~~~~~~~~~
|
||||
|
||||
* Oihane Crucelaegui <oihanecrucelaegi@avanzosc.es>
|
||||
* Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
|
||||
* Ana Juaristi <anajuarist@avanzosc.es>
|
||||
* Vicent Cubells <vicent.cubells@tecnativa.com>
|
||||
* Rodrigo Ferreira <rodrigosferreira91@gmail.com>
|
||||
* Damien Bouvy <dbo@odoo.com>
|
||||
* `CorporateHub <https://corporatehub.eu/>`__
|
||||
|
||||
* Alexey Pelykh <alexey.pelykh@corphub.eu>
|
||||
|
||||
* Saran Lim. <saranl@ecosoft.co.th>
|
||||
* Tharathip Chaweewongphan <tharathipc@ecosoft.co.th>
|
||||
* Ruchir Shukla <ruchir@bizzappdev.com>
|
||||
|
||||
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.
|
||||
|
||||
This module is part of the `OCA/project <https://github.com/OCA/project/tree/16.0/project_task_code>`_ project on GitHub.
|
||||
|
||||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from . import models
|
||||
from .hooks import pre_init_hook
|
||||
from .hooks import post_init_hook
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
# Copyright 2016 Tecnativa <vicent.cubells@tecnativa.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
{
|
||||
"name": "Sequential Code for Tasks",
|
||||
"version": "16.0.1.1.0",
|
||||
"category": "Project Management",
|
||||
"author": "OdooMRP team, "
|
||||
"AvanzOSC, "
|
||||
"Tecnativa, "
|
||||
"Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/project",
|
||||
"license": "AGPL-3",
|
||||
"depends": [
|
||||
"project",
|
||||
],
|
||||
"data": [
|
||||
"data/task_sequence.xml",
|
||||
"views/project_view.xml",
|
||||
],
|
||||
"installable": True,
|
||||
"pre_init_hook": "pre_init_hook",
|
||||
"post_init_hook": "post_init_hook",
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo noupdate="1">
|
||||
<!--
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
-->
|
||||
<record id="sequence_task" model="ir.sequence">
|
||||
<field name="name">Task code</field>
|
||||
<field name="code">project.task</field>
|
||||
<field eval="4" name="padding" />
|
||||
<field name="prefix">T</field>
|
||||
<field name="company_id" eval="False" />
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
# Copyright 2016 Tecnativa <vicent.cubells@tecnativa.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import SUPERUSER_ID, api
|
||||
|
||||
|
||||
def pre_init_hook(cr):
|
||||
"""
|
||||
With this pre-init-hook we want to avoid error when creating the UNIQUE
|
||||
code constraint when the module is installed and before the post-init-hook
|
||||
is launched.
|
||||
"""
|
||||
cr.execute("ALTER TABLE project_task ADD COLUMN code character varying;")
|
||||
cr.execute("UPDATE project_task SET code = id;")
|
||||
|
||||
|
||||
def post_init_hook(cr, registry):
|
||||
"""
|
||||
This post-init-hook will update all existing task assigning them the
|
||||
corresponding sequence code.
|
||||
"""
|
||||
env = api.Environment(cr, SUPERUSER_ID, dict())
|
||||
task_obj = env["project.task"]
|
||||
sequence_obj = env["ir.sequence"]
|
||||
tasks = task_obj.search([], order="id")
|
||||
for task_id in tasks.ids:
|
||||
cr.execute(
|
||||
"UPDATE project_task SET code = %s WHERE id = %s;",
|
||||
(
|
||||
sequence_obj.next_by_code("project.task"),
|
||||
task_id,
|
||||
),
|
||||
)
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: project (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-08-31 18:04+0000\n"
|
||||
"PO-Revision-Date: 2015-08-06 21:48+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: Arabic (http://www.transifex.com/oca/OCA-project-8-0/language/"
|
||||
"ar/)\n"
|
||||
"Language: ar\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
|
||||
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "مهمة"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 9.0c\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-12-23 03:43+0000\n"
|
||||
"PO-Revision-Date: 2016-12-23 03:43+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
|
||||
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
|
||||
"Language: bg\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"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr "Номерът трябва да е уникален!"
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0\n"
|
||||
"Report-Msgid-Bugs-To: \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: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr "<span class=\"oe_inline\"> - </span>"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Zadatak"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr "Broj zadatka"
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr "Šifra mora biti jedinstvena!"
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: project (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-08-31 18:04+0000\n"
|
||||
"PO-Revision-Date: 2022-04-13 11:05+0000\n"
|
||||
"Last-Translator: Noel estudillo <noelestudilloviera@gmail.com>\n"
|
||||
"Language-Team: Catalan (http://www.transifex.com/oca/OCA-project-8-0/"
|
||||
"language/ca/)\n"
|
||||
"Language: ca\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.3.2\n"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Tasca"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr "Número de tasca"
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr "El codi ha de ser únic!"
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 9.0c\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-12-23 03:43+0000\n"
|
||||
"PO-Revision-Date: 2016-12-23 03:43+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
|
||||
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
|
||||
"Language: de\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"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Aufgabe"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr "Aufgaben Nummer"
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr "Der Schlüssel muss eindeutig sein!"
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: project (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-08-31 18:04+0000\n"
|
||||
"PO-Revision-Date: 2015-08-06 21:48+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: Greek (http://www.transifex.com/oca/OCA-project-8-0/language/"
|
||||
"el/)\n"
|
||||
"Language: el\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"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Εργασία"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 9.0c\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-12-23 03:43+0000\n"
|
||||
"PO-Revision-Date: 2024-01-15 19:36+0000\n"
|
||||
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
|
||||
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\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: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr "<span class=\"oe_inline\"> - </span>"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Tarea"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr "Número de tarea"
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr "¡El número debe de ser único!"
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 14.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"PO-Revision-Date: 2024-01-17 02:52+0000\n"
|
||||
"Last-Translator: Ignacio Buioli <ibuioli@gmail.com>\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: es_AR\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: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr "<span class=\"oe_inline\"> - </span>"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Tarea"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr "Número de Tarea"
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr "¡El código debe ser único!"
|
||||
|
||||
#~ msgid "Display Name"
|
||||
#~ msgstr "Mostrar Nombre"
|
||||
|
||||
#~ msgid "ID"
|
||||
#~ msgstr "ID"
|
||||
|
||||
#~ msgid "Last Modified on"
|
||||
#~ msgstr "Última Modificación el"
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: project (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-08-31 18:04+0000\n"
|
||||
"PO-Revision-Date: 2015-08-06 21:48+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: Spanish (Costa Rica) (http://www.transifex.com/oca/OCA-"
|
||||
"project-8-0/language/es_CR/)\n"
|
||||
"Language: es_CR\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"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Tarea"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: project (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-08-31 18:04+0000\n"
|
||||
"PO-Revision-Date: 2021-09-29 23:34+0000\n"
|
||||
"Last-Translator: Jesús Alan Ramos Rodríguez <alan.ramos@jarsa.com.mx>\n"
|
||||
"Language-Team: Spanish (Mexico) (http://www.transifex.com/oca/OCA-"
|
||||
"project-8-0/language/es_MX/)\n"
|
||||
"Language: es_MX\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.3.2\n"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Tarea"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr "Número de Tareas"
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr "¡El código debe ser único!"
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: project (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-08-31 18:04+0000\n"
|
||||
"PO-Revision-Date: 2015-08-06 21:48+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: Spanish (Venezuela) (http://www.transifex.com/oca/OCA-"
|
||||
"project-8-0/language/es_VE/)\n"
|
||||
"Language: es_VE\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"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Tarea"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
# Miku Laitinen <miku.laitinen@gmail.com>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-01-13 03:39+0000\n"
|
||||
"PO-Revision-Date: 2017-01-13 03:39+0000\n"
|
||||
"Last-Translator: Miku Laitinen <miku.laitinen@gmail.com>, 2017\n"
|
||||
"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n"
|
||||
"Language: fi\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"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Tehtävä"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr "Tehtävän numero"
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr "Koodin on oltava uniikki!"
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 9.0c\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-12-23 03:43+0000\n"
|
||||
"PO-Revision-Date: 2016-12-23 03:43+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
|
||||
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
|
||||
"Language: fr\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"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Tâche"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr "Numéro de la tâche"
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr "Le code doit être unique!"
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 14.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"PO-Revision-Date: 2021-04-11 16:46+0000\n"
|
||||
"Last-Translator: Yves Le Doeuff <yld@alliasys.fr>\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: fr_FR\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.3.2\n"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Tâche"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr "Numéro de la tâche"
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr "Le code doit être unique!"
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: project (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-08-31 18:04+0000\n"
|
||||
"PO-Revision-Date: 2019-02-11 12:50+0000\n"
|
||||
"Last-Translator: Marta Vázquez Rodríguez <vazrodmar@gmail.com>\n"
|
||||
"Language-Team: Galician (http://www.transifex.com/oca/OCA-project-8-0/"
|
||||
"language/gl/)\n"
|
||||
"Language: gl\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 3.4\n"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Tarefa"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr "Número de tarea"
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr "O número debe de ser único!"
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
# Bole <bole@dajmi5.com>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-04-28 08:33+0000\n"
|
||||
"PO-Revision-Date: 2017-04-28 08:33+0000\n"
|
||||
"Last-Translator: Bole <bole@dajmi5.com>, 2017\n"
|
||||
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
|
||||
"Language: hr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Zadatak"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr "Broj zadatka"
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr "Šifra mora biti jedinstvena!"
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
# Bole <bole@dajmi5.com>, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 9.0c\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-12-23 03:43+0000\n"
|
||||
"PO-Revision-Date: 2016-12-23 03:43+0000\n"
|
||||
"Last-Translator: Bole <bole@dajmi5.com>, 2016\n"
|
||||
"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/"
|
||||
"hr_HR/)\n"
|
||||
"Language: hr_HR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Zadatak"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: project (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-08-31 18:04+0000\n"
|
||||
"PO-Revision-Date: 2015-08-06 21:48+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: Hungarian (http://www.transifex.com/oca/OCA-project-8-0/"
|
||||
"language/hu/)\n"
|
||||
"Language: hu\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"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Feladat"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2016
|
||||
# Paolo Valier <paolo.valier@hotmail.it>, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 9.0c\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-12-23 03:43+0000\n"
|
||||
"PO-Revision-Date: 2024-01-20 17:36+0000\n"
|
||||
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
|
||||
"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
|
||||
"Language: it\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: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr "<span class=\"oe_inline\"> - </span>"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Lavoro"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr "Numero lavoro"
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr "Il codice deve essere univoco!"
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: project (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-08-31 18:04+0000\n"
|
||||
"PO-Revision-Date: 2015-08-06 21:48+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: Japanese (http://www.transifex.com/oca/OCA-project-8-0/"
|
||||
"language/ja/)\n"
|
||||
"Language: ja\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "タスク"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: project (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-08-31 18:04+0000\n"
|
||||
"PO-Revision-Date: 2015-08-06 21:48+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: Lithuanian (http://www.transifex.com/oca/OCA-project-8-0/"
|
||||
"language/lt/)\n"
|
||||
"Language: lt\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n"
|
||||
"%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Užduotis"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: project (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-08-31 18:04+0000\n"
|
||||
"PO-Revision-Date: 2015-08-06 21:48+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: Latvian (http://www.transifex.com/oca/OCA-project-8-0/"
|
||||
"language/lv/)\n"
|
||||
"Language: lv\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
|
||||
"2);\n"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Uzdevums"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: project (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-08-31 18:04+0000\n"
|
||||
"PO-Revision-Date: 2015-08-06 21:48+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: Macedonian (http://www.transifex.com/oca/OCA-project-8-0/"
|
||||
"language/mk/)\n"
|
||||
"Language: mk\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Задача"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: project (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-08-31 18:04+0000\n"
|
||||
"PO-Revision-Date: 2015-08-06 21:48+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: Mongolian (http://www.transifex.com/oca/OCA-project-8-0/"
|
||||
"language/mn/)\n"
|
||||
"Language: mn\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"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Даалгавар"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
# Erwin van der Ploeg <erwin@odooexperts.nl>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-01-14 05:34+0000\n"
|
||||
"PO-Revision-Date: 2017-01-14 05:34+0000\n"
|
||||
"Last-Translator: Erwin van der Ploeg <erwin@odooexperts.nl>, 2017\n"
|
||||
"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n"
|
||||
"Language: nl\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"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Taak"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr "Taaknummer"
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr "De taaknummer moet uniek zijn!"
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
# Peter Hageman <hageman.p@gmail.com>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-06-17 02:52+0000\n"
|
||||
"PO-Revision-Date: 2017-06-17 02:52+0000\n"
|
||||
"Last-Translator: Peter Hageman <hageman.p@gmail.com>, 2017\n"
|
||||
"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/"
|
||||
"teams/23907/nl_NL/)\n"
|
||||
"Language: nl_NL\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"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Taak"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr "Taaknummer"
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr "De code moet uniek zijn!"
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: project (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-08-31 18:04+0000\n"
|
||||
"PO-Revision-Date: 2015-08-06 21:48+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: Polish (http://www.transifex.com/oca/OCA-project-8-0/language/"
|
||||
"pl/)\n"
|
||||
"Language: pl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
|
||||
"|| n%100>=20) ? 1 : 2);\n"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Zadanie"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0\n"
|
||||
"Report-Msgid-Bugs-To: \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: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 9.0c\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-12-23 03:43+0000\n"
|
||||
"PO-Revision-Date: 2016-12-23 03:43+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
|
||||
"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n"
|
||||
"Language: pt\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"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Tarefa"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr "Número Tarefa"
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr "O código tem que ser único!"
|
||||
|
|
@ -0,0 +1,45 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 9.0c\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-12-23 03:43+0000\n"
|
||||
"PO-Revision-Date: 2024-05-22 02:55+0000\n"
|
||||
"Last-Translator: Rodrigo Macedo <sottomaiormacedotec@users.noreply."
|
||||
"translation.odoo-community.org>\n"
|
||||
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/"
|
||||
"23907/pt_BR/)\n"
|
||||
"Language: pt_BR\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: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr "<span class=\"oe_inline\"> - </span>"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Tarefa"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr "Número da Tarefa"
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr "O código precisa ser único!"
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: project (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-09-08 09:57+0000\n"
|
||||
"PO-Revision-Date: 2015-08-06 21:48+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: Portuguese (Portugal) (http://www.transifex.com/oca/OCA-"
|
||||
"project-8-0/language/pt_PT/)\n"
|
||||
"Language: pt_PT\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"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Tarefa"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: project (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-08-31 18:04+0000\n"
|
||||
"PO-Revision-Date: 2015-08-06 21:48+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: Romanian (http://www.transifex.com/oca/OCA-project-8-0/"
|
||||
"language/ro/)\n"
|
||||
"Language: ro\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?"
|
||||
"2:1));\n"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Sarcina"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
# gebri <gebri@inmail.sk>, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 9.0c\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-12-23 03:43+0000\n"
|
||||
"PO-Revision-Date: 2016-12-23 03:43+0000\n"
|
||||
"Last-Translator: gebri <gebri@inmail.sk>, 2016\n"
|
||||
"Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n"
|
||||
"Language: sk\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr "Kód musí byť jedinečný!"
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 9.0c\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-12-23 03:43+0000\n"
|
||||
"PO-Revision-Date: 2016-12-23 03:43+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
|
||||
"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n"
|
||||
"Language: sl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
|
||||
"%100==4 ? 2 : 3);\n"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Opravilo"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr "Številka opravila"
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr "Koda mora biti unikatna!"
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: project (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-08-31 18:04+0000\n"
|
||||
"PO-Revision-Date: 2021-11-16 10:36+0000\n"
|
||||
"Last-Translator: Simon S <simon.stromberg@vertel.se>\n"
|
||||
"Language-Team: Swedish (http://www.transifex.com/oca/OCA-project-8-0/"
|
||||
"language/sv/)\n"
|
||||
"Language: sv\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.3.2\n"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Aktivitet"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr "Aktivitetsnummer"
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr "Koden måste vara unik!"
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
# Ivan BARAYEV <ivanbarayev@hotmail.com>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-01-13 03:39+0000\n"
|
||||
"PO-Revision-Date: 2017-01-13 03:39+0000\n"
|
||||
"Last-Translator: Ivan BARAYEV <ivanbarayev@hotmail.com>, 2017\n"
|
||||
"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n"
|
||||
"Language: tr\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"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Görev"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr "Görev Numarası"
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr "Kod benzersiz olmalı !"
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-05-23 02:44+0000\n"
|
||||
"PO-Revision-Date: 2017-05-23 02:44+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: Ukrainian (https://www.transifex.com/oca/teams/23907/uk/)\n"
|
||||
"Language: uk\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "Завдання"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * project_task_code
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: project (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-08-31 18:04+0000\n"
|
||||
"PO-Revision-Date: 2015-08-06 21:48+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-project-8-0/"
|
||||
"language/zh_CN/)\n"
|
||||
"Language: zh_CN\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model_terms:ir.ui.view,arch_db:project_task_code.project_task_code_form_view
|
||||
msgid "<span class=\"oe_inline\"> - </span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model,name:project_task_code.model_project_task
|
||||
msgid "Task"
|
||||
msgstr "任务"
|
||||
|
||||
#. module: project_task_code
|
||||
#: model:ir.model.fields,field_description:project_task_code.field_project_task__code
|
||||
msgid "Task Number"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_task_code
|
||||
#. odoo-python
|
||||
#: code:addons/project_task_code/models/project_task.py:0
|
||||
#: model:ir.model.constraint,message:project_task_code.constraint_project_task_project_task_unique_code
|
||||
#, python-format
|
||||
msgid "The code must be unique!"
|
||||
msgstr ""
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from . import project_task
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
# Copyright 2016 Tecnativa <vicent.cubells@tecnativa.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import _, api, fields, models
|
||||
|
||||
|
||||
class ProjectTask(models.Model):
|
||||
_inherit = "project.task"
|
||||
_rec_names_search = ["name", "code"]
|
||||
|
||||
code = fields.Char(
|
||||
string="Task Number",
|
||||
required=True,
|
||||
default="/",
|
||||
readonly=True,
|
||||
copy=False,
|
||||
)
|
||||
|
||||
_sql_constraints = [
|
||||
(
|
||||
"project_task_unique_code",
|
||||
"UNIQUE (company_id, code)",
|
||||
_("The code must be unique!"),
|
||||
),
|
||||
]
|
||||
|
||||
@api.model_create_multi
|
||||
def create(self, vals_list):
|
||||
for vals in vals_list:
|
||||
if vals.get("code", "/") == "/":
|
||||
vals["code"] = (
|
||||
self.env["ir.sequence"].next_by_code("project.task") or "/"
|
||||
)
|
||||
return super().create(vals_list)
|
||||
|
||||
def name_get(self):
|
||||
result = super().name_get()
|
||||
new_result = []
|
||||
|
||||
for task in result:
|
||||
rec = self.browse(task[0])
|
||||
name = "[{}] {}".format(rec.code, task[1])
|
||||
new_result.append((rec.id, name))
|
||||
return new_result
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
To change the task code sequence, you must:
|
||||
|
||||
#. Activate the developer mode.
|
||||
#. Go to Settings > Technical > Sequences & Identifiers > Sequences.
|
||||
#. Click on "Task code" sequence to edit.
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
* Oihane Crucelaegui <oihanecrucelaegi@avanzosc.es>
|
||||
* Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
|
||||
* Ana Juaristi <anajuarist@avanzosc.es>
|
||||
* Vicent Cubells <vicent.cubells@tecnativa.com>
|
||||
* Rodrigo Ferreira <rodrigosferreira91@gmail.com>
|
||||
* Damien Bouvy <dbo@odoo.com>
|
||||
* `CorporateHub <https://corporatehub.eu/>`__
|
||||
|
||||
* Alexey Pelykh <alexey.pelykh@corphub.eu>
|
||||
|
||||
* Saran Lim. <saranl@ecosoft.co.th>
|
||||
* Tharathip Chaweewongphan <tharathipc@ecosoft.co.th>
|
||||
* Ruchir Shukla <ruchir@bizzappdev.com>
|
||||
|
|
@ -0,0 +1 @@
|
|||
This module adds a sequential code for tasks.
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
To use this module, you need to:
|
||||
|
||||
#. Go to menu Project > Search > Tasks and create a new task, and you get a
|
||||
new code saving it.
|
||||
#. If you duplicate a task, you will get a new code for the new task.
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 9.2 KiB |
|
|
@ -0,0 +1,455 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
|
||||
<title>Sequential Code for Tasks</title>
|
||||
<style type="text/css">
|
||||
|
||||
/*
|
||||
:Author: David Goodger (goodger@python.org)
|
||||
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
|
||||
:Copyright: This stylesheet has been placed in the public domain.
|
||||
|
||||
Default cascading style sheet for the HTML output of Docutils.
|
||||
Despite the name, some widely supported CSS2 features are used.
|
||||
|
||||
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
|
||||
customize this style sheet.
|
||||
*/
|
||||
|
||||
/* used to remove borders from tables and images */
|
||||
.borderless, table.borderless td, table.borderless th {
|
||||
border: 0 }
|
||||
|
||||
table.borderless td, table.borderless th {
|
||||
/* Override padding for "table.docutils td" with "! important".
|
||||
The right padding separates the table cells. */
|
||||
padding: 0 0.5em 0 0 ! important }
|
||||
|
||||
.first {
|
||||
/* Override more specific margin styles with "! important". */
|
||||
margin-top: 0 ! important }
|
||||
|
||||
.last, .with-subtitle {
|
||||
margin-bottom: 0 ! important }
|
||||
|
||||
.hidden {
|
||||
display: none }
|
||||
|
||||
.subscript {
|
||||
vertical-align: sub;
|
||||
font-size: smaller }
|
||||
|
||||
.superscript {
|
||||
vertical-align: super;
|
||||
font-size: smaller }
|
||||
|
||||
a.toc-backref {
|
||||
text-decoration: none ;
|
||||
color: black }
|
||||
|
||||
blockquote.epigraph {
|
||||
margin: 2em 5em ; }
|
||||
|
||||
dl.docutils dd {
|
||||
margin-bottom: 0.5em }
|
||||
|
||||
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Uncomment (and remove this text!) to get bold-faced definition list terms
|
||||
dl.docutils dt {
|
||||
font-weight: bold }
|
||||
*/
|
||||
|
||||
div.abstract {
|
||||
margin: 2em 5em }
|
||||
|
||||
div.abstract p.topic-title {
|
||||
font-weight: bold ;
|
||||
text-align: center }
|
||||
|
||||
div.admonition, div.attention, div.caution, div.danger, div.error,
|
||||
div.hint, div.important, div.note, div.tip, div.warning {
|
||||
margin: 2em ;
|
||||
border: medium outset ;
|
||||
padding: 1em }
|
||||
|
||||
div.admonition p.admonition-title, div.hint p.admonition-title,
|
||||
div.important p.admonition-title, div.note p.admonition-title,
|
||||
div.tip p.admonition-title {
|
||||
font-weight: bold ;
|
||||
font-family: sans-serif }
|
||||
|
||||
div.attention p.admonition-title, div.caution p.admonition-title,
|
||||
div.danger p.admonition-title, div.error p.admonition-title,
|
||||
div.warning p.admonition-title, .code .error {
|
||||
color: red ;
|
||||
font-weight: bold ;
|
||||
font-family: sans-serif }
|
||||
|
||||
/* Uncomment (and remove this text!) to get reduced vertical space in
|
||||
compound paragraphs.
|
||||
div.compound .compound-first, div.compound .compound-middle {
|
||||
margin-bottom: 0.5em }
|
||||
|
||||
div.compound .compound-last, div.compound .compound-middle {
|
||||
margin-top: 0.5em }
|
||||
*/
|
||||
|
||||
div.dedication {
|
||||
margin: 2em 5em ;
|
||||
text-align: center ;
|
||||
font-style: italic }
|
||||
|
||||
div.dedication p.topic-title {
|
||||
font-weight: bold ;
|
||||
font-style: normal }
|
||||
|
||||
div.figure {
|
||||
margin-left: 2em ;
|
||||
margin-right: 2em }
|
||||
|
||||
div.footer, div.header {
|
||||
clear: both;
|
||||
font-size: smaller }
|
||||
|
||||
div.line-block {
|
||||
display: block ;
|
||||
margin-top: 1em ;
|
||||
margin-bottom: 1em }
|
||||
|
||||
div.line-block div.line-block {
|
||||
margin-top: 0 ;
|
||||
margin-bottom: 0 ;
|
||||
margin-left: 1.5em }
|
||||
|
||||
div.sidebar {
|
||||
margin: 0 0 0.5em 1em ;
|
||||
border: medium outset ;
|
||||
padding: 1em ;
|
||||
background-color: #ffffee ;
|
||||
width: 40% ;
|
||||
float: right ;
|
||||
clear: right }
|
||||
|
||||
div.sidebar p.rubric {
|
||||
font-family: sans-serif ;
|
||||
font-size: medium }
|
||||
|
||||
div.system-messages {
|
||||
margin: 5em }
|
||||
|
||||
div.system-messages h1 {
|
||||
color: red }
|
||||
|
||||
div.system-message {
|
||||
border: medium outset ;
|
||||
padding: 1em }
|
||||
|
||||
div.system-message p.system-message-title {
|
||||
color: red ;
|
||||
font-weight: bold }
|
||||
|
||||
div.topic {
|
||||
margin: 2em }
|
||||
|
||||
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
|
||||
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
|
||||
margin-top: 0.4em }
|
||||
|
||||
h1.title {
|
||||
text-align: center }
|
||||
|
||||
h2.subtitle {
|
||||
text-align: center }
|
||||
|
||||
hr.docutils {
|
||||
width: 75% }
|
||||
|
||||
img.align-left, .figure.align-left, object.align-left, table.align-left {
|
||||
clear: left ;
|
||||
float: left ;
|
||||
margin-right: 1em }
|
||||
|
||||
img.align-right, .figure.align-right, object.align-right, table.align-right {
|
||||
clear: right ;
|
||||
float: right ;
|
||||
margin-left: 1em }
|
||||
|
||||
img.align-center, .figure.align-center, object.align-center {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
table.align-center {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.align-left {
|
||||
text-align: left }
|
||||
|
||||
.align-center {
|
||||
clear: both ;
|
||||
text-align: center }
|
||||
|
||||
.align-right {
|
||||
text-align: right }
|
||||
|
||||
/* reset inner alignment in figures */
|
||||
div.align-right {
|
||||
text-align: inherit }
|
||||
|
||||
/* div.align-center * { */
|
||||
/* text-align: left } */
|
||||
|
||||
.align-top {
|
||||
vertical-align: top }
|
||||
|
||||
.align-middle {
|
||||
vertical-align: middle }
|
||||
|
||||
.align-bottom {
|
||||
vertical-align: bottom }
|
||||
|
||||
ol.simple, ul.simple {
|
||||
margin-bottom: 1em }
|
||||
|
||||
ol.arabic {
|
||||
list-style: decimal }
|
||||
|
||||
ol.loweralpha {
|
||||
list-style: lower-alpha }
|
||||
|
||||
ol.upperalpha {
|
||||
list-style: upper-alpha }
|
||||
|
||||
ol.lowerroman {
|
||||
list-style: lower-roman }
|
||||
|
||||
ol.upperroman {
|
||||
list-style: upper-roman }
|
||||
|
||||
p.attribution {
|
||||
text-align: right ;
|
||||
margin-left: 50% }
|
||||
|
||||
p.caption {
|
||||
font-style: italic }
|
||||
|
||||
p.credits {
|
||||
font-style: italic ;
|
||||
font-size: smaller }
|
||||
|
||||
p.label {
|
||||
white-space: nowrap }
|
||||
|
||||
p.rubric {
|
||||
font-weight: bold ;
|
||||
font-size: larger ;
|
||||
color: maroon ;
|
||||
text-align: center }
|
||||
|
||||
p.sidebar-title {
|
||||
font-family: sans-serif ;
|
||||
font-weight: bold ;
|
||||
font-size: larger }
|
||||
|
||||
p.sidebar-subtitle {
|
||||
font-family: sans-serif ;
|
||||
font-weight: bold }
|
||||
|
||||
p.topic-title {
|
||||
font-weight: bold }
|
||||
|
||||
pre.address {
|
||||
margin-bottom: 0 ;
|
||||
margin-top: 0 ;
|
||||
font: inherit }
|
||||
|
||||
pre.literal-block, pre.doctest-block, pre.math, pre.code {
|
||||
margin-left: 2em ;
|
||||
margin-right: 2em }
|
||||
|
||||
pre.code .ln { color: gray; } /* line numbers */
|
||||
pre.code, code { background-color: #eeeeee }
|
||||
pre.code .comment, code .comment { color: #5C6576 }
|
||||
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
|
||||
pre.code .literal.string, code .literal.string { color: #0C5404 }
|
||||
pre.code .name.builtin, code .name.builtin { color: #352B84 }
|
||||
pre.code .deleted, code .deleted { background-color: #DEB0A1}
|
||||
pre.code .inserted, code .inserted { background-color: #A3D289}
|
||||
|
||||
span.classifier {
|
||||
font-family: sans-serif ;
|
||||
font-style: oblique }
|
||||
|
||||
span.classifier-delimiter {
|
||||
font-family: sans-serif ;
|
||||
font-weight: bold }
|
||||
|
||||
span.interpreted {
|
||||
font-family: sans-serif }
|
||||
|
||||
span.option {
|
||||
white-space: nowrap }
|
||||
|
||||
span.pre {
|
||||
white-space: pre }
|
||||
|
||||
span.problematic, pre.problematic {
|
||||
color: red }
|
||||
|
||||
span.section-subtitle {
|
||||
/* font-size relative to parent (h1..h6 element) */
|
||||
font-size: 80% }
|
||||
|
||||
table.citation {
|
||||
border-left: solid 1px gray;
|
||||
margin-left: 1px }
|
||||
|
||||
table.docinfo {
|
||||
margin: 2em 4em }
|
||||
|
||||
table.docutils {
|
||||
margin-top: 0.5em ;
|
||||
margin-bottom: 0.5em }
|
||||
|
||||
table.footnote {
|
||||
border-left: solid 1px black;
|
||||
margin-left: 1px }
|
||||
|
||||
table.docutils td, table.docutils th,
|
||||
table.docinfo td, table.docinfo th {
|
||||
padding-left: 0.5em ;
|
||||
padding-right: 0.5em ;
|
||||
vertical-align: top }
|
||||
|
||||
table.docutils th.field-name, table.docinfo th.docinfo-name {
|
||||
font-weight: bold ;
|
||||
text-align: left ;
|
||||
white-space: nowrap ;
|
||||
padding-left: 0 }
|
||||
|
||||
/* "booktabs" style (no vertical lines) */
|
||||
table.docutils.booktabs {
|
||||
border: 0px;
|
||||
border-top: 2px solid;
|
||||
border-bottom: 2px solid;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table.docutils.booktabs * {
|
||||
border: 0px;
|
||||
}
|
||||
table.docutils.booktabs th {
|
||||
border-bottom: thin solid;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
|
||||
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
|
||||
font-size: 100% }
|
||||
|
||||
ul.auto-toc {
|
||||
list-style-type: none }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="document" id="sequential-code-for-tasks">
|
||||
<h1 class="title">Sequential Code for Tasks</h1>
|
||||
|
||||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:4597f906c0886b0b3a0022fdf54312744fe8011ed05bdbf2a0910de934cb8489
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/project/tree/16.0/project_task_code"><img alt="OCA/project" src="https://img.shields.io/badge/github-OCA%2Fproject-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_task_code"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/project&target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||
<p>This module adds a sequential code for tasks.</p>
|
||||
<p><strong>Table of contents</strong></p>
|
||||
<div class="contents local topic" id="contents">
|
||||
<ul class="simple">
|
||||
<li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li>
|
||||
<li><a class="reference internal" href="#usage" id="toc-entry-2">Usage</a></li>
|
||||
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-3">Bug Tracker</a></li>
|
||||
<li><a class="reference internal" href="#credits" id="toc-entry-4">Credits</a><ul>
|
||||
<li><a class="reference internal" href="#authors" id="toc-entry-5">Authors</a></li>
|
||||
<li><a class="reference internal" href="#contributors" id="toc-entry-6">Contributors</a></li>
|
||||
<li><a class="reference internal" href="#maintainers" id="toc-entry-7">Maintainers</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="configuration">
|
||||
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
|
||||
<p>To change the task code sequence, you must:</p>
|
||||
<ol class="arabic simple">
|
||||
<li>Activate the developer mode.</li>
|
||||
<li>Go to Settings > Technical > Sequences & Identifiers > Sequences.</li>
|
||||
<li>Click on “Task code” sequence to edit.</li>
|
||||
</ol>
|
||||
</div>
|
||||
<div class="section" id="usage">
|
||||
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
|
||||
<p>To use this module, you need to:</p>
|
||||
<p>#. Go to menu Project > Search > Tasks and create a new task, and you get a
|
||||
new code saving it.
|
||||
#. If you duplicate a task, you will get a new code for the new task.</p>
|
||||
</div>
|
||||
<div class="section" id="bug-tracker">
|
||||
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
|
||||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/project/issues">GitHub Issues</a>.
|
||||
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
|
||||
<a class="reference external" href="https://github.com/OCA/project/issues/new?body=module:%20project_task_code%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
||||
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
||||
</div>
|
||||
<div class="section" id="credits">
|
||||
<h1><a class="toc-backref" href="#toc-entry-4">Credits</a></h1>
|
||||
<div class="section" id="authors">
|
||||
<h2><a class="toc-backref" href="#toc-entry-5">Authors</a></h2>
|
||||
<ul class="simple">
|
||||
<li>OdooMRP team</li>
|
||||
<li>AvanzOSC</li>
|
||||
<li>Tecnativa</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="contributors">
|
||||
<h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
|
||||
<ul class="simple">
|
||||
<li>Oihane Crucelaegui <<a class="reference external" href="mailto:oihanecrucelaegi@avanzosc.es">oihanecrucelaegi@avanzosc.es</a>></li>
|
||||
<li>Pedro M. Baeza <<a class="reference external" href="mailto:pedro.baeza@serviciosbaeza.com">pedro.baeza@serviciosbaeza.com</a>></li>
|
||||
<li>Ana Juaristi <<a class="reference external" href="mailto:anajuarist@avanzosc.es">anajuarist@avanzosc.es</a>></li>
|
||||
<li>Vicent Cubells <<a class="reference external" href="mailto:vicent.cubells@tecnativa.com">vicent.cubells@tecnativa.com</a>></li>
|
||||
<li>Rodrigo Ferreira <<a class="reference external" href="mailto:rodrigosferreira91@gmail.com">rodrigosferreira91@gmail.com</a>></li>
|
||||
<li>Damien Bouvy <<a class="reference external" href="mailto:dbo@odoo.com">dbo@odoo.com</a>></li>
|
||||
<li><a class="reference external" href="https://corporatehub.eu/">CorporateHub</a><ul>
|
||||
<li>Alexey Pelykh <<a class="reference external" href="mailto:alexey.pelykh@corphub.eu">alexey.pelykh@corphub.eu</a>></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Saran Lim. <<a class="reference external" href="mailto:saranl@ecosoft.co.th">saranl@ecosoft.co.th</a>></li>
|
||||
<li>Tharathip Chaweewongphan <<a class="reference external" href="mailto:tharathipc@ecosoft.co.th">tharathipc@ecosoft.co.th</a>></li>
|
||||
<li>Ruchir Shukla <<a class="reference external" href="mailto:ruchir@bizzappdev.com">ruchir@bizzappdev.com</a>></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="maintainers">
|
||||
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
|
||||
<p>This module is maintained by the OCA.</p>
|
||||
<a class="reference external image-reference" href="https://odoo-community.org">
|
||||
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
|
||||
</a>
|
||||
<p>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.</p>
|
||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/project/tree/16.0/project_task_code">OCA/project</a> project on GitHub.</p>
|
||||
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from . import test_project_task_code
|
||||
|
|
@ -0,0 +1,73 @@
|
|||
# Copyright 2016 Tecnativa <vicent.cubells@tecnativa.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
import odoo.tests.common as common
|
||||
|
||||
|
||||
class TestProjectTaskCode(common.TransactionCase):
|
||||
def setUp(self):
|
||||
super().setUp()
|
||||
self.project_task_model = self.env["project.task"]
|
||||
self.ir_sequence_model = self.env["ir.sequence"]
|
||||
self.task_sequence = self.env.ref("project_task_code.sequence_task")
|
||||
self.project_task = self.env.ref("project.project_1_task_1")
|
||||
|
||||
def test_old_task_code_assign(self):
|
||||
project_tasks = self.project_task_model.search([])
|
||||
for project_task in project_tasks:
|
||||
self.assertNotEqual(project_task.code, "/")
|
||||
|
||||
def test_new_task_code_assign(self):
|
||||
number_next = self.task_sequence.number_next_actual
|
||||
code = self.task_sequence.get_next_char(number_next)
|
||||
project_task = self.project_task_model.create(
|
||||
{
|
||||
"name": "Testing task code",
|
||||
}
|
||||
)
|
||||
self.assertNotEqual(project_task.code, "/")
|
||||
self.assertEqual(project_task.code, code)
|
||||
|
||||
def test_name_get(self):
|
||||
number_next = self.task_sequence.number_next_actual
|
||||
code = self.task_sequence.get_next_char(number_next)
|
||||
project_task = self.project_task_model.create(
|
||||
{
|
||||
"name": "Task Testing Get Name",
|
||||
}
|
||||
)
|
||||
result = project_task.name_get()
|
||||
self.assertEqual(result[0][1], "[%s] Task Testing Get Name" % code)
|
||||
|
||||
def test_name_search(self):
|
||||
project_task = self.env["project.task"].create(
|
||||
{"name": "Such Much Task", "code": "TEST-123"}
|
||||
)
|
||||
|
||||
result = project_task.name_search("TEST-123")
|
||||
self.assertIn(
|
||||
project_task.id,
|
||||
map(lambda x: x[0], result),
|
||||
f"Task with code {project_task.code} should be in the results",
|
||||
)
|
||||
|
||||
result = project_task.name_search("TEST")
|
||||
self.assertIn(
|
||||
project_task.id,
|
||||
map(lambda x: x[0], result),
|
||||
f"Task with code {project_task.code} should be in the results",
|
||||
)
|
||||
|
||||
result = project_task.name_search("much")
|
||||
self.assertIn(
|
||||
project_task.id,
|
||||
map(lambda x: x[0], result),
|
||||
f"Task with code {project_task.code} should be in the results",
|
||||
)
|
||||
|
||||
result = project_task.name_search("20232")
|
||||
self.assertNotIn(
|
||||
project_task.id,
|
||||
map(lambda x: x[0], result),
|
||||
f"Task with code {project_task.code} should not be in the results",
|
||||
)
|
||||
|
|
@ -0,0 +1,55 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<record id="project_task_code_form_view" model="ir.ui.view">
|
||||
<field name="name">project.task.code.form</field>
|
||||
<field name="model">project.task</field>
|
||||
<field name="inherit_id" ref="project.view_task_form2" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="name" position="before">
|
||||
<field name="code" class="oe_inline" />
|
||||
<span class="oe_inline"> - </span>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
<record id="project_task_code_tree_view" model="ir.ui.view">
|
||||
<field name="name">project.task.code.tree</field>
|
||||
<field name="model">project.task</field>
|
||||
<field name="inherit_id" ref="project.view_task_tree2" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="name" position="before">
|
||||
<field name="code" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
<record id="project_task_code_kanban_view" model="ir.ui.view">
|
||||
<field name="name">project.task.code.kanban</field>
|
||||
<field name="model">project.task</field>
|
||||
<field name="inherit_id" ref="project.view_task_kanban" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath
|
||||
expr="//strong[hasclass('o_kanban_record_title')]/t/field[@name='name']"
|
||||
position="before"
|
||||
>
|
||||
<span>[<field name="code" />] </span>
|
||||
</xpath>
|
||||
<xpath
|
||||
expr="//strong[hasclass('o_kanban_record_title')]/s/field[@name='name']"
|
||||
position="before"
|
||||
>
|
||||
<span>[<field name="code" />] </span>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
<record id="project_task_code_search_view" model="ir.ui.view">
|
||||
<field name="name">project.task.code.search</field>
|
||||
<field name="model">project.task</field>
|
||||
<field name="inherit_id" ref="project.view_task_search_form" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="name" position="attributes">
|
||||
<attribute name="filter_domain">['|', ('name', 'ilike', self),
|
||||
('code', 'ilike', self)]
|
||||
</attribute>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
42
odoo-bringout-oca-project-project_task_code/pyproject.toml
Normal file
42
odoo-bringout-oca-project-project_task_code/pyproject.toml
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
[project]
|
||||
name = "odoo-bringout-oca-project-project_task_code"
|
||||
version = "16.0.0"
|
||||
description = "Sequential Code for Tasks - Odoo addon"
|
||||
authors = [
|
||||
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
|
||||
]
|
||||
dependencies = [
|
||||
"odoo-bringout-oca-ocb-project>=16.0.0",
|
||||
"requests>=2.25.1"
|
||||
]
|
||||
readme = "README.md"
|
||||
requires-python = ">= 3.11"
|
||||
classifiers = [
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Topic :: Office/Business",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
homepage = "https://github.com/bringout/0"
|
||||
repository = "https://github.com/bringout/0"
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.metadata]
|
||||
allow-direct-references = true
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["project_task_code"]
|
||||
|
||||
[tool.rye]
|
||||
managed = true
|
||||
dev-dependencies = [
|
||||
"pytest>=8.4.1",
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue