Skip to content

Commit d104027

Browse files
committed
ADD fs_product module
1 parent d8011e8 commit d104027

File tree

8 files changed

+107
-0
lines changed

8 files changed

+107
-0
lines changed

fs_product/README.rst

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
====================
2+
File Storage Product
3+
====================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:52c640f52b9abc156f6a42b7f9109cafcff0ed98bc477e81c404fb10ac023b8a
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-Akretion%2Fak--odoo--incubator-lightgray.png?logo=github
20+
:target: https://github.com/Akretion/ak-odoo-incubator/tree/16.0/fs_product
21+
:alt: Akretion/ak-odoo-incubator
22+
23+
|badge1| |badge2| |badge3|
24+
25+
Usability additional module for File Storage module
26+
27+
- filters on products
28+
29+
**Table of contents**
30+
31+
.. contents::
32+
:local:
33+
34+
Bug Tracker
35+
===========
36+
37+
Bugs are tracked on `GitHub Issues <https://github.com/Akretion/ak-odoo-incubator/issues>`_.
38+
In case of trouble, please check there if your issue has already been reported.
39+
If you spotted it first, help us to smash it by providing a detailed and welcomed
40+
`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**>`_.
41+
42+
Do not contact contributors directly about support or help with technical issues.
43+
44+
Credits
45+
=======
46+
47+
Authors
48+
~~~~~~~
49+
50+
* Akretion
51+
52+
Maintainers
53+
~~~~~~~~~~~
54+
55+
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.
56+
57+
You are welcome to contribute.

fs_product/__init__.py

Whitespace-only changes.

fs_product/__manifest__.py

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "File Storage Product",
3+
"version": "16.0.1.0.0",
4+
"author": "Akretion",
5+
"category": "Product",
6+
"depends": [
7+
"fs_product_multi_image", # OCA/storage
8+
],
9+
"website": "https://github.com/akretion/ak-odoo-incubator",
10+
"data": [
11+
"views/product_template.xml",
12+
],
13+
"maintainer": ["bealdav"],
14+
"license": "AGPL-3",
15+
"installable": True,
16+
}

fs_product/readme/DESCRIPTION.rst

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Usability additional module for File Storage module
2+
3+
- filters on products

fs_product/views/product_template.xml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<odoo>
3+
4+
<record id="product_template_search_view" model="ir.ui.view">
5+
<field name="model">product.template</field>
6+
<field name="inherit_id" ref="product.product_template_search_view" />
7+
<field name="arch" type="xml">
8+
<filter name="favorites" position="after">
9+
<filter
10+
string="With Image"
11+
name="with_image"
12+
domain="[('main_image_id', '!=', False)]"
13+
/>
14+
<filter
15+
string="Without Image"
16+
name="without_image"
17+
domain="[('main_image_id', '=', False)]"
18+
/>
19+
</filter>
20+
</field>
21+
</record>
22+
23+
</odoo>

oca_dependencies.txt

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
sale-workflow
33
stock-logistics-workflow
44
account-reconcile
5+
storage
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../fs_product

setup/fs_product/setup.py

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import setuptools
2+
3+
setuptools.setup(
4+
setup_requires=['setuptools-odoo'],
5+
odoo_addon=True,
6+
)

0 commit comments

Comments
 (0)