Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 97 additions & 0 deletions lims_bromatology/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
================
LIMS Bromotology
================

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

.. |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%2Fconnector--lims-lightgray.png?logo=github
:target: https://github.com/OCA/connector-lims/tree/18.0/lims_bromatology
:alt: OCA/connector-lims
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/connector-lims-18-0/connector-lims-18-0-lims_bromatology
: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/connector-lims&target_branch=18.0
:alt: Try me on Runboat

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

**Features**
------------

- Introduces new ``stage_type`` = *Bromatology*.
- Defines standard stages: New → Reception → Drying → Grinding →
Analysis → Validation → Done.
- Integrates with ``lims_stock`` for specimen tracking.

**Table of contents**

.. contents::
:local:

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

Adds configuration and workflow stages to support Bromatology (food
composition) analysis in LIMS.

Usage
=====

The ``lims_bromatology`` module extends the LIMS system to support
**bromatology** workflows (food and chemical composition analysis).

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/connector-lims/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/connector-lims/issues/new?body=module:%20lims_bromatology%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Open Source Integrators

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

- Rodrigo Madrid rmadrid@opensourceintegrators.com
- Adriana Alpizar aalpizar@opensourceintegrators.com
- Maxime Chambreuil mchambreuil@opensourceintegrators.com
- Hardik Suthar hsuthar@opensourceintegrators.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/connector-lims <https://github.com/OCA/connector-lims/tree/18.0/lims_bromatology>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions lims_bromatology/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
15 changes: 15 additions & 0 deletions lims_bromatology/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "LIMS Bromotology",
"version": "18.0.1.0.0",
"summary": "Track specimens using Bromotology for LIMS",
"author": "Open Source Integrators, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/connector-lims",
"license": "AGPL-3",
"category": "LIMS",
"depends": ["lims", "lims_stock"],
"data": [
"data/lims_stage_data.xml",
],
"installable": True,
"application": False,
}
55 changes: 55 additions & 0 deletions lims_bromatology/data/lims_stage_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Bromatology Stages -->
<record id="lims_stage_bromatology_new" model="lims.stage">
<field name="name">New</field>
<field name="sequence">1</field>
<field name="stage_type">bromatology</field>
<field name="description">Initial creation of the bromatology order.</field>
<field name="is_default">True</field>
<field name="company_id" eval="False"/>
</record>

<record id="lims_stage_bromatology_reception" model="lims.stage">
<field name="name">Reception</field>
<field name="sequence">2</field>
<field name="stage_type">bromatology</field>
<field name="description">Sample reception and labeling.</field>
</record>

<record id="lims_stage_bromatology_drying" model="lims.stage">
<field name="name">Drying</field>
<field name="sequence">3</field>
<field name="stage_type">bromatology</field>
<field name="description">Sample drying process before grinding.</field>
</record>

<record id="lims_stage_bromatology_grinding" model="lims.stage">
<field name="name">Grinding</field>
<field name="sequence">4</field>
<field name="stage_type">bromatology</field>
<field name="description">Sample grinding for uniform analysis.</field>
</record>

<record id="lims_stage_bromatology_analysis" model="lims.stage">
<field name="name">Analysis</field>
<field name="sequence">5</field>
<field name="stage_type">bromatology</field>
<field name="description">Performing bromatology tests and measurements.</field>
</record>

<record id="lims_stage_bromatology_validation" model="lims.stage">
<field name="name">Validation</field>
<field name="sequence">6</field>
<field name="stage_type">bromatology</field>
<field name="description">Validation and quality control of analysis results.</field>
</record>

<record id="lims_stage_bromatology_done" model="lims.stage">
<field name="name">Done</field>
<field name="sequence">7</field>
<field name="stage_type">bromatology</field>
<field name="description">Bromatology process completed successfully.</field>
<field name="is_closed">True</field>
</record>
</odoo>
1 change: 1 addition & 0 deletions lims_bromatology/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import lims_stage
10 changes: 10 additions & 0 deletions lims_bromatology/models/lims_stage.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from odoo import fields, models


class LimsStage(models.Model):
_inherit = "lims.stage"

stage_type = fields.Selection(
selection_add=[("bromatology", "Bromatology")],
ondelete={"bromatology": "cascade"},
)
3 changes: 3 additions & 0 deletions lims_bromatology/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
1 change: 1 addition & 0 deletions lims_bromatology/readme/CONFIGURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Adds configuration and workflow stages to support Bromatology (food composition) analysis in LIMS.
4 changes: 4 additions & 0 deletions lims_bromatology/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Rodrigo Madrid <rmadrid@opensourceintegrators.com>
- Adriana Alpizar <aalpizar@opensourceintegrators.com>
- Maxime Chambreuil <mchambreuil@opensourceintegrators.com>
- Hardik Suthar <hsuthar@opensourceintegrators.com>
6 changes: 6 additions & 0 deletions lims_bromatology/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
**Features**
-------------
* Introduces new ``stage_type`` = *Bromatology*.
* Defines standard stages:
New → Reception → Drying → Grinding → Analysis → Validation → Done.
* Integrates with ``lims_stock`` for specimen tracking.
1 change: 1 addition & 0 deletions lims_bromatology/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The `lims_bromatology` module extends the LIMS system to support **bromatology** workflows (food and chemical composition analysis).
Loading
Loading