Browse Source

Added README, moved model and view to their proper location

pull/29/head
Jos De Graeve 9 years ago
parent
commit
363547cc03
  1. 73
      pos_require_customer/README.rst
  2. 3
      pos_require_customer/__init__.py
  3. 2
      pos_require_customer/__openerp__.py
  4. 2
      pos_require_customer/models/__init__.py
  5. 0
      pos_require_customer/models/pos.py
  6. 0
      pos_require_customer/views/pos_view.xml

73
pos_require_customer/README.rst

@ -0,0 +1,73 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:alt: License: AGPL-3
Module name
===========
This module was written to extend the functionality of odoo pos
and allows you to require a customer for each pos order. In the
pos session configuration, you can choose to require the customer for pos
orders.
If a customer is not selected, the pos ui will display an error message.
In the backend the customer field is required when needed.
Installation
============
This module depends on the `point_of_sale` Odoo official module.
Configuration
=============
To configure this module, you need to:
* go to point of sale -> configuration -> point of sales
* select the point of sales you want configure
* If you want to require the partner for orders in this pos, select the
checkbox
Usage
=====
If a customer is not selected, the pos ui will display an error message.
In the backend the customer field is required when needed.
For further information, please visit:
* https://www.odoo.com/forum/help-1
Bug Tracker
===========
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
`here <https://github.com/OCA/{project_repo}/issues/new?body=module:%20{module_name}%0Aversion:%20{version}%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Credits
=======
Contributors
------------
* Jos De Graeve <Jos.DeGraeve@apertoso.be>
* Pedro M. Baeza <pedro.baeza@gmail.com> ( reviews & feedback )
* Sylvain LE GAL - https://github.com/legalsylvain ( reviews & feedback )
Maintainer
----------
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
This module is maintained by the OCA.
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.

3
pos_require_customer/__init__.py

@ -1 +1,2 @@
from . import pos
# -*- coding: utf-8 -*-
from . import models

2
pos_require_customer/__openerp__.py

@ -41,7 +41,7 @@ In the backend the customer field is required when needed.
'depends': ['point_of_sale'],
'data': [
'static/src/xml/templates.xml',
'pos_view.xml',
'views/pos_view.xml',
],
'demo': [],
'test': [],

2
pos_require_customer/models/__init__.py

@ -0,0 +1,2 @@
# -*- coding: utf-8 -*-
from . import pos

0
pos_require_customer/pos.py → pos_require_customer/models/pos.py

0
pos_require_customer/pos_view.xml → pos_require_customer/views/pos_view.xml

Loading…
Cancel
Save