diff options
| author | ptr <ptr@openerp.com> | 2016-10-25 18:37:24 +0530 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2016-12-29 15:46:37 +0100 |
| commit | 5b79505bb136bdfab3f7c1fe7eb120c73cb9fdff (patch) | |
| tree | 2626a70292aa33b89b4aa70a9849b08b96a2569d /addons/l10n_us | |
| parent | 752013d3c7b16a2798ee683e19c98702d41c4896 (diff) | |
[IMP] account*: Improve the settings form view
Diffstat (limited to 'addons/l10n_us')
| -rw-r--r-- | addons/l10n_us/__init__.py | 1 | ||||
| -rw-r--r-- | addons/l10n_us/__manifest__.py | 1 | ||||
| -rw-r--r-- | addons/l10n_us/models/__init__.py | 4 | ||||
| -rw-r--r-- | addons/l10n_us/models/res_config.py | 11 | ||||
| -rw-r--r-- | addons/l10n_us/views/res_config_view.xml | 18 |
5 files changed, 0 insertions, 35 deletions
diff --git a/addons/l10n_us/__init__.py b/addons/l10n_us/__init__.py index 81fc81d29c9..2903e8d9121 100644 --- a/addons/l10n_us/__init__.py +++ b/addons/l10n_us/__init__.py @@ -1,4 +1,3 @@ # -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. -import models diff --git a/addons/l10n_us/__manifest__.py b/addons/l10n_us/__manifest__.py index ebb4b5f6271..b65453e6145 100644 --- a/addons/l10n_us/__manifest__.py +++ b/addons/l10n_us/__manifest__.py @@ -11,7 +11,6 @@ United States - Chart of accounts. """, 'depends': ['l10n_generic_coa', 'report'], 'data': [ - 'views/res_config_view.xml', 'data/res_company_data.xml', ], } diff --git a/addons/l10n_us/models/__init__.py b/addons/l10n_us/models/__init__.py deleted file mode 100644 index d330642bb78..00000000000 --- a/addons/l10n_us/models/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# -*- coding: utf-8 -*- -# Part of Odoo. See LICENSE file for full copyright and licensing details. - -import res_config diff --git a/addons/l10n_us/models/res_config.py b/addons/l10n_us/models/res_config.py deleted file mode 100644 index 156061c7def..00000000000 --- a/addons/l10n_us/models/res_config.py +++ /dev/null @@ -1,11 +0,0 @@ -# -*- coding: utf-8 -*- -# Part of Odoo. See LICENSE file for full copyright and licensing details. - -from odoo import fields, models - -class AccountConfigSettings(models.TransientModel): - _inherit = 'account.config.settings' - - module_account_taxcloud = fields.Boolean("Compute sales tax automatically in the United States using TaxCloud.", - help='TaxCloud is an online provider that is committed to making it easy for retailers to collect sales tax online' - 'in the United States.') diff --git a/addons/l10n_us/views/res_config_view.xml b/addons/l10n_us/views/res_config_view.xml deleted file mode 100644 index 491a9b64583..00000000000 --- a/addons/l10n_us/views/res_config_view.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<odoo> - - <record id="account_config_settings_inherit_form_view" model="ir.ui.view"> - <field name="name">account settings</field> - <field name="model">account.config.settings</field> - <field name="inherit_id" ref="account.view_account_config_settings"/> - <field name="arch" type="xml"> - <xpath expr="//div[@name='invoice_taxes']" position="inside"> - <div name="taxcloud_tax" class="o_row"> - <field name="module_account_taxcloud"/> - <label for="module_account_taxcloud"/> - </div> - </xpath> - </field> - </record> - -</odoo> |
