Browse Source

[FIX] RST syntax; add license key; Flake8; disable pylint on the patch file as well

pull/99/head
Stefan Rijnhart 9 years ago
parent
commit
8dbab7a5bd
  1. 12
      pos_pricelist/README.rst
  2. 1
      pos_pricelist/__openerp__.py
  3. 1
      pos_pricelist/models/point_of_sale.py
  4. 1
      pos_pricelist/models/pos_order_patch.py

12
pos_pricelist/README.rst

@ -52,9 +52,9 @@ The POS will recognize it and will compute the price according to the rule defin
- Implemented Rules are :
1. (-1) : Rule based on other pricelist
2. (-2) : Rule based on supplierinfo
3. (default) : Any price type which is set on the product form
1. (-1) : Rule based on other pricelist
2. (-2) : Rule based on supplierinfo
3. (default) : Any price type which is set on the product form
3. An new option is introduced in the POS config to let the user show price with taxes in product widget.
the UI is updated when we change the customer in order to adapt the prices.
@ -71,12 +71,12 @@ Implemented features at backend
1. Tax details
- Tax details per order line
- Tax details aggregated by tax at order level
- Tax details per order line
- Tax details aggregated by tax at order level
2. Ticket
- Tax details table added at end of printed ticket
- Tax details table added at end of printed ticket
Known issues / Roadmap

1
pos_pricelist/__openerp__.py

@ -31,4 +31,5 @@
],
'post_init_hook': "set_pos_line_taxes",
'installable': True,
'license': 'AGPL-3',
}

1
pos_pricelist/models/point_of_sale.py

@ -162,7 +162,6 @@ class PosOrder(models.Model):
orders.compute_tax_detail()
_logger.info("%d orders computed installing module.", len(orders))
def _register_hook(self, cr):
res = super(PosOrder, self)._register_hook(cr)
base_order._create_account_move_line = _create_account_move_line

1
pos_pricelist/models/pos_order_patch.py

@ -2,6 +2,7 @@
# Copyright: Odoo S.A.
# License: AGPL-3
# flake8: noqa
# pylint: skip-file
from openerp.tools.translate import _

Loading…
Cancel
Save