Browse Source

Aug 24 [FIX] : Bug Fixed 'product_brand_inventory'

pull/280/head
AjmalCybro 2 years ago
parent
commit
da633c4d15
  1. BIN
      dark_mode_backend/static/description/assets/icons/._.DS_Store
  2. BIN
      gstin_verification_api/static/description/assets/.DS_Store
  3. BIN
      gstin_verification_api/static/description/assets/screenshots/.DS_Store
  4. BIN
      jazzy_backend_theme/static/description/assets/._.DS_Store
  5. BIN
      master_search/static/description/assets/icons/._.DS_Store
  6. BIN
      multicolor_backend_theme/static/description/assets/icons/._.DS_Store
  7. BIN
      multiple_order_confirm/.DS_Store
  8. BIN
      multiple_order_confirm/static/.DS_Store
  9. BIN
      multiple_order_confirm/static/description/.DS_Store
  10. BIN
      multiple_order_confirm/static/description/assets/.DS_Store
  11. BIN
      multiple_order_confirm/static/description/assets/modules/.DS_Store
  12. BIN
      orange_theme_odoo12/static/description/assets/._.DS_Store
  13. 23
      product_brand_inventory/README.rst
  14. 7
      product_brand_inventory/__manifest__.py
  15. 8
      product_brand_inventory/doc/RELEASE_NOTES.md
  16. 20
      product_brand_inventory/models/__init__.py
  17. 51
      product_brand_inventory/views/brand_views.xml
  18. BIN
      product_to_invoice/.DS_Store
  19. BIN
      product_to_invoice/static/.DS_Store
  20. BIN
      product_to_invoice/static/description/.DS_Store
  21. BIN
      product_to_invoice/static/description/assets/.DS_Store
  22. BIN
      product_to_invoice/static/description/assets/modules/.DS_Store
  23. BIN
      vista_backend_theme/static/description/assets/._.DS_Store

BIN
dark_mode_backend/static/description/assets/icons/._.DS_Store

Binary file not shown.

BIN
gstin_verification_api/static/description/assets/.DS_Store

Binary file not shown.

BIN
gstin_verification_api/static/description/assets/screenshots/.DS_Store

Binary file not shown.

BIN
jazzy_backend_theme/static/description/assets/._.DS_Store

Binary file not shown.

BIN
master_search/static/description/assets/icons/._.DS_Store

Binary file not shown.

BIN
multicolor_backend_theme/static/description/assets/icons/._.DS_Store

Binary file not shown.

BIN
multiple_order_confirm/.DS_Store

Binary file not shown.

BIN
multiple_order_confirm/static/.DS_Store

Binary file not shown.

BIN
multiple_order_confirm/static/description/.DS_Store

Binary file not shown.

BIN
multiple_order_confirm/static/description/assets/.DS_Store

Binary file not shown.

BIN
multiple_order_confirm/static/description/assets/modules/.DS_Store

Binary file not shown.

BIN
orange_theme_odoo12/static/description/assets/._.DS_Store

Binary file not shown.

23
product_brand_inventory/README.md → product_brand_inventory/README.rst

@ -1,8 +1,15 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: https://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
Product Brand in Inventory Product Brand in Inventory
========================== ==========================
This module lets you add Brand in Inventory and for products.
Installation Installation
============ ============
- www.odoo.com/documentation/15.0/setup/install.html - www.odoo.com/documentation/15.0/setup/install.html
- Install our custom addon - Install our custom addon
@ -15,17 +22,25 @@ Bug Tracker
=========== ===========
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported.
Credits Contacts
======= --------
* Cybrosys Techno Solutions <https://www.cybrosys.com> * Mail Contact : odoo@cybrosys.com
Credits
-------
Developer: Sonu Soman - sonu@cybrosys.info Developer: (V15) Sonu Soman, Contact: odoo@cybrosys.com
Maintainer Maintainer
---------- ----------
.. image:: https://cybrosys.com/images/logo.png
:target: https://cybrosys.com
This module is maintained by Cybrosys Technologies. This module is maintained by Cybrosys Technologies.
For support and more information, please visit https://www.cybrosys.com. For support and more information, please visit https://www.cybrosys.com.
Further information
===================
HTML Description: `<static/description/index.html>`__

7
product_brand_inventory/__manifest__.py

@ -20,9 +20,11 @@
################################################################################### ###################################################################################
{ {
'name': 'Product Brand in Inventory', 'name': 'Product Brand in Inventory',
'version': '15.0.1.0.0', 'version': '15.0.1.0.1',
'category': 'Warehouse', 'category': 'Warehouse',
'summary': 'Product Brand in Inventory', 'summary': 'Product Brand in Inventory',
'description': 'This module lets you add '
'Brand in Inventory and for products.',
'author': 'Cybrosys Techno Solutions', 'author': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions', 'company': 'Cybrosys Techno Solutions',
'maintainer': 'Cybrosys Techno Solutions', 'maintainer': 'Cybrosys Techno Solutions',
@ -30,12 +32,11 @@
'website': 'https://www.cybrosys.com', 'website': 'https://www.cybrosys.com',
'depends': ['stock'], 'depends': ['stock'],
'data': [ 'data': [
'views/brand_views.xml',
'security/ir.model.access.csv', 'security/ir.model.access.csv',
'views/brand_views.xml',
], ],
'license': 'AGPL-3', 'license': 'AGPL-3',
'installable': True, 'installable': True,
'auto_install': False, 'auto_install': False,
'application': False, 'application': False,
} }

8
product_brand_inventory/doc/RELEASE_NOTES.md

