From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- addons/account_tax_python/__manifest__.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 addons/account_tax_python/__manifest__.py (limited to 'addons/account_tax_python/__manifest__.py') diff --git a/addons/account_tax_python/__manifest__.py b/addons/account_tax_python/__manifest__.py new file mode 100644 index 00000000..917a6f16 --- /dev/null +++ b/addons/account_tax_python/__manifest__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +{ + 'name': "Define Taxes as Python Code", + 'summary': "Use python code to define taxes", + 'description': """ +A tax defined as python code consists of 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/Accounting', + 'version': '1.0', + 'depends': ['account'], + 'data': [ + 'views/account_tax_views.xml', + ], + 'license': 'LGPL-3', +} -- cgit v1.2.3