Browse Source

Merge pull request #907 from acsone/10.0-add_base_import_default_enable_tracking-bwi

[ADD] Module which enable tracking history during import.
pull/936/merge
Daniel Reis 7 years ago
committed by GitHub
parent
commit
031dbf8afc
  1. 55
      base_import_default_enable_tracking/README.rst
  2. 0
      base_import_default_enable_tracking/__init__.py
  3. 19
      base_import_default_enable_tracking/__manifest__.py
  4. BIN
      base_import_default_enable_tracking/static/description/icon.png
  5. 12
      base_import_default_enable_tracking/static/src/xml/base_import.xml
  6. 1
      setup/base_import_default_enable_tracking/odoo/__init__.py
  7. 1
      setup/base_import_default_enable_tracking/odoo/addons/__init__.py
  8. 1
      setup/base_import_default_enable_tracking/odoo/addons/base_import_default_enable_tracking
  9. 6
      setup/base_import_default_enable_tracking/setup.py

55
base_import_default_enable_tracking/README.rst

@ -0,0 +1,55 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
===================================
Base Import Default Enable Tracking
===================================
This modules simply enables history tracking when doing an import.
Installation
============
To install this module, you need click on install button.
Configuration
=============
No configuration required.
Bug Tracker
===========
Bugs are tracked on `GitHub Issues
<https://github.com/OCA/server-tools/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed feedback.
Credits
=======
Images
------
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
Contributors
------------
* Benjamin Willig <benjamin.willig@acsone.eu>
Maintainer
----------
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.

0
base_import_default_enable_tracking/__init__.py

19
base_import_default_enable_tracking/__manifest__.py

@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
# Copyright 2017 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
'name': 'Base Import Default Enable Tracking',
'summary': """
This modules simply enables history tracking when doing an import.""",
'version': '10.0.1.0.0',
'license': 'AGPL-3',
'author': 'ACSONE SA/NV, Odoo Community Association (OCA)',
'website': 'https://www.acsone.eu',
'depends': [
'base_import',
],
'qweb': [
'static/src/xml/base_import.xml',
],
}

BIN
base_import_default_enable_tracking/static/description/icon.png

After

Width: 128  |  Height: 128  |  Size: 9.2 KiB

12
base_import_default_enable_tracking/static/src/xml/base_import.xml

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<templates xml:space="preserve">
<t t-extend="ImportView">
<t t-jquery="input#oe_import_tracking" t-operation="attributes">
<attribute name="checked">checked</attribute>
</t>
</t>
</templates>

1
setup/base_import_default_enable_tracking/odoo/__init__.py

@ -0,0 +1 @@
__import__('pkg_resources').declare_namespace(__name__)

1
setup/base_import_default_enable_tracking/odoo/addons/__init__.py

@ -0,0 +1 @@
__import__('pkg_resources').declare_namespace(__name__)

1
setup/base_import_default_enable_tracking/odoo/addons/base_import_default_enable_tracking

@ -0,0 +1 @@
../../../../base_import_default_enable_tracking/

6
setup/base_import_default_enable_tracking/setup.py

@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
Loading…
Cancel
Save