@ -3,3 +3,11 @@
#### 20.09.2021 #### 20.09.2021
#### Version 15.0.1.0.0 #### Version 15.0.1.0.0
#### ADD #### ADD
- Initial commit for Product Brand in Inventory
#### 18.08.2023
#### Version 15.0.1.0.1
#### UPDT
- Update Brand Group By in Inventory Report

20
product_brand_inventory/models/__init__.py

@ -1 +1,21 @@
# -*- coding: utf-8 -*-
###################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# This program is free software: you can modify
# it under the terms of the GNU Affero General Public License (AGPL) as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
###################################################################################
from . import brand from . import brand

51
product_brand_inventory/views/brand_views.xml

@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo> <odoo>
<data> <!-- Form view edited of product template. -->
<record id="product_brand_id" model="ir.ui.view"> <record id="product_template_form_view" model="ir.ui.view">
<field name="name">Brand Name</field> <field name="name">product.template.form.view.inherit.product.brand</field>
<field name="model">product.template</field> <field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_form_view"/> <field name="inherit_id" ref="product.product_template_form_view"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
@ -11,20 +12,26 @@
</field> </field>
</record> </record>
<!-- Action for Product Brand-->
<record id="product_brand_action" model="ir.actions.act_window"> <record id="product_brand_action" model="ir.actions.act_window">
<field name="name">Product Brand</field> <field name="name">Product Brand</field>
<field name="res_model">product.brand</field> <field name="res_model">product.brand</field>
<field name="view_mode">tree,form</field> <field name="view_mode">tree,form</field>
</record> </record>
<record id="product_brand_view" model="ir.ui.view">
<field name="name">Product Brand</field> <!-- Product Brand Form view-->
<record id="product_brand_view_form" model="ir.ui.view">
<field name="name">product.brand.view.form</field>
<field name="model">product.brand</field> <field name="model">product.brand</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form> <form>
<sheet> <sheet>
<field name="brand_image" widget="image" class="oe_avatar"/> <field name="brand_image" widget="image" class="oe_avatar"/>
<div class="oe_title"> <div class="oe_title">
<label for="name" class="oe_edit_only" string="Brand Name"/> <label for="name" class="oe_edit_only"
string="Brand Name"/>
<h1> <h1>
<field name="name"/> <field name="name"/>
</h1> </h1>
@ -33,17 +40,18 @@
<group> <group>
<field name="product_count" style="width:40px;"/> <field name="product_count" style="width:40px;"/>
</group> </group>
<notebook> <notebook>
<page string="Products"> <page string="Products">
<field name="member_ids" widget="many2many" options="{'not_delete': True}"> <field name="member_ids" widget="many2many"
<kanban quick_create="false" create="true" delete="true"> options="{'not_delete': True}">
<kanban quick_create="false" create="true"
delete="true">
<field name="id"/> <field name="id"/>
<field name="name"/> <field name="name"/>
<templates> <templates>
<t t-name="kanban-box"> <t t-name="kanban-box">
<div class="oe_kanban_global_click" style="max-width: 200px"> <div class="oe_kanban_global_click"
style="max-width: 200px">
<div class="o_kanban_record_top"> <div class="o_kanban_record_top">
<img t-att-src="kanban_image('product.template', 'image_128', record.id.raw_value)" <img t-att-src="kanban_image('product.template', 'image_128', record.id.raw_value)"
class="oe_avatar oe_kanban_avatar_smallbox o_image_40_cover mb0" class="oe_avatar oe_kanban_avatar_smallbox o_image_40_cover mb0"
@ -66,21 +74,38 @@
</field> </field>
</record> </record>
<!-- Group by for Brand in Product Template Search-->
<record id="brand_group_by" model="ir.ui.view"> <record id="brand_group_by" model="ir.ui.view">
<field name="name">product.template.search.inherit</field> <field name="name">product.template.search.inherit</field>
<field name="model">product.template</field> <field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_search_view"/> <field name="inherit_id" ref="product.product_template_search_view"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath expr="//search" position="inside"> <xpath expr="//search" position="inside">
<filter string="Brand" name="Brand" context="{'group_by':'brand_id'}"/> <filter string="Brand" name="Brand"
context="{'group_by':'brand_id'}"/>
</xpath> </xpath>
</field> </field>
</record> </record>
<!-- Brand Group By in Stock On Hand -->
<record id="quant_search_view" model="ir.ui.view">
<field name="name">quant.search.view.inherit.brand</field>
<field name="model">stock.quant</field>
<field name="inherit_id" ref="stock.quant_search_view"/>
<field name="arch" type="xml">
<xpath expr="//filter[@name='company']" position="after">
<filter string='Brand' name="brand" domain="[]" context="{'group_by': 'brand_id'}"/>
</xpath>
</field>
</record>
<!-- Menu of Product Brands-->
<menuitem id="product_brand_inventory" <menuitem id="product_brand_inventory"
name="Product Brands" name="Product Brands"
action="product_brand_action" action="product_brand_action"
parent="stock.menu_stock_inventory_control" parent="stock.menu_stock_inventory_control"
sequence="2"/> sequence="2"/>
</data>
</odoo> </odoo>

BIN
product_to_invoice/.DS_Store

Binary file not shown.

BIN
product_to_invoice/static/.DS_Store

Binary file not shown.

BIN
product_to_invoice/static/description/.DS_Store

Binary file not shown.

BIN
product_to_invoice/static/description/assets/.DS_Store

Binary file not shown.

BIN
product_to_invoice/static/description/assets/modules/.DS_Store

Binary file not shown.

BIN
vista_backend_theme/static/description/assets/._.DS_Store

Binary file not shown.
Loading…
Cancel
Save