Skip to content

Commit c5d7674

Browse files
committed
✨ product_template_attribute_line
1 parent 9a77352 commit c5d7674

File tree

17 files changed

+774
-0
lines changed

17 files changed

+774
-0
lines changed
Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
=====================================
2+
Product Template Attribute Lines Menu
3+
=====================================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:fdec833460da026c1c5e41298152df57ef0efcbb741b5718a833b6d1e4b4ad35
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-LGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
18+
:alt: License: LGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OdooDataFlow%2Faddons-lightgray.png?logo=github
20+
:target: https://github.com/OdooDataFlow/addons/tree/18.0/product_template_attribute_line
21+
:alt: OdooDataFlow/addons
22+
23+
|badge1| |badge2| |badge3|
24+
25+
Product Template Attribute Lines Menu
26+
=====================================
27+
28+
This Odoo module enhances the user interface by providing a dedicated
29+
menu item for managing ``product.template.attribute.line`` records. This
30+
improves accessibility and streamlines workflows related to product
31+
attribute configuration.
32+
33+
Features
34+
--------
35+
36+
- **Dedicated Menu Item:**
37+
38+
- Adds a new menu item labeled "Product Template Attribute Lines."
39+
- This menu item is located under **Sales > Configuration >
40+
Products**, providing a clear and logical placement for users
41+
working with product attributes.
42+
43+
- **Direct Access to List View:**
44+
45+
- The menu item opens a list view of the
46+
``product.template.attribute.line`` model.
47+
- This allows users to quickly view, search, and manage existing
48+
attribute lines.
49+
50+
- **Enabled Record Creation:**
51+
52+
- The module overrides the default tree view of
53+
``product.template.attribute.line`` to enable the creation of new
54+
records directly from the list view.
55+
- This simplifies the process of adding new attribute lines,
56+
especially when importing data or configuring products.
57+
58+
Benefits
59+
--------
60+
61+
- **Improved User Experience:** Provides a more intuitive and efficient
62+
way to access and manage product template attribute lines.
63+
- **Streamlined Workflows:** Reduces the number of clicks and
64+
navigation steps required for common attribute configuration tasks.
65+
- **Simplified Data Import:** Facilitates the import of
66+
``product.template.attribute.line`` data by enabling direct creation
67+
of records from the list view.
68+
69+
Usage
70+
-----
71+
72+
After installing the module, navigate to **Sales > Configuration >
73+
Products** to find the new "Product Template Attribute Lines" menu item.
74+
75+
Technical Details
76+
-----------------
77+
78+
- The module defines an ``ir.actions.act_window`` action to open the
79+
list view of ``product.template.attribute.line``.
80+
- It overrides the default tree view of
81+
``product.template.attribute.line`` to set the ``create`` attribute
82+
to "1", enabling record creation.
83+
84+
**Table of contents**
85+
86+
.. contents::
87+
:local:
88+
89+
Use Cases / Context
90+
===================
91+
92+
Purpose:
93+
--------
94+
95+
The module adds a Adds a menu item for product.template.attribute.line
96+
for easier debugging of product variants.
97+
98+
Installation
99+
============
100+
101+
102+
103+
Configuration
104+
=============
105+
106+
To configure this module, you need to:
107+
108+
1. Ensure that the ``product`` module is installed in your Odoo
109+
instance, as this module is a dependency.
110+
2. Place the ``product_template_attribute_line`` module directory in
111+
your Odoo addons path.
112+
3. Install the ``product_template_attribute_line`` module through the
113+
Odoo Apps interface.
114+
115+
Usage
116+
=====
117+
118+
119+
120+
Known issues / Roadmap
121+
======================
122+
123+
124+
125+
Changelog
126+
=========
127+
128+
129+
130+
Bug Tracker
131+
===========
132+
133+
Bugs are tracked on `GitHub Issues <https://github.com/OdooDataFlow/addons/issues>`_.
134+
In case of trouble, please check there if your issue has already been reported.
135+
If you spotted it first, help us to smash it by providing a detailed and welcomed
136+
`feedback <https://github.com/OdooDataFlow/addons/issues/new?body=module:%20product_template_attribute_line%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
137+
138+
Do not contact contributors directly about support or help with technical issues.
139+
140+
Credits
141+
=======
142+
143+
Authors
144+
-------
145+
146+
* Odoo Data Flow
147+
148+
Contributors
149+
------------
150+
151+
- bosd
152+
153+
Other credits
154+
-------------
155+
156+
157+
158+
Maintainers
159+
-----------
160+
161+
This module is part of the `OdooDataFlow/addons <https://github.com/OdooDataFlow/addons/tree/18.0/product_template_attribute_line>`_ project on GitHub.
162+
163+
You are welcome to contribute.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 OBS Solutions B.V. (<https://www.obs-solutions.com>)
3+
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
4+
5+
# Please do not inherit from this module
6+
# from . import models
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 Odoo Data Flow
3+
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
4+
5+
{
6+
'name': 'Product Template Attribute Lines Menu',
7+
'version': '18.0',
8+
'summary': 'Adds a menu item for product.template.attribute.line',
9+
'author': 'Odoo Data Flow',
10+
'website': 'https://github.com/OdooDataFlow/addons',
11+
'category': 'Technical Settings',
12+
'version': '18.0.1.0.0',
13+
'depends': [
14+
'product',
15+
# 'sale_management',
16+
17+
],
18+
# 'excludes': ['product_barcodelookup',],
19+
'data': ['views/product_template_attribute_line_views.xml',],
20+
'license': 'LGPL-3',
21+
'installable': True,
22+
'cloc_exclude': [
23+
]
24+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
To configure this module, you need to:
3+
4+
1. Ensure that the `product` module is installed in your Odoo instance, as this module is a dependency.
5+
2. Place the `product_template_attribute_line` module directory in your Odoo addons path.
6+
3. Install the `product_template_attribute_line` module through the Odoo Apps interface.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## Purpose:
2+
3+
The module adds a Adds a menu item for product.template.attribute.line for easier debugging of product variants.
4+
5+
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- bosd
2+

product_template_attribute_line/readme/CREDITS.md

Whitespace-only changes.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Product Template Attribute Lines Menu
2+
3+
This Odoo module enhances the user interface by providing a dedicated menu item for managing `product.template.attribute.line` records. This improves accessibility and streamlines workflows related to product attribute configuration.
4+
5+
## Features
6+
7+
* **Dedicated Menu Item:**
8+
* Adds a new menu item labeled "Product Template Attribute Lines."
9+
* This menu item is located under **Sales > Configuration > Products**, providing a clear and logical placement for users working with product attributes.
10+
11+
* **Direct Access to List View:**
12+
* The menu item opens a list view of the `product.template.attribute.line` model.
13+
* This allows users to quickly view, search, and manage existing attribute lines.
14+
15+
* **Enabled Record Creation:**
16+
* The module overrides the default tree view of `product.template.attribute.line` to enable the creation of new records directly from the list view.
17+
* This simplifies the process of adding new attribute lines, especially when importing data or configuring products.
18+
19+
## Benefits
20+
21+
* **Improved User Experience:** Provides a more intuitive and efficient way to access and manage product template attribute lines.
22+
* **Streamlined Workflows:** Reduces the number of clicks and navigation steps required for common attribute configuration tasks.
23+
* **Simplified Data Import:** Facilitates the import of `product.template.attribute.line` data by enabling direct creation of records from the list view.
24+
25+
## Usage
26+
27+
After installing the module, navigate to **Sales > Configuration > Products** to find the new "Product Template Attribute Lines" menu item.
28+
29+
## Technical Details
30+
31+
* The module defines an `ir.actions.act_window` action to open the list view of `product.template.attribute.line`.
32+
* It overrides the default tree view of `product.template.attribute.line` to set the `create` attribute to "1", enabling record creation.

product_template_attribute_line/readme/HISTORY.md

Whitespace-only changes.

0 commit comments

Comments
 (0)