Skip to content

Commit

Permalink
ADD fs_product module
Browse files Browse the repository at this point in the history
  • Loading branch information
bealdav committed Jul 9, 2024
1 parent d8011e8 commit d104027
Show file tree
Hide file tree
Showing 8 changed files with 107 additions and 0 deletions.
57 changes: 57 additions & 0 deletions fs_product/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
====================
File Storage Product
====================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:52c640f52b9abc156f6a42b7f9109cafcff0ed98bc477e81c404fb10ac023b8a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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-Akretion%2Fak--odoo--incubator-lightgray.png?logo=github
:target: https://github.com/Akretion/ak-odoo-incubator/tree/16.0/fs_product
:alt: Akretion/ak-odoo-incubator

|badge1| |badge2| |badge3|

Usability additional module for File Storage module

- filters on products

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/Akretion/ak-odoo-incubator/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/Akretion/ak-odoo-incubator/issues/new?body=module:%20fs_product%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
~~~~~~~

* Akretion

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

This module is part of the `Akretion/ak-odoo-incubator <https://github.com/Akretion/ak-odoo-incubator/tree/16.0/fs_product>`_ project on GitHub.

You are welcome to contribute.
Empty file added fs_product/__init__.py
Empty file.
16 changes: 16 additions & 0 deletions fs_product/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "File Storage Product",
"version": "16.0.1.0.0",
"author": "Akretion",
"category": "Product",
"depends": [
"fs_product_multi_image", # OCA/storage
],
"website": "https://github.com/akretion/ak-odoo-incubator",
"data": [
"views/product_template.xml",
],
"maintainer": ["bealdav"],
"license": "AGPL-3",
"installable": True,
}
3 changes: 3 additions & 0 deletions fs_product/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Usability additional module for File Storage module

- filters on products
23 changes: 23 additions & 0 deletions fs_product/views/product_template.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>

<record id="product_template_search_view" model="ir.ui.view">
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_search_view" />
<field name="arch" type="xml">
<filter name="favorites" position="after">
<filter
string="With Image"
name="with_image"
domain="[('main_image_id', '!=', False)]"
/>
<filter
string="Without Image"
name="without_image"
domain="[('main_image_id', '=', False)]"
/>
</filter>
</field>
</record>

</odoo>
1 change: 1 addition & 0 deletions oca_dependencies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
sale-workflow
stock-logistics-workflow
account-reconcile
storage
1 change: 1 addition & 0 deletions setup/fs_product/odoo/addons/fs_product
6 changes: 6 additions & 0 deletions setup/fs_product/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit d104027

Please sign in to comment.