1
# -*- coding: utf-8 -*-
2
##############################################################################
4
# OpenERP, Open Source Management Solution
5
# Copyright (c) 2010-2011 Elico Corp. All Rights Reserved.
6
# Author: Ian Li <ian.li@elico-corp.com>
8
# This program is free software: you can redistribute it and/or modify
9
# it under the terms of the GNU Affero General Public License as
10
# published by the Free Software Foundation, either version 3 of the
11
# License, or (at your option) any later version.
13
# This program is distributed in the hope that it will be useful,
14
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
# GNU Affero General Public License for more details.
18
# You should have received a copy of the GNU Affero General Public License
19
# along with this program. If not, see <http://www.gnu.org/licenses/>.
21
##############################################################################
25
'name': 'Invoice Line with Different Decimal Precision',
27
'category': 'Accounting / Invoicing',
29
This module corrects the following limitations in OpenERP standard modules:
30
- In standard accounting module, all objects in the invoice line (unit price, subtotal, etc) are setup following
31
decimal precision given by 'Account' (eg: 2).
32
- In standard product module, standard cost in product_template is defined following 'Account' decimal precision.
34
This module introduces a new decimal precision 'Account Line' so that you can have prices in Invoice Line with different accuracy (eg:4)
35
This means that you can have 2 digits for the invoice total calculation and 4 digits for the invoice details and unit price.
37
Additionally, we apply the same decimal precision 'Account Line' to the standard cost in product_template.
40
'author': 'Elico Corp',
41
'website': 'http://www.openerp.net.cn',
42
'depends': ['account','decimal_precision', 'product'],
45
'data/decimal.precision.xml',