Skip to content

Commit

Permalink
[ADD] academic_sale_subscription: add new module
Browse files Browse the repository at this point in the history
  • Loading branch information
lef-adhoc committed Sep 30, 2024
1 parent bee34ce commit a73ae75
Show file tree
Hide file tree
Showing 26 changed files with 908 additions and 54 deletions.
1 change: 0 additions & 1 deletion academic/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
'security/academic_security.xml',
'security/ir.model.access.csv',
'views/academic_menuitem.xml',
'wizards/academic_order_wizard_views.xml',
'views/res_partner_views.xml',
'views/academic_group_views.xml',
'views/academic_division_views.xml',
Expand Down
1 change: 0 additions & 1 deletion academic/security/ir.model.access.csv
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,3 @@ access_hr_employee_asignatures_system_user,hr.employee.asignatures system user,m
academic.access_res_partner_role,access_res_partner_role,academic.model_res_partner_role,base.group_user,1,0,0,0
academic.access_res_partner_link_all,access_res_partner_link_all,academic.model_res_partner_link,base.group_user,1,0,0,0
academic.access_res_partner_link_user,access_res_partner_link_user,academic.model_res_partner_link,group_user,1,1,1,1
access_academic_order_wizard,academic.order.wizard,academic.model_academic_order_wizard,group_manager,1,1,1,1
7 changes: 0 additions & 7 deletions academic/views/res_partner_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,6 @@
<field name="inherit_id" ref="base.view_partner_tree"/>
<field name="arch" type="xml">
<tree position="inside">
<header>
<button name="%(academic.action_view_academic_order_wizard)d"
type="action"
string="Create Order"
class="btn-secondary"
groups="academic.group_manager"/>
</header>
<field name="promotion_id" column_invisible="context.get('default_partner_type', False) != 'student'"/>
</tree>
</field>
Expand Down
1 change: 0 additions & 1 deletion academic/wizards/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
##############################################################################
from . import portal_wizard_user
from . import portal_wizard
from . import academic_order_wizard
18 changes: 0 additions & 18 deletions academic/wizards/academic_order_wizard.py

This file was deleted.

26 changes: 0 additions & 26 deletions academic/wizards/academic_order_wizard_views.xml

This file was deleted.

70 changes: 70 additions & 0 deletions academic_sale_subscription/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
.. |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

==========================
Academic Sale Subscription
==========================

This module extends the standard Odoo subscription management capabilities to cater specifically to academic institutions.

Installation
============

To install this module, you need to:

#. Only need to install the module

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

To configure this module, you need to:

#. Nothing to configure

Usage
=====

To use this module, you need to:

#. Just use

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

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

Bugs are tracked on `GitHub Issues
<https://github.com/ingadhoc/{project_repo}/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed feedback.

Credits
=======

Images
------

* |company| |icon|

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

Maintainer
----------

|company_logo|

This module is maintained by the |company|.

To contribute to this module, please visit https://www.adhoc.com.ar.
4 changes: 4 additions & 0 deletions academic_sale_subscription/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# © 2016 ADHOC SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import models
from . import wizard
28 changes: 28 additions & 0 deletions academic_sale_subscription/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# © 2016 ADHOC SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
'name': 'Academic Sale Subscription',
'version': "17.0.1.0.0",
'sequence': 14,
'summary': '',
'author': 'ADHOC SA',
'website': 'www.adhoc.com.ar',
'license': 'AGPL-3',
'depends': [
'academic',
'sale_subscription'
],
'data': [
'security/ir.model.access.csv',
# 'views/sale_order_template_views.xml',
# 'views/sale_order_views.xml',
# 'wizard/reenrollment_views.xml'
'views/sale_subscription_plan_views.xml',
'views/sale_subscription_pricing_views.xml',
'wizard/academic_order_wizard_views.xml',
'views/res_partner_views.xml',
],
'installable': True,
'auto_install': False,
'application': False,
}
Loading

0 comments on commit a73ae75

Please sign in to comment.