Browse Source

[REF] OCA convention;

pull/77/head
Sylvain LE GAL 9 years ago
parent
commit
814e36a0f4
  1. 37
      pos_session_summary/README.rst
  2. 22
      pos_session_summary/__openerp__.py
  3. 10
      pos_session_summary/models/pos_session.py
  4. 6
      pos_session_summary/views/pos_session_view.xml

37
pos_session_summary/README.rst

@ -1,6 +1,8 @@
.. 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
=========================================================
Point of Sale - Total of transactions and Orders Quantity
=========================================================
@ -13,6 +15,12 @@ Point of Sale - Total of transactions and Orders Quantity
.. image:: /pos_session_summary/static/description/pos_session_list.png
Installation
============
Normal installation.
Configuration
=============
@ -21,28 +29,39 @@ No configuration is needed.
Usage
=====
For further information, please visit:
To use this module, you need to:
* Go to ...
* https://www.odoo.com/forum/help-1
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/184/9.0
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/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
`here <https://github.com/OCA/{project_repo}/issues/new?body=module:%20pos_session_summary%0Aversion:%209.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Bugs are tracked on `GitHub Issues
<https://github.com/OCA/{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
<https://github.com/OCA/
pos/issues/new?body=module:%20
pos_session_summary%0Aversion:%20
9.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Credits
=======
Images
------
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
Contributors
------------
* Sylvain LE GAL <https://twitter.com/legalsylvain>
Maintainer
----------
@ -56,4 +75,4 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
To contribute to this module, please visit http://odoo-community.org.
To contribute to this module, please visit https://odoo-community.org.

22
pos_session_summary/__openerp__.py

@ -1,24 +1,7 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2016-Today La Louve (<http://www.lalouve.net/>)
#
# Copyright (C) 2016-Today: La Louve (<http://www.lalouve.net/>)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License 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 <http://www.gnu.org/licenses/>.
#
##############################################################################
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
'name': 'Point of Sale - Session Summary',
@ -34,4 +17,5 @@
'views/pos_session_view.xml',
],
'installable': True,
'license': 'AGPL-3',
}

10
pos_session_summary/models/pos_session.py

@ -1,13 +1,7 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2016-Today La Louve (<http://www.lalouve.net/>)
#
# Copyright (C) 2016-Today: La Louve (<http://www.lalouve.net/>)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
#
# The licence is in the file __openerp__.py
#
##############################################################################
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import fields, models, api

6
pos_session_summary/views/pos_session_view.xml

@ -1,10 +1,8 @@
<?xml version="1.0"?>
<!--
Copyright (C) 2016-Today La Louve (<http://www.lalouve.net/>)
Copyright (C) 2016-Today: La Louve (<http://www.lalouve.net/>)
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
The licence is in the file __openerp__.py
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<odoo>

Loading…
Cancel
Save