Skip to content

Commit

Permalink
[REL] migration product_pack to 11.0 (OCA#145)
Browse files Browse the repository at this point in the history
* [FIX] xml files names

* [REL] migration product_pack to 11.0
* [FIX] Update README
* [FIX] remove openerp tags and data tags
* [IMP] change some funtion to improve funcionality
* [FIX] change name to xml and .py files according guidelines
* [FIX] remove api.one decorators

* [FIX] update readme

* [FIX] Remove "encoding: utf-8"

* [FIX] remove api.multi, string not necesary and some other fixes

* [FIX] demo data to separate according Guidelines

* [FIX] fix names in fields

* [FIX] remove executable
  • Loading branch information
nicomacr authored and ernestotejeda committed Sep 16, 2019
1 parent cc1cd84 commit 5bc0606
Show file tree
Hide file tree
Showing 22 changed files with 575 additions and 699 deletions.
39 changes: 19 additions & 20 deletions product_pack/README.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |company| replace:: ADHOC SA

.. |company_logo| image:: https://raw.githubusercontent.com/ingadhoc/maintainer-tools/master/resources/adhoc-logo.png
:alt: ADHOC SA
:target: https://www.adhoc.com.ar

.. |icon| image:: https://raw.githubusercontent.com/ingadhoc/maintainer-tools/master/resources/adhoc-icon.png

.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: https://www.gnu.org/licenses/agpl
:alt: License: AGPL-3

============
Product Pack
============

This module add "Product Pack" funcionality to sale orders. For prouct you can add some other product to sell with them, in the sale order you choose the product and then automaticaly added the products that set in Product selected.
This module add "Product Pack" funcionality to sale orders. For product you can add some other product to sell with them, in the sale order you choose the product and then automaticaly added the products that set in Product selected.

TODO: check modifications of this fork https://github.com/mohamedhagag/dvit-odoo/tree/10.0/product_pack

Installation
============
Expand All @@ -15,7 +25,6 @@ To install this module, you need to:

#. Just install this module.


Configuration
=============

Expand All @@ -24,23 +33,16 @@ To configure this module, you need to:
#. Go to product and set "Product Pack", then set the products has to include in the product pack of the product.
#. Set type of product pack.



Usage
=====

To use this module, you need to:

#. Create an sale order and set product that has product pack choosed.


.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.adhoc.com.ar/

.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt
.. branch is "9.0" for example
:alt: Try me on Runbot
:target: http://runbot.adhoc.com.ar/

Bug Tracker
===========
Expand All @@ -56,19 +58,16 @@ Credits
Images
------

* ADHOC SA: `Icon <http://fotos.subefotos.com/83fed853c1e15a8023b86b2b22d6145bo.png>`_.
* |company| |icon|

Contributors
------------


Maintainer
----------

.. image:: http://fotos.subefotos.com/83fed853c1e15a8023b86b2b22d6145bo.png
:alt: Odoo Community Association
:target: https://www.adhoc.com.ar
|company_logo|

This module is maintained by the ADHOC SA.
This module is maintained by the |company|.

To contribute to this module, please visit https://www.adhoc.com.ar.
4 changes: 2 additions & 2 deletions product_pack/__init__.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
##############################################################################
# For copyright and license notices, see __manifest__.py file in root directory
# For copyright and license notices, see __manifest__.py file in module root
# directory
##############################################################################
from . import models
17 changes: 10 additions & 7 deletions product_pack/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Product Pack',
'version': '9.0.1.3.0',
'version': '11.0.1.0.0',
'category': 'Product',
'sequence': 14,
'summary': '',
Expand All @@ -32,15 +32,18 @@
],
'data': [
'security/ir.model.access.csv',
'views/pack_view.xml',
'views/sale_view.xml',
'views/product_pack_line_views.xml',
'views/product_product_views.xml',
'views/product_template_views.xml',
'views/sale_order_line_pack_line_views.xml',
'views/sale_order_line_views.xml',
'views/sale_order_views.xml',
],
'demo': [
'demo/demo_data.xml',
'demo/product_product_demo.xml',
'demo/product_pack_line_demo.xml',
],
'test': [
],
'installable': False,
'installable': True,
'auto_install': False,
'application': False,
}
Loading

0 comments on commit 5bc0606

Please sign in to comment.