2018-01-16 06:58:15 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
2018-01-16 11:34:37 +01:00
|
|
|
# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
|
2018-01-16 06:58:15 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
'name': "Define Taxes as Python Code",
|
2018-01-16 12:05:52 +01:00
|
|
|
'author': 'Odoo S.A',
|
2018-01-16 06:58:15 +01:00
|
|
|
'summary': """
|
|
|
|
Allows to use python code to define taxes""",
|
|
|
|
'description': """
|
|
|
|
A tax defined as python code consists in two snippets of python code which are executed in a local environment containing data such as the unit price, product or partner.
|
|
|
|
|
|
|
|
"Applicable Code" defines if the tax is to be applied.
|
|
|
|
|
|
|
|
"Python Code" defines the amount of the tax.
|
|
|
|
""",
|
|
|
|
'category': 'Accounting',
|
|
|
|
'version': '1.0',
|
|
|
|
'depends': ['account'],
|
|
|
|
'data': [
|
|
|
|
'views/account_tax_views.xml',
|
|
|
|
],
|
|
|
|
}
|