Commit a5852b9e authored by Jorge Sanabria's avatar Jorge Sanabria
Browse files

Update

parent 70acd6ea
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
# Generated files
.idea/**/contentModel.xml
# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml
# Gradle
.idea/**/gradle.xml
.idea/**/libraries
# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# CMake
cmake-build-*/
# Mongo Explorer plugin
.idea/**/mongoSettings.xml
# File-based project format
*.iws
# IntelliJ
out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Cursive Clojure plugin
.idea/replstate.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
# Editor-based Rest Client
.idea/httpRequests
# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
#lib/
#lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/
# Translations
#*.mo
#*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
.python-version
# celery beat schedule file
celerybeat-schedule
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
.idea/
controllers/__pycache__/
models/__pycache__/
models/listings/__pycache__/
tests/__pycache__/
/i18n/*.mo
......@@ -7,7 +7,7 @@ msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-08 18:18+0000\n"
"PO-Revision-Date: 2020-10-08 15:11-0500\n"
"PO-Revision-Date: 2020-11-09 18:57-0500\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
......@@ -5276,7 +5276,7 @@ msgstr "El último día del ejercicio fiscal es inválido"
#: model_terms:ir.ui.view,arch_db:account.view_account_invoice_filter
#, python-format
msgid "Invoice"
msgstr "Factura"
msgstr "Factura electrónica de Venta"
#. module: account
#: model:ir.model.fields,field_description:account.field_account_invoice_report__number
......
......@@ -30,6 +30,7 @@ class Municipalities(models.Model):
_name = "l10n_co_edi_jorels.municipalities"
_inherit = "l10n_co_edi_jorels.languages"
_description = "Municipios"
_order = "name"
department_id = fields.Many2one(comodel_name='l10n_co_edi_jorels.departments', string="Departamento", required=True,
readonly=True, index=True)
......@@ -11,8 +11,8 @@ class MailTemplate(models.Model):
if self.env.context.get('attach_ei_zip_file'):
for res_id, template in self.get_email_template(res_ids).items():
invoice = self.env['account.invoice'].browse(res_id)
zip_filename = invoice.ei_zip_name
zip_string = invoice.ei_zip_base64_bytes
zip_filename = invoice.ei_uuid
zip_string = invoice.ei_attached_zip_base64_bytes
zip_attachments = invoice._generate_email_attachment(zip_filename, zip_string)
if len(zip_attachments) == 1 and zip_filename:
ext = '.zip'
......
......@@ -40,6 +40,8 @@
<button name="validate_dian_test" type="object" string="Validar DIAN Test"
class="o_invoice_validate" groups="base.group_no_one"
attrs="{'invisible': [('state','!=','validate')]}"/>
<button name="status_document" type="object" string="Consultar DIAN" groups="base.group_no_one"
attrs="{'invisible': [('state','!=','open')]}"/>
</xpath>
<!-- <xpath expr="//field[@name='state']" position="replace">-->
<!-- <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,validate,open,paid"/>-->
......@@ -70,6 +72,7 @@
<field name="ei_pdf_base64_bytes" readonly="True"/>
<field name="ei_zip_base64_bytes" readonly="True"/>
<field name="ei_dian_response_base64_bytes" readonly="True"/>
<field name="ei_attached_zip_base64_bytes" readonly="True"/>
</group>
<group name="dian_qr">
<field name="ei_qr_data" readonly="True"/>
......
/.idea
/.directory
*.pyc
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment