Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
VoicuStefan2001 authored Nov 28, 2023
1 parent f079bf4 commit ef1af14
Show file tree
Hide file tree
Showing 100 changed files with 4,116 additions and 0 deletions.
63 changes: 63 additions & 0 deletions deltatech_data_sheet/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
==================
Product Data Sheet
==================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:13973f7ab46877e08e34e88f1072940cb45abdc733ef63b23ddcc002b10909a4
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |badge2| image:: https://img.shields.io/badge/licence-OPL--1-blue.png
:target: https://www.odoo.com/documentation/master/legal/licenses.html
:alt: License: OPL-1
.. |badge3| image:: https://img.shields.io/badge/github-dhongu%2Fdeltatech-lightgray.png?logo=github
:target: https://github.com/dhongu/deltatech/tree/17.0/deltatech_data_sheet
:alt: dhongu/deltatech

|badge1| |badge2| |badge3|


**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/dhongu/deltatech/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/dhongu/deltatech/issues/new?body=module:%20deltatech_data_sheet%0Aversion:%2017.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
~~~~~~~

* Terrabit
* Dorin Hongu

Maintainers
~~~~~~~~~~~

.. |maintainer-dhongu| image:: https://github.com/dhongu.png?size=40px
:target: https://github.com/dhongu
:alt: dhongu

Current maintainer:

|maintainer-dhongu|

This module is part of the `dhongu/deltatech <https://github.com/dhongu/deltatech/tree/17.0/deltatech_data_sheet>`_ project on GitHub.

You are welcome to contribute.
4 changes: 4 additions & 0 deletions deltatech_data_sheet/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# © 2008-2021 Deltatech
# See README.rst file on addons root folder for license details

from . import models
18 changes: 18 additions & 0 deletions deltatech_data_sheet/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# © 2008-2021 Deltatech
# See README.rst file on addons root folder for license details

{
"name": "Product Data Sheet",
"summary": "Data Sheet",
"version": "17.0.1.0.0",
"author": "Terrabit, Dorin Hongu",
"website": "https://www.terrabit.ro",
"category": "Administration",
"depends": ["product"],
"license": "OPL-1",
"data": ["views/product_view.xml"],
"images": ["static/description/main_screenshot.png"],
"installable": True,
"development_status": "Production/Stable",
"maintainers": ["dhongu"],
}
Binary file not shown.
35 changes: 35 additions & 0 deletions deltatech_data_sheet/i18n/ro.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * deltatech_data_sheet
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0+ec\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-03-15 10:19+0000\n"
"PO-Revision-Date: 2020-03-15 10:19+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: deltatech_data_sheet
#: model:ir.model.fields,field_description:deltatech_data_sheet.field_product_product__data_sheet_id
#: model:ir.model.fields,field_description:deltatech_data_sheet.field_product_template__data_sheet_id
#: model_terms:ir.ui.view,arch_db:deltatech_data_sheet.product_template_form_view
msgid "Data Sheet"
msgstr "Fișă tehnică"

#. module: deltatech_data_sheet
#: model:ir.model,name:deltatech_data_sheet.model_product_template
msgid "Product Template"
msgstr "Șablon produs"

#. module: deltatech_data_sheet
#: model:ir.model.fields,field_description:deltatech_data_sheet.field_product_product__safety_data_sheet_id
#: model:ir.model.fields,field_description:deltatech_data_sheet.field_product_template__safety_data_sheet_id
msgid "Safety Data Sheet"
msgstr "Fișă securitate"

4 changes: 4 additions & 0 deletions deltatech_data_sheet/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# © 2008-2021 Deltatech
# See README.rst file on addons root folder for license details

from . import product
Binary file not shown.
Binary file not shown.
21 changes: 21 additions & 0 deletions deltatech_data_sheet/models/product.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# © 2008-2021 Deltatech
# See README.rst file on addons root folder for license details

from odoo import fields, models


class ProductTemplate(models.Model):
_inherit = "product.template"

# {'default_public':True,'default_res_model':'ir.ui.view'}
data_sheet_id = fields.Many2one(
"ir.attachment",
string="Data Sheet Attachment",
domain=[("mimetype", "=", "application/pdf"), ("public", "=", True)],
)

safety_data_sheet_id = fields.Many2one(
"ir.attachment",
string="Safety Data Sheet",
domain=[("mimetype", "=", "application/pdf"), ("public", "=", True)],
)
Empty file.
Binary file added deltatech_data_sheet/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ef1af14

Please sign in to comment.