To be displayed correctly on odoo app (In a given category and not only in all or hidden)
the module category in the __openerp__.py file should be one of these:
"Accounting",
"Discuss",
"Document Management",
"eCommerce",
"Human Resources",
"Industries",
"Localization",
"Manufacturing",
"Marketing",
"Point of Sale",
"Productivity",
"Project",
"Purchases",
"Sales",
"Warehouse",
"Website",
"Extra Tools",
'Accounting & Finance' will not work, as 'Project Management', ...
20 lines
612 B
Python
20 lines
612 B
Python
# -*- coding: utf-8 -*-
|
|
{
|
|
'name': "Define Taxes as Python Code",
|
|
'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': [
|
|
'account_tax_python.xml',
|
|
],
|
|
}
|