Removes l10n_co modules
This commit is contained in:
parent
07cea4699f
commit
b189d9426b
@ -19,13 +19,13 @@ repositorio, hasta que pueda ser dado de baja.
|
|||||||
* [X] l10n_co_account_move_discrepancy_response
|
* [X] l10n_co_account_move_discrepancy_response
|
||||||
* [X] l10n_co_account_move_payment_mean
|
* [X] l10n_co_account_move_payment_mean
|
||||||
* [X] l10n_co_account_tax_group_type
|
* [X] l10n_co_account_tax_group_type
|
||||||
* [ ] l10n_co_base_location
|
* [X] l10n_co_base_location
|
||||||
* [ ] l10n_co_hr_e_payroll
|
* [ ] l10n_co_hr_e_payroll
|
||||||
* [ ] l10n_co_partner_person_type
|
* [ ] l10n_co_partner_person_type
|
||||||
* [ ] l10n_co_partner_vat
|
* [X] l10n_co_partner_vat
|
||||||
* [ ] l10n_co_sequence_resolution
|
* [X] l10n_co_sequence_resolution
|
||||||
* [ ] l10n_co_stock_e_invoicing
|
* [ ] l10n_co_stock_e_invoicing
|
||||||
* [ ] l10n_co_uom
|
* [X] l10n_co_uom
|
||||||
* [X] partner_coc (Módulo de **OCA/partner-contact**)
|
* [X] partner_coc (Módulo de **OCA/partner-contact**)
|
||||||
* [X] partner_commercial_name
|
* [X] partner_commercial_name
|
||||||
|
|
||||||
|
|||||||
@ -1,23 +0,0 @@
|
|||||||
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
|
|
||||||
:target: https://www.gnu.org/licenses/agpl
|
|
||||||
:alt: License: AGPL-3
|
|
||||||
|
|
||||||
===================================
|
|
||||||
Colombian Geographical Localization
|
|
||||||
===================================
|
|
||||||
|
|
||||||
Section 13.4. Geographic Codes of the technical annex version 1.8:
|
|
||||||
- Data Colombian States
|
|
||||||
- Data Colombian ZIP/cities.
|
|
||||||
|
|
||||||
Sección 13.4. Códigos Geográficos del anexo técnico versión 1.8:
|
|
||||||
- Datos Departamentos colombianos.
|
|
||||||
- Datos ZIP/ciudades colombianas.
|
|
||||||
|
|
||||||
Credits
|
|
||||||
=======
|
|
||||||
|
|
||||||
Contributors
|
|
||||||
------------
|
|
||||||
|
|
||||||
* Joan Marín <https://github.com/JoanMarin>
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2021 Joan Marín <Github@JoanMarin>
|
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
||||||
|
|
||||||
from . import models
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2021 Joan Marín <Github@JoanMarin>
|
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
||||||
|
|
||||||
{
|
|
||||||
"name": "Location management (aka Better ZIP) - Colombian Data",
|
|
||||||
"summary": "Colombian Data ZIP/Cities, States and Countries",
|
|
||||||
"version": "14.0.1.0.0",
|
|
||||||
"license": "AGPL-3",
|
|
||||||
"website": "https://github.com/JoanMarin",
|
|
||||||
"author": "Joan Marín Github@JoanMarin",
|
|
||||||
"category": "Localization",
|
|
||||||
"depends": [
|
|
||||||
"account_avancys",
|
|
||||||
"base_location"],
|
|
||||||
"data": [
|
|
||||||
# "data/res.country.state.csv",
|
|
||||||
# "data/res.city.csv",
|
|
||||||
# "data/res.city.zip.csv",
|
|
||||||
"views/res_country_state_views.xml",
|
|
||||||
"views/res_city_views.xml",
|
|
||||||
"views/res_city_zip_views.xml",
|
|
||||||
"views/res_partner_views.xml"
|
|
||||||
],
|
|
||||||
"installable": True,
|
|
||||||
}
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,34 +0,0 @@
|
|||||||
id,numeric_code
|
|
||||||
base.state_co_01,05
|
|
||||||
base.state_co_02,08
|
|
||||||
base.state_co_03,11
|
|
||||||
base.state_co_04,13
|
|
||||||
base.state_co_05,15
|
|
||||||
base.state_co_06,17
|
|
||||||
base.state_co_07,18
|
|
||||||
base.state_co_08,19
|
|
||||||
base.state_co_09,20
|
|
||||||
base.state_co_10,23
|
|
||||||
base.state_co_11,25
|
|
||||||
base.state_co_12,27
|
|
||||||
base.state_co_13,41
|
|
||||||
base.state_co_14,44
|
|
||||||
base.state_co_15,47
|
|
||||||
base.state_co_16,50
|
|
||||||
base.state_co_17,52
|
|
||||||
base.state_co_18,54
|
|
||||||
base.state_co_19,63
|
|
||||||
base.state_co_20,66
|
|
||||||
base.state_co_21,68
|
|
||||||
base.state_co_22,70
|
|
||||||
base.state_co_23,73
|
|
||||||
base.state_co_24,76
|
|
||||||
base.state_co_25,81
|
|
||||||
base.state_co_26,85
|
|
||||||
base.state_co_27,86
|
|
||||||
base.state_co_28,88
|
|
||||||
base.state_co_29,91
|
|
||||||
base.state_co_30,94
|
|
||||||
base.state_co_31,95
|
|
||||||
base.state_co_32,97
|
|
||||||
base.state_co_33,99
|
|
||||||
|
@ -1,109 +0,0 @@
|
|||||||
# Translation of Odoo Server.
|
|
||||||
# This file contains the translation of the following modules:
|
|
||||||
# * l10n_co_base_location
|
|
||||||
#
|
|
||||||
msgid ""
|
|
||||||
msgstr ""
|
|
||||||
"Project-Id-Version: Odoo Server 14.0\n"
|
|
||||||
"Report-Msgid-Bugs-To: \n"
|
|
||||||
"POT-Creation-Date: 2021-07-01 14:44+0000\n"
|
|
||||||
"PO-Revision-Date: 2021-07-01 14:44+0000\n"
|
|
||||||
"Last-Translator: \n"
|
|
||||||
"Language-Team: \n"
|
|
||||||
"MIME-Version: 1.0\n"
|
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
|
||||||
"Content-Transfer-Encoding: \n"
|
|
||||||
"Plural-Forms: \n"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model,name:l10n_co_base_location.model_res_city
|
|
||||||
msgid "City"
|
|
||||||
msgstr "Ciudad"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city__code
|
|
||||||
msgid "City Code"
|
|
||||||
msgstr "Código de Ciudad"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model,name:l10n_co_base_location.model_res_city_zip
|
|
||||||
msgid "City/locations completion object"
|
|
||||||
msgstr "Autocompletado de objetos a partir de ciudades/ubicaciones"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model,name:l10n_co_base_location.model_res_partner
|
|
||||||
msgid "Contact"
|
|
||||||
msgstr "Contacto"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model,name:l10n_co_base_location.model_res_country
|
|
||||||
msgid "Country"
|
|
||||||
msgstr "País"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_partner__country_code
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_users__country_code
|
|
||||||
msgid "Country Code"
|
|
||||||
msgstr "Código de País"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model,name:l10n_co_base_location.model_res_country_state
|
|
||||||
msgid "Country state"
|
|
||||||
msgstr "Provincia"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city_zip__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_country__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_country_state__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_partner__display_name
|
|
||||||
msgid "Display Name"
|
|
||||||
msgstr "Nombre mostrado"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city_zip__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_country__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_country_state__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_partner__id
|
|
||||||
msgid "ID"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city_zip____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_country____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_country_state____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_partner____last_update
|
|
||||||
msgid "Last Modified on"
|
|
||||||
msgstr "Última modificación el"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_country_state__numeric_code
|
|
||||||
msgid "Numeric Code"
|
|
||||||
msgstr "Código Numérico"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model_terms:ir.ui.view,arch_db:l10n_co_base_location.res_country_state_search
|
|
||||||
msgid "States"
|
|
||||||
msgstr "Estados"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,help:l10n_co_base_location.field_res_partner__country_code
|
|
||||||
#: model:ir.model.fields,help:l10n_co_base_location.field_res_users__country_code
|
|
||||||
msgid ""
|
|
||||||
"The ISO country code in two chars. \n"
|
|
||||||
"You can use this field for quick search."
|
|
||||||
msgstr ""
|
|
||||||
"EL código ISO del país en dos caracteres.\n"
|
|
||||||
"Puede utilizar este campo para la búsqueda rápida."
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,help:l10n_co_base_location.field_res_city__code
|
|
||||||
msgid "The official code for the city"
|
|
||||||
msgstr "El código oficial de la ciudad."
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city_zip__type
|
|
||||||
msgid "Type"
|
|
||||||
msgstr "Tipo"
|
|
||||||
@ -1,109 +0,0 @@
|
|||||||
# Translation of Odoo Server.
|
|
||||||
# This file contains the translation of the following modules:
|
|
||||||
# * l10n_co_base_location
|
|
||||||
#
|
|
||||||
msgid ""
|
|
||||||
msgstr ""
|
|
||||||
"Project-Id-Version: Odoo Server 14.0\n"
|
|
||||||
"Report-Msgid-Bugs-To: \n"
|
|
||||||
"POT-Creation-Date: 2021-07-01 14:44+0000\n"
|
|
||||||
"PO-Revision-Date: 2021-07-01 14:44+0000\n"
|
|
||||||
"Last-Translator: \n"
|
|
||||||
"Language-Team: \n"
|
|
||||||
"MIME-Version: 1.0\n"
|
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
|
||||||
"Content-Transfer-Encoding: \n"
|
|
||||||
"Plural-Forms: \n"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model,name:l10n_co_base_location.model_res_city
|
|
||||||
msgid "City"
|
|
||||||
msgstr "Ciudad"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city__code
|
|
||||||
msgid "City Code"
|
|
||||||
msgstr "Código de Ciudad"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model,name:l10n_co_base_location.model_res_city_zip
|
|
||||||
msgid "City/locations completion object"
|
|
||||||
msgstr "Autocompletado de objetos a partir de ciudades/ubicaciones"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model,name:l10n_co_base_location.model_res_partner
|
|
||||||
msgid "Contact"
|
|
||||||
msgstr "Contacto"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model,name:l10n_co_base_location.model_res_country
|
|
||||||
msgid "Country"
|
|
||||||
msgstr "País"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_partner__country_code
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_users__country_code
|
|
||||||
msgid "Country Code"
|
|
||||||
msgstr "Código de País"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model,name:l10n_co_base_location.model_res_country_state
|
|
||||||
msgid "Country state"
|
|
||||||
msgstr "Provincia"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city_zip__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_country__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_country_state__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_partner__display_name
|
|
||||||
msgid "Display Name"
|
|
||||||
msgstr "Nombre mostrado"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city_zip__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_country__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_country_state__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_partner__id
|
|
||||||
msgid "ID"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city_zip____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_country____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_country_state____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_partner____last_update
|
|
||||||
msgid "Last Modified on"
|
|
||||||
msgstr "Última modificación el"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_country_state__numeric_code
|
|
||||||
msgid "Numeric Code"
|
|
||||||
msgstr "Código Numérico"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model_terms:ir.ui.view,arch_db:l10n_co_base_location.res_country_state_search
|
|
||||||
msgid "States"
|
|
||||||
msgstr "Estados"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,help:l10n_co_base_location.field_res_partner__country_code
|
|
||||||
#: model:ir.model.fields,help:l10n_co_base_location.field_res_users__country_code
|
|
||||||
msgid ""
|
|
||||||
"The ISO country code in two chars. \n"
|
|
||||||
"You can use this field for quick search."
|
|
||||||
msgstr ""
|
|
||||||
"EL código ISO del país en dos caracteres.\n"
|
|
||||||
"Puede utilizar este campo para la búsqueda rápida."
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,help:l10n_co_base_location.field_res_city__code
|
|
||||||
msgid "The official code for the city"
|
|
||||||
msgstr "El código oficial de la ciudad."
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city_zip__type
|
|
||||||
msgid "Type"
|
|
||||||
msgstr "Tipo"
|
|
||||||
@ -1,107 +0,0 @@
|
|||||||
# Translation of Odoo Server.
|
|
||||||
# This file contains the translation of the following modules:
|
|
||||||
# * l10n_co_base_location
|
|
||||||
#
|
|
||||||
msgid ""
|
|
||||||
msgstr ""
|
|
||||||
"Project-Id-Version: Odoo Server 14.0\n"
|
|
||||||
"Report-Msgid-Bugs-To: \n"
|
|
||||||
"POT-Creation-Date: 2021-07-01 14:44+0000\n"
|
|
||||||
"PO-Revision-Date: 2021-07-01 14:44+0000\n"
|
|
||||||
"Last-Translator: \n"
|
|
||||||
"Language-Team: \n"
|
|
||||||
"MIME-Version: 1.0\n"
|
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
|
||||||
"Content-Transfer-Encoding: \n"
|
|
||||||
"Plural-Forms: \n"
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model,name:l10n_co_base_location.model_res_city
|
|
||||||
msgid "City"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city__code
|
|
||||||
msgid "City Code"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model,name:l10n_co_base_location.model_res_city_zip
|
|
||||||
msgid "City/locations completion object"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model,name:l10n_co_base_location.model_res_partner
|
|
||||||
msgid "Contact"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model,name:l10n_co_base_location.model_res_country
|
|
||||||
msgid "Country"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_partner__country_code
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_users__country_code
|
|
||||||
msgid "Country Code"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model,name:l10n_co_base_location.model_res_country_state
|
|
||||||
msgid "Country state"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city_zip__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_country__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_country_state__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_partner__display_name
|
|
||||||
msgid "Display Name"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city_zip__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_country__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_country_state__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_partner__id
|
|
||||||
msgid "ID"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city_zip____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_country____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_country_state____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_partner____last_update
|
|
||||||
msgid "Last Modified on"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_country_state__numeric_code
|
|
||||||
msgid "Numeric Code"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model_terms:ir.ui.view,arch_db:l10n_co_base_location.res_country_state_search
|
|
||||||
msgid "States"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,help:l10n_co_base_location.field_res_partner__country_code
|
|
||||||
#: model:ir.model.fields,help:l10n_co_base_location.field_res_users__country_code
|
|
||||||
msgid ""
|
|
||||||
"The ISO country code in two chars. \n"
|
|
||||||
"You can use this field for quick search."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,help:l10n_co_base_location.field_res_city__code
|
|
||||||
msgid "The official code for the city"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_base_location
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_base_location.field_res_city_zip__type
|
|
||||||
msgid "Type"
|
|
||||||
msgstr ""
|
|
||||||
@ -1,9 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2021 Joan Marín <Github@JoanMarin>
|
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
||||||
|
|
||||||
from . import res_city
|
|
||||||
from . import res_city_zip
|
|
||||||
from . import res_country_state
|
|
||||||
from . import res_country
|
|
||||||
from . import res_partner
|
|
||||||
@ -1,13 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2021 Joan Marín <Github@JoanMarin>
|
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
||||||
|
|
||||||
from odoo import models, fields
|
|
||||||
|
|
||||||
|
|
||||||
class ResCity(models.Model):
|
|
||||||
_inherit = "res.city"
|
|
||||||
|
|
||||||
code = fields.Char(
|
|
||||||
string='City Code',
|
|
||||||
help="The official code for the city")
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2021 Joan Marín <Github@JoanMarin>
|
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
||||||
|
|
||||||
from odoo import models, fields
|
|
||||||
|
|
||||||
|
|
||||||
class ResCityZip(models.Model):
|
|
||||||
_inherit = "res.city.zip"
|
|
||||||
|
|
||||||
type = fields.Char(string='Type')
|
|
||||||
@ -1,18 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2021 Joan Marín <Github@JoanMarin>
|
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
||||||
|
|
||||||
from odoo import models, fields, api
|
|
||||||
|
|
||||||
|
|
||||||
class ResCountry(models.Model):
|
|
||||||
_inherit = 'res.country'
|
|
||||||
|
|
||||||
def name_get(self):
|
|
||||||
res = []
|
|
||||||
|
|
||||||
for record in self:
|
|
||||||
name = u'%s [%s]' % (record.name or '', record.code or '')
|
|
||||||
res.append((record.id, name))
|
|
||||||
|
|
||||||
return res
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2021 Joan Marín <Github@JoanMarin>
|
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
||||||
|
|
||||||
from odoo import models, fields
|
|
||||||
|
|
||||||
|
|
||||||
class ResCountryState(models.Model):
|
|
||||||
_inherit = "res.country.state"
|
|
||||||
|
|
||||||
numeric_code = fields.Char(string='Numeric Code', size=2)
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2021 Joan Marín <Github@JoanMarin>
|
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
||||||
|
|
||||||
from odoo import models, fields
|
|
||||||
|
|
||||||
|
|
||||||
class ResPartner(models.Model):
|
|
||||||
_inherit = 'res.partner'
|
|
||||||
|
|
||||||
country_code = fields.Char(related='country_id.code', store=False)
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 229 B |
@ -1,22 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<odoo>
|
|
||||||
<record id="view_city_tree" model="ir.ui.view">
|
|
||||||
<field name="model">res.city</field>
|
|
||||||
<field name="inherit_id" ref="base_address_city.view_city_tree"/>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<xpath expr='//field[@name="name"]' position="before">
|
|
||||||
<field name="code"/>
|
|
||||||
</xpath>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="view_city_form" model="ir.ui.view">
|
|
||||||
<field name="model">res.city</field>
|
|
||||||
<field name="inherit_id" ref="base_location.view_city_form"/>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<xpath expr='//field[@name="name"]' position="before">
|
|
||||||
<field name="code"/>
|
|
||||||
</xpath>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
</odoo>
|
|
||||||
@ -1,12 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<odoo>
|
|
||||||
<record id="city_zip_tree" model="ir.ui.view">
|
|
||||||
<field name="model">res.city.zip</field>
|
|
||||||
<field name="inherit_id" ref="base_location.city_zip_tree"/>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<field name='city_id' position="after">
|
|
||||||
<field name="type" />
|
|
||||||
</field>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
</odoo>
|
|
||||||
@ -1,21 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<odoo>
|
|
||||||
<record id="view_country_state_tree" model="ir.ui.view">
|
|
||||||
<field name="model">res.country.state</field>
|
|
||||||
<field name="inherit_id" ref="base.view_country_state_tree"/>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<field name='name' position="after">
|
|
||||||
<field name="numeric_code" />
|
|
||||||
</field>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="res_country_state_search" model="ir.ui.view">
|
|
||||||
<field name="model">res.country.state</field>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<search string="States">
|
|
||||||
<field name="name" filter_domain="['|', ('code', 'ilike', self), ('name', 'ilike', self)]"/>
|
|
||||||
</search>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
</odoo>
|
|
||||||
@ -1,10 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<odoo>
|
|
||||||
<record id="view_partner_form" model="ir.ui.view">
|
|
||||||
<field name="model">res.partner</field>
|
|
||||||
<field name="inherit_id" ref="base_location.view_partner_form"/>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<field name="zip_id" position="replace"/>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
</odoo>
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
|
|
||||||
:target: https://www.gnu.org/licenses/agpl
|
|
||||||
:alt: License: AGPL-3
|
|
||||||
|
|
||||||
=================
|
|
||||||
Base Vat Colombia
|
|
||||||
=================
|
|
||||||
|
|
||||||
- Types of identification document identified by the DIAN for the Colombian
|
|
||||||
localization, information obtained from the technical annex for e-invoicing
|
|
||||||
version 1.8, point 13.2.1.
|
|
||||||
- Validate NIT with Verification Digit.
|
|
||||||
|
|
||||||
- Tipos de documento de identificación identificados por la DIAN para la
|
|
||||||
localizacion Colombiana, informacion obtenida del anexo tecnico para
|
|
||||||
facturacion electronica version 1.8, punto 13.2.1.
|
|
||||||
- Validar NIT con el dígito de verificación.
|
|
||||||
|
|
||||||
|
|
||||||
Credits
|
|
||||||
=======
|
|
||||||
|
|
||||||
Contributors
|
|
||||||
------------
|
|
||||||
|
|
||||||
* Joan Marín <https://github.com/JoanMarin>
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2021 Joan Marín <Github@JoanMarin>
|
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
||||||
@ -1,18 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2021 Joan Marín <Github@JoanMarin>
|
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
||||||
|
|
||||||
{
|
|
||||||
"name": "Partner VAT Colombia",
|
|
||||||
"summary": "Module for Type of Identification Document and Colombian NIT Checking.",
|
|
||||||
"version": "14.0.1.0.0",
|
|
||||||
"license": "AGPL-3",
|
|
||||||
"website": "https://github.com/JoanMarin",
|
|
||||||
"author": "Joan Marín Github@JoanMarin",
|
|
||||||
"category": "Localization",
|
|
||||||
"depends": ["base_vat"],
|
|
||||||
"data": [
|
|
||||||
"views/res_partner_views.xml"
|
|
||||||
],
|
|
||||||
"installable": True,
|
|
||||||
}
|
|
||||||
@ -1,59 +0,0 @@
|
|||||||
# Translation of Odoo Server.
|
|
||||||
# This file contains the translation of the following modules:
|
|
||||||
# * l10n_co_partner_vat
|
|
||||||
#
|
|
||||||
msgid ""
|
|
||||||
msgstr ""
|
|
||||||
"Project-Id-Version: Odoo Server 14.0\n"
|
|
||||||
"Report-Msgid-Bugs-To: \n"
|
|
||||||
"POT-Creation-Date: 2021-07-01 15:19+0000\n"
|
|
||||||
"PO-Revision-Date: 2021-07-01 15:19+0000\n"
|
|
||||||
"Last-Translator: \n"
|
|
||||||
"Language-Team: \n"
|
|
||||||
"MIME-Version: 1.0\n"
|
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
|
||||||
"Content-Transfer-Encoding: \n"
|
|
||||||
"Plural-Forms: \n"
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model,name:l10n_co_partner_vat.model_res_partner
|
|
||||||
msgid "Contact"
|
|
||||||
msgstr "Contacto"
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner_document_type__create_uid
|
|
||||||
msgid "Created by"
|
|
||||||
msgstr "Creado por"
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner_document_type__create_date
|
|
||||||
msgid "Created on"
|
|
||||||
msgstr "Creado el"
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner_document_type__display_name
|
|
||||||
msgid "Display Name"
|
|
||||||
msgstr "Nombre mostrado"
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner_document_type__id
|
|
||||||
msgid "ID"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner_document_type____last_update
|
|
||||||
msgid "Last Modified on"
|
|
||||||
msgstr "Última modificación el"
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner_document_type__write_uid
|
|
||||||
msgid "Last Updated by"
|
|
||||||
msgstr "Última actualización por"
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner_document_type__write_date
|
|
||||||
msgid "Last Updated on"
|
|
||||||
msgstr "Última actualización el"
|
|
||||||
@ -1,59 +0,0 @@
|
|||||||
# Translation of Odoo Server.
|
|
||||||
# This file contains the translation of the following modules:
|
|
||||||
# * l10n_co_partner_vat
|
|
||||||
#
|
|
||||||
msgid ""
|
|
||||||
msgstr ""
|
|
||||||
"Project-Id-Version: Odoo Server 14.0\n"
|
|
||||||
"Report-Msgid-Bugs-To: \n"
|
|
||||||
"POT-Creation-Date: 2021-07-01 15:19+0000\n"
|
|
||||||
"PO-Revision-Date: 2021-07-01 15:19+0000\n"
|
|
||||||
"Last-Translator: \n"
|
|
||||||
"Language-Team: \n"
|
|
||||||
"MIME-Version: 1.0\n"
|
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
|
||||||
"Content-Transfer-Encoding: \n"
|
|
||||||
"Plural-Forms: \n"
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model,name:l10n_co_partner_vat.model_res_partner
|
|
||||||
msgid "Contact"
|
|
||||||
msgstr "Contacto"
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner_document_type__create_uid
|
|
||||||
msgid "Created by"
|
|
||||||
msgstr "Creado por"
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner_document_type__create_date
|
|
||||||
msgid "Created on"
|
|
||||||
msgstr "Creado el"
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner_document_type__display_name
|
|
||||||
msgid "Display Name"
|
|
||||||
msgstr "Nombre mostrado"
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner_document_type__id
|
|
||||||
msgid "ID"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner_document_type____last_update
|
|
||||||
msgid "Last Modified on"
|
|
||||||
msgstr "Última modificación el"
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner_document_type__write_uid
|
|
||||||
msgid "Last Updated by"
|
|
||||||
msgstr "Última actualización por"
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner_document_type__write_date
|
|
||||||
msgid "Last Updated on"
|
|
||||||
msgstr "Última actualización el"
|
|
||||||
@ -1,59 +0,0 @@
|
|||||||
# Translation of Odoo Server.
|
|
||||||
# This file contains the translation of the following modules:
|
|
||||||
# * l10n_co_partner_vat
|
|
||||||
#
|
|
||||||
msgid ""
|
|
||||||
msgstr ""
|
|
||||||
"Project-Id-Version: Odoo Server 14.0\n"
|
|
||||||
"Report-Msgid-Bugs-To: \n"
|
|
||||||
"POT-Creation-Date: 2021-07-01 15:19+0000\n"
|
|
||||||
"PO-Revision-Date: 2021-07-01 15:19+0000\n"
|
|
||||||
"Last-Translator: \n"
|
|
||||||
"Language-Team: \n"
|
|
||||||
"MIME-Version: 1.0\n"
|
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
|
||||||
"Content-Transfer-Encoding: \n"
|
|
||||||
"Plural-Forms: \n"
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model,name:l10n_co_partner_vat.model_res_partner
|
|
||||||
msgid "Contact"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner_document_type__create_uid
|
|
||||||
msgid "Created by"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner_document_type__create_date
|
|
||||||
msgid "Created on"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner_document_type__display_name
|
|
||||||
msgid "Display Name"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner_document_type__id
|
|
||||||
msgid "ID"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner_document_type____last_update
|
|
||||||
msgid "Last Modified on"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner_document_type__write_uid
|
|
||||||
msgid "Last Updated by"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_partner_vat
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_partner_vat.field_res_partner_document_type__write_date
|
|
||||||
msgid "Last Updated on"
|
|
||||||
msgstr ""
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 229 B |
@ -1,43 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<odoo>
|
|
||||||
<record id="view_partner_property_form" model="ir.ui.view">
|
|
||||||
<field name="model">res.partner</field>
|
|
||||||
<field name="inherit_id" ref="account.view_partner_property_form"/>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<xpath expr="//page[@name='sales_purchases']//group[@name='fiscal_information']" position="inside">
|
|
||||||
<field name="property_account_position_id" position="replace"/>
|
|
||||||
</xpath>
|
|
||||||
|
|
||||||
<group name="fiscal_information" position="attributes">
|
|
||||||
<attribute name="invisible">1</attribute>
|
|
||||||
</group>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="view_partner_form" model="ir.ui.view">
|
|
||||||
<field name="model">res.partner</field>
|
|
||||||
<field name="inherit_id" ref="base_vat.view_partner_form"/>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<field name="vat" position="attributes">
|
|
||||||
<attribute name="invisible">1</attribute>
|
|
||||||
</field>
|
|
||||||
|
|
||||||
<field name="vat" position="before">
|
|
||||||
<field name="property_account_position_id"
|
|
||||||
options="{'no_create': True, 'no_open': True}"
|
|
||||||
attrs="{'required': [('parent_id', '=', False)]}"/>
|
|
||||||
</field>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="view_res_partner_filter" model="ir.ui.view">
|
|
||||||
<field name="model">res.partner</field>
|
|
||||||
<field name="inherit_id" ref="base.view_res_partner_filter"/>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<field name="name" position="after">
|
|
||||||
<field name="vat" string="Identification Document"/>
|
|
||||||
<field name="property_account_position_id"/>
|
|
||||||
</field>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
</odoo>
|
|
||||||
@ -1,17 +0,0 @@
|
|||||||
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
|
|
||||||
:target: https://www.gnu.org/licenses/agpl
|
|
||||||
:alt: License: AGPL-3
|
|
||||||
|
|
||||||
=======================================
|
|
||||||
Resolution of the DIAN for the sequence
|
|
||||||
=======================================
|
|
||||||
|
|
||||||
- Control of DIAN resolutions for sequences
|
|
||||||
|
|
||||||
Credits
|
|
||||||
=======
|
|
||||||
|
|
||||||
Contributors
|
|
||||||
------------
|
|
||||||
|
|
||||||
* Joan Marín <https://github.com/JoanMarin>
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2021 Joan Marín <Github@JoanMarin>
|
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
||||||
|
|
||||||
from . import models
|
|
||||||
@ -1,19 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2021 Joan Marín <Github@JoanMarin>
|
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
||||||
|
|
||||||
{
|
|
||||||
"name": "Sequence Resolutions for Colombia",
|
|
||||||
"summary": "Resolution of the DIAN for the sequence.",
|
|
||||||
"version": "14.0.1.0.0",
|
|
||||||
"license": "AGPL-3",
|
|
||||||
"website": "https://github.com/JoanMarin",
|
|
||||||
"author": "Joan Marín Github@JoanMarin",
|
|
||||||
"category": "Localization",
|
|
||||||
"depends": ["account_invoice_force_number_extended"],
|
|
||||||
"data": [
|
|
||||||
"views/ir_sequence_views.xml",
|
|
||||||
"views/account_move_views.xml"
|
|
||||||
],
|
|
||||||
"installable": True,
|
|
||||||
}
|
|
||||||
@ -1,212 +0,0 @@
|
|||||||
# Translation of Odoo Server.
|
|
||||||
# This file contains the translation of the following modules:
|
|
||||||
# * l10n_co_sequence_resolution
|
|
||||||
#
|
|
||||||
msgid ""
|
|
||||||
msgstr ""
|
|
||||||
"Project-Id-Version: Odoo Server 14.0\n"
|
|
||||||
"Report-Msgid-Bugs-To: \n"
|
|
||||||
"POT-Creation-Date: 2021-07-01 15:25+0000\n"
|
|
||||||
"PO-Revision-Date: 2021-07-01 15:25+0000\n"
|
|
||||||
"Last-Translator: \n"
|
|
||||||
"Language-Team: \n"
|
|
||||||
"MIME-Version: 1.0\n"
|
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
|
||||||
"Content-Transfer-Encoding: \n"
|
|
||||||
"Plural-Forms: \n"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__active_resolution
|
|
||||||
msgid "Active Resolution?"
|
|
||||||
msgstr "¿Resolución Activa?"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields.selection,name:l10n_co_sequence_resolution.selection__ir_sequence__dian_type__computer_generated_invoice
|
|
||||||
msgid "Computer Generated Invoice"
|
|
||||||
msgstr "Factura Generada por Computadora"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence__dian_type
|
|
||||||
msgid "DIAN Type"
|
|
||||||
msgstr "Tipo DIAN"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_move__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__display_name
|
|
||||||
msgid "Display Name"
|
|
||||||
msgstr "Nombre mostrado"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__date_to_resolution
|
|
||||||
msgid "Final Date - Resolution"
|
|
||||||
msgstr "Fecha Final - Resolución"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid "Final Date - Resolution, must be greater or equal than Final Date."
|
|
||||||
msgstr "Fecha Final - Resolución, debe ser mayor o igual que la Fecha Inicial."
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid "Final Date must be greater or equal than Initial Date."
|
|
||||||
msgstr "La Fecha Final debe ser mayor o igual que la Fecha Inicial."
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__number_to
|
|
||||||
msgid "Final Number"
|
|
||||||
msgstr "Número Final"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_move__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__id
|
|
||||||
msgid "ID"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__number_from
|
|
||||||
msgid "Initial Number"
|
|
||||||
msgstr "Número Inicial"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model,name:l10n_co_sequence_resolution.model_account_move
|
|
||||||
msgid "Journal Entry"
|
|
||||||
msgstr "Asiento contable"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_move____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range____last_update
|
|
||||||
msgid "Last Modified on"
|
|
||||||
msgstr "Última modificación el"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid "Number To must be greater or equal than Number From."
|
|
||||||
msgstr "El Número Final debe ser mayor o igual que la Número Inicial."
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields.selection,name:l10n_co_sequence_resolution.selection__ir_sequence__dian_type__pos_invoice
|
|
||||||
msgid "POS Invoice"
|
|
||||||
msgstr "Factura POS"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields.selection,name:l10n_co_sequence_resolution.selection__ir_sequence__dian_type__paper_invoice
|
|
||||||
msgid "Paper Invoice"
|
|
||||||
msgstr "Factura en Papel"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__prefix
|
|
||||||
msgid "Prefix"
|
|
||||||
msgstr "Prefijo"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence__remaining_days
|
|
||||||
msgid "Remaining Days"
|
|
||||||
msgstr "Días Restantes"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence__remaining_numbers
|
|
||||||
msgid "Remaining Numbers"
|
|
||||||
msgstr "Números Restantes"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__resolution_number
|
|
||||||
msgid "Resolution Number"
|
|
||||||
msgstr "Número de Resolución"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model,name:l10n_co_sequence_resolution.model_ir_sequence
|
|
||||||
msgid "Sequence"
|
|
||||||
msgstr "Secuencia"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model,name:l10n_co_sequence_resolution.model_ir_sequence_date_range
|
|
||||||
msgid "Sequence Date Range"
|
|
||||||
msgstr "Rango de fechas de la secuencia"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid ""
|
|
||||||
"The Date Range must be unique or a date must not be included in another Date"
|
|
||||||
" Range."
|
|
||||||
msgstr ""
|
|
||||||
"El Rango de Fechas debe ser único o la fecha no debe incluirse en otro Rango"
|
|
||||||
" de Fechas."
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid ""
|
|
||||||
"The Number Next must be greater in one to Number To, to represent a finished"
|
|
||||||
" sequence or Number Next must be included in Number Range."
|
|
||||||
msgstr ""
|
|
||||||
"El Número Siguiente debe ser mayor en uno a Número Final, para representar "
|
|
||||||
"una secuencia terminada o el Número Siguiente debe incluirse en el Rango de "
|
|
||||||
"Números"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model_terms:ir.ui.view,arch_db:l10n_co_sequence_resolution.view_move_form
|
|
||||||
msgid ""
|
|
||||||
"The authorized invoicing resolution for this journal is nearby to expire or the authorized numbering is running out.<br/>\n"
|
|
||||||
" <span style=\"font-weight:bold;\">Please, you must to inform the administration.</span>"
|
|
||||||
msgstr ""
|
|
||||||
"La resolución de facturación autorizada para este diario está próxima a caducar o la numeración autorizada se está agotando.<br/>\n"
|
|
||||||
" <span style=\"font-weight:bold;\">Por favor, debe informar a la administración.</span>"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid "The system needs at least one active DIAN resolution."
|
|
||||||
msgstr "El sistema necesita al menos una resolución DIAN activa."
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid "The system needs only one active DIAN resolution."
|
|
||||||
msgstr "El sistema solo necesita una resolución DIAN activa."
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid "There is no active authorized invoicing resolution."
|
|
||||||
msgstr "No hay una resolución de facturación autorizada activa."
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model_terms:ir.ui.view,arch_db:l10n_co_sequence_resolution.view_move_form
|
|
||||||
msgid ""
|
|
||||||
"There is no active authorized invoicing resolution.<br/>\n"
|
|
||||||
" <span style=\"font-weight:bold;\">Please, you must to inform the administration.</span>"
|
|
||||||
msgstr ""
|
|
||||||
"No hay una resolución de facturación autorizada activa.<br/>\n"
|
|
||||||
" <span style=\"font-weight:bold;\">Por favor, debe informar a la administración.</span>"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence__use_dian_control
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__use_dian_control
|
|
||||||
msgid "Use DIAN Resolutions Control?"
|
|
||||||
msgstr "¿Usar el control de resoluciones DIAN?"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_bank_statement_line__warn_inactive_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_move__warn_inactive_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_payment__warn_inactive_resolution
|
|
||||||
msgid "Warn About Inactive Resolution?"
|
|
||||||
msgstr "¿Advertir Sobre Resolución Inactiva?"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_bank_statement_line__warn_remaining
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_move__warn_remaining
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_payment__warn_remaining
|
|
||||||
msgid "Warn About Remainings?"
|
|
||||||
msgstr "¿Advertir Sobre lo Restante?"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model_terms:ir.ui.view,arch_db:l10n_co_sequence_resolution.sequence_view
|
|
||||||
msgid "Warn From"
|
|
||||||
msgstr "Advertir a Partir de"
|
|
||||||
@ -1,212 +0,0 @@
|
|||||||
# Translation of Odoo Server.
|
|
||||||
# This file contains the translation of the following modules:
|
|
||||||
# * l10n_co_sequence_resolution
|
|
||||||
#
|
|
||||||
msgid ""
|
|
||||||
msgstr ""
|
|
||||||
"Project-Id-Version: Odoo Server 14.0\n"
|
|
||||||
"Report-Msgid-Bugs-To: \n"
|
|
||||||
"POT-Creation-Date: 2021-07-01 15:25+0000\n"
|
|
||||||
"PO-Revision-Date: 2021-07-01 15:25+0000\n"
|
|
||||||
"Last-Translator: \n"
|
|
||||||
"Language-Team: \n"
|
|
||||||
"MIME-Version: 1.0\n"
|
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
|
||||||
"Content-Transfer-Encoding: \n"
|
|
||||||
"Plural-Forms: \n"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__active_resolution
|
|
||||||
msgid "Active Resolution?"
|
|
||||||
msgstr "¿Resolución Activa?"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields.selection,name:l10n_co_sequence_resolution.selection__ir_sequence__dian_type__computer_generated_invoice
|
|
||||||
msgid "Computer Generated Invoice"
|
|
||||||
msgstr "Factura Generada por Computadora"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence__dian_type
|
|
||||||
msgid "DIAN Type"
|
|
||||||
msgstr "Tipo DIAN"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_move__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__display_name
|
|
||||||
msgid "Display Name"
|
|
||||||
msgstr "Nombre mostrado"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__date_to_resolution
|
|
||||||
msgid "Final Date - Resolution"
|
|
||||||
msgstr "Fecha Final - Resolución"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid "Final Date - Resolution, must be greater or equal than Final Date."
|
|
||||||
msgstr "Fecha Final - Resolución, debe ser mayor o igual que la Fecha Inicial."
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid "Final Date must be greater or equal than Initial Date."
|
|
||||||
msgstr "La Fecha Final debe ser mayor o igual que la Fecha Inicial."
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__number_to
|
|
||||||
msgid "Final Number"
|
|
||||||
msgstr "Número Final"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_move__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__id
|
|
||||||
msgid "ID"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__number_from
|
|
||||||
msgid "Initial Number"
|
|
||||||
msgstr "Número Inicial"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model,name:l10n_co_sequence_resolution.model_account_move
|
|
||||||
msgid "Journal Entry"
|
|
||||||
msgstr "Asiento contable"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_move____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range____last_update
|
|
||||||
msgid "Last Modified on"
|
|
||||||
msgstr "Última modificación el"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid "Number To must be greater or equal than Number From."
|
|
||||||
msgstr "El Número Final debe ser mayor o igual que la Número Inicial."
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields.selection,name:l10n_co_sequence_resolution.selection__ir_sequence__dian_type__pos_invoice
|
|
||||||
msgid "POS Invoice"
|
|
||||||
msgstr "Factura POS"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields.selection,name:l10n_co_sequence_resolution.selection__ir_sequence__dian_type__paper_invoice
|
|
||||||
msgid "Paper Invoice"
|
|
||||||
msgstr "Factura en Papel"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__prefix
|
|
||||||
msgid "Prefix"
|
|
||||||
msgstr "Prefijo"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence__remaining_days
|
|
||||||
msgid "Remaining Days"
|
|
||||||
msgstr "Días Restantes"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence__remaining_numbers
|
|
||||||
msgid "Remaining Numbers"
|
|
||||||
msgstr "Números Restantes"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__resolution_number
|
|
||||||
msgid "Resolution Number"
|
|
||||||
msgstr "Número de Resolución"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model,name:l10n_co_sequence_resolution.model_ir_sequence
|
|
||||||
msgid "Sequence"
|
|
||||||
msgstr "Secuencia"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model,name:l10n_co_sequence_resolution.model_ir_sequence_date_range
|
|
||||||
msgid "Sequence Date Range"
|
|
||||||
msgstr "Rango de fechas de la secuencia"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid ""
|
|
||||||
"The Date Range must be unique or a date must not be included in another Date"
|
|
||||||
" Range."
|
|
||||||
msgstr ""
|
|
||||||
"El Rango de Fechas debe ser único o la fecha no debe incluirse en otro Rango"
|
|
||||||
" de Fechas."
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid ""
|
|
||||||
"The Number Next must be greater in one to Number To, to represent a finished"
|
|
||||||
" sequence or Number Next must be included in Number Range."
|
|
||||||
msgstr ""
|
|
||||||
"El Número Siguiente debe ser mayor en uno a Número Final, para representar "
|
|
||||||
"una secuencia terminada o el Número Siguiente debe incluirse en el Rango de "
|
|
||||||
"Números"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model_terms:ir.ui.view,arch_db:l10n_co_sequence_resolution.view_move_form
|
|
||||||
msgid ""
|
|
||||||
"The authorized invoicing resolution for this journal is nearby to expire or the authorized numbering is running out.<br/>\n"
|
|
||||||
" <span style=\"font-weight:bold;\">Please, you must to inform the administration.</span>"
|
|
||||||
msgstr ""
|
|
||||||
"La resolución de facturación autorizada para este diario está próxima a caducar o la numeración autorizada se está agotando.<br/>\n"
|
|
||||||
" <span style=\"font-weight:bold;\">Por favor, debe informar a la administración.</span>"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid "The system needs at least one active DIAN resolution."
|
|
||||||
msgstr "El sistema necesita al menos una resolución DIAN activa."
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid "The system needs only one active DIAN resolution."
|
|
||||||
msgstr "El sistema solo necesita una resolución DIAN activa."
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid "There is no active authorized invoicing resolution."
|
|
||||||
msgstr "No hay una resolución de facturación autorizada activa."
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model_terms:ir.ui.view,arch_db:l10n_co_sequence_resolution.view_move_form
|
|
||||||
msgid ""
|
|
||||||
"There is no active authorized invoicing resolution.<br/>\n"
|
|
||||||
" <span style=\"font-weight:bold;\">Please, you must to inform the administration.</span>"
|
|
||||||
msgstr ""
|
|
||||||
"No hay una resolución de facturación autorizada activa.<br/>\n"
|
|
||||||
" <span style=\"font-weight:bold;\">Por favor, debe informar a la administración.</span>"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence__use_dian_control
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__use_dian_control
|
|
||||||
msgid "Use DIAN Resolutions Control?"
|
|
||||||
msgstr "¿Usar el control de resoluciones DIAN?"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_bank_statement_line__warn_inactive_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_move__warn_inactive_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_payment__warn_inactive_resolution
|
|
||||||
msgid "Warn About Inactive Resolution?"
|
|
||||||
msgstr "¿Advertir Sobre Resolución Inactiva?"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_bank_statement_line__warn_remaining
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_move__warn_remaining
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_payment__warn_remaining
|
|
||||||
msgid "Warn About Remainings?"
|
|
||||||
msgstr "¿Advertir Sobre lo Restante?"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model_terms:ir.ui.view,arch_db:l10n_co_sequence_resolution.sequence_view
|
|
||||||
msgid "Warn From"
|
|
||||||
msgstr "Advertir a Partir de"
|
|
||||||
@ -1,203 +0,0 @@
|
|||||||
# Translation of Odoo Server.
|
|
||||||
# This file contains the translation of the following modules:
|
|
||||||
# * l10n_co_sequence_resolution
|
|
||||||
#
|
|
||||||
msgid ""
|
|
||||||
msgstr ""
|
|
||||||
"Project-Id-Version: Odoo Server 14.0\n"
|
|
||||||
"Report-Msgid-Bugs-To: \n"
|
|
||||||
"POT-Creation-Date: 2021-07-01 15:25+0000\n"
|
|
||||||
"PO-Revision-Date: 2021-07-01 15:25+0000\n"
|
|
||||||
"Last-Translator: \n"
|
|
||||||
"Language-Team: \n"
|
|
||||||
"MIME-Version: 1.0\n"
|
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
|
||||||
"Content-Transfer-Encoding: \n"
|
|
||||||
"Plural-Forms: \n"
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__active_resolution
|
|
||||||
msgid "Active Resolution?"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields.selection,name:l10n_co_sequence_resolution.selection__ir_sequence__dian_type__computer_generated_invoice
|
|
||||||
msgid "Computer Generated Invoice"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence__dian_type
|
|
||||||
msgid "DIAN Type"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_move__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__display_name
|
|
||||||
msgid "Display Name"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__date_to_resolution
|
|
||||||
msgid "Final Date - Resolution"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid "Final Date - Resolution, must be greater or equal than Final Date."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid "Final Date must be greater or equal than Initial Date."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__number_to
|
|
||||||
msgid "Final Number"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_move__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__id
|
|
||||||
msgid "ID"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__number_from
|
|
||||||
msgid "Initial Number"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model,name:l10n_co_sequence_resolution.model_account_move
|
|
||||||
msgid "Journal Entry"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_move____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range____last_update
|
|
||||||
msgid "Last Modified on"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid "Number To must be greater or equal than Number From."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields.selection,name:l10n_co_sequence_resolution.selection__ir_sequence__dian_type__pos_invoice
|
|
||||||
msgid "POS Invoice"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields.selection,name:l10n_co_sequence_resolution.selection__ir_sequence__dian_type__paper_invoice
|
|
||||||
msgid "Paper Invoice"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__prefix
|
|
||||||
msgid "Prefix"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence__remaining_days
|
|
||||||
msgid "Remaining Days"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence__remaining_numbers
|
|
||||||
msgid "Remaining Numbers"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__resolution_number
|
|
||||||
msgid "Resolution Number"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model,name:l10n_co_sequence_resolution.model_ir_sequence
|
|
||||||
msgid "Sequence"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model,name:l10n_co_sequence_resolution.model_ir_sequence_date_range
|
|
||||||
msgid "Sequence Date Range"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid ""
|
|
||||||
"The Date Range must be unique or a date must not be included in another Date"
|
|
||||||
" Range."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid ""
|
|
||||||
"The Number Next must be greater in one to Number To, to represent a finished"
|
|
||||||
" sequence or Number Next must be included in Number Range."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model_terms:ir.ui.view,arch_db:l10n_co_sequence_resolution.view_move_form
|
|
||||||
msgid ""
|
|
||||||
"The authorized invoicing resolution for this journal is nearby to expire or the authorized numbering is running out.<br/>\n"
|
|
||||||
" <span style=\"font-weight:bold;\">Please, you must to inform the administration.</span>"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid "The system needs at least one active DIAN resolution."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid "The system needs only one active DIAN resolution."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: code:addons/l10n_co_sequence_resolution/models/ir_sequence.py:0
|
|
||||||
#, python-format
|
|
||||||
msgid "There is no active authorized invoicing resolution."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model_terms:ir.ui.view,arch_db:l10n_co_sequence_resolution.view_move_form
|
|
||||||
msgid ""
|
|
||||||
"There is no active authorized invoicing resolution.<br/>\n"
|
|
||||||
" <span style=\"font-weight:bold;\">Please, you must to inform the administration.</span>"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence__use_dian_control
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_ir_sequence_date_range__use_dian_control
|
|
||||||
msgid "Use DIAN Resolutions Control?"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_bank_statement_line__warn_inactive_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_move__warn_inactive_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_payment__warn_inactive_resolution
|
|
||||||
msgid "Warn About Inactive Resolution?"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_bank_statement_line__warn_remaining
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_move__warn_remaining
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_sequence_resolution.field_account_payment__warn_remaining
|
|
||||||
msgid "Warn About Remainings?"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_sequence_resolution
|
|
||||||
#: model_terms:ir.ui.view,arch_db:l10n_co_sequence_resolution.sequence_view
|
|
||||||
msgid "Warn From"
|
|
||||||
msgstr ""
|
|
||||||
@ -1,7 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2021 Joan Marín <Github@JoanMarin>
|
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
||||||
|
|
||||||
from . import account_move
|
|
||||||
from . import ir_sequence_date_range
|
|
||||||
from . import ir_sequence
|
|
||||||
@ -1,46 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2021 Joan Marín <Github@JoanMarin>
|
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
||||||
|
|
||||||
from datetime import datetime
|
|
||||||
from odoo import fields, models
|
|
||||||
|
|
||||||
|
|
||||||
class AccountMove(models.Model):
|
|
||||||
_inherit = 'account.move'
|
|
||||||
|
|
||||||
def _get_warn_resolution(self):
|
|
||||||
warn_remaining = False
|
|
||||||
warn_inactive_resolution = False
|
|
||||||
|
|
||||||
if self.journal_id.sequence_id and self.journal_id.sequence_id.use_dian_control:
|
|
||||||
remaining_numbers = self.journal_id.sequence_id.remaining_numbers
|
|
||||||
remaining_days = self.journal_id.sequence_id.remaining_days
|
|
||||||
date_range = self.env['ir.sequence.date_range'].search([
|
|
||||||
('sequence_id', '=', self.journal_id.sequence_id.id),
|
|
||||||
('active_resolution', '=', True)
|
|
||||||
])
|
|
||||||
today = fields.Date.context_today(self)
|
|
||||||
|
|
||||||
if date_range:
|
|
||||||
date_range.ensure_one()
|
|
||||||
date_to = date_range.date_to
|
|
||||||
days = (date_to - today).days
|
|
||||||
numbers = date_range.number_to - date_range.number_next_actual
|
|
||||||
|
|
||||||
if numbers < remaining_numbers or days < remaining_days:
|
|
||||||
warn_remaining = True
|
|
||||||
else:
|
|
||||||
warn_inactive_resolution = True
|
|
||||||
|
|
||||||
self.warn_inactive_resolution = warn_inactive_resolution
|
|
||||||
self.warn_remaining = warn_remaining
|
|
||||||
|
|
||||||
warn_remaining = fields.Boolean(
|
|
||||||
compute="_get_warn_resolution",
|
|
||||||
string="Warn About Remainings?",
|
|
||||||
store=False)
|
|
||||||
warn_inactive_resolution = fields.Boolean(
|
|
||||||
compute="_get_warn_resolution",
|
|
||||||
string="Warn About Inactive Resolution?",
|
|
||||||
store=False)
|
|
||||||
@ -1,171 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2021 Joan Marín <Github@JoanMarin>
|
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
||||||
|
|
||||||
import pytz
|
|
||||||
from dateutil import tz
|
|
||||||
from datetime import datetime
|
|
||||||
from odoo import api, fields, models, _
|
|
||||||
from odoo.exceptions import ValidationError
|
|
||||||
|
|
||||||
|
|
||||||
class IrSequence(models.Model):
|
|
||||||
_inherit = 'ir.sequence'
|
|
||||||
|
|
||||||
use_dian_control = fields.Boolean(string='Use DIAN Resolutions Control?')
|
|
||||||
remaining_numbers = fields.Integer(string='Remaining Numbers', default=False)
|
|
||||||
remaining_days = fields.Integer(string='Remaining Days', default=False)
|
|
||||||
dian_type = fields.Selection(
|
|
||||||
selection=[
|
|
||||||
('computer_generated_invoice', 'Computer Generated Invoice'),
|
|
||||||
('paper_invoice', 'Paper Invoice'),
|
|
||||||
('pos_invoice', 'POS Invoice')],
|
|
||||||
string='DIAN Type')
|
|
||||||
description = fields.Text(string='Resolution Description')
|
|
||||||
|
|
||||||
@api.model
|
|
||||||
def create(self, vals):
|
|
||||||
rec = super(IrSequence, self).create(vals)
|
|
||||||
|
|
||||||
for sequence_id in rec:
|
|
||||||
if sequence_id.use_dian_control:
|
|
||||||
sequence_id.check_active_resolution()
|
|
||||||
|
|
||||||
sequence_id.check_date_range_ids()
|
|
||||||
|
|
||||||
return rec
|
|
||||||
|
|
||||||
def write(self, vals):
|
|
||||||
res = super(IrSequence, self).write(vals)
|
|
||||||
|
|
||||||
for sequence_id in self:
|
|
||||||
if sequence_id.use_dian_control:
|
|
||||||
sequence_id.check_active_resolution()
|
|
||||||
|
|
||||||
sequence_id.check_date_range_ids()
|
|
||||||
|
|
||||||
return res
|
|
||||||
|
|
||||||
@api.onchange('use_dian_control')
|
|
||||||
def onchange_active_resolution(self):
|
|
||||||
for sequence_id in self:
|
|
||||||
sequence_id.use_date_range = True
|
|
||||||
|
|
||||||
def check_active_resolution(self):
|
|
||||||
msg1 = _('Final Date - Resolution, must be greater or equal than Final Date.')
|
|
||||||
|
|
||||||
if self.use_dian_control:
|
|
||||||
if self.implementation != 'no_gap':
|
|
||||||
self.implementation = 'no_gap'
|
|
||||||
|
|
||||||
if self.padding != 0:
|
|
||||||
self.padding = 0
|
|
||||||
|
|
||||||
if not self.use_date_range:
|
|
||||||
self.use_date_range = True
|
|
||||||
|
|
||||||
if self.suffix:
|
|
||||||
self.suffix = False
|
|
||||||
|
|
||||||
if self.number_increment != 1:
|
|
||||||
self.number_increment = 1
|
|
||||||
|
|
||||||
timezone = pytz.timezone(self.env.user.tz or 'America/Bogota')
|
|
||||||
from_zone = tz.gettz('UTC')
|
|
||||||
to_zone = tz.gettz(timezone.zone)
|
|
||||||
current_date = datetime.now().replace(tzinfo=from_zone)
|
|
||||||
current_date = current_date.astimezone(to_zone).strftime('%Y-%m-%d')
|
|
||||||
|
|
||||||
for date_range_id in self.date_range_ids:
|
|
||||||
number_next_actual = date_range_id.number_next_actual
|
|
||||||
date_from = datetime.strftime(date_range_id.date_from, '%Y-%m-%d')
|
|
||||||
date_to = datetime.strftime(date_range_id.date_to, '%Y-%m-%d')
|
|
||||||
date_to_resolution = datetime.strftime(
|
|
||||||
date_range_id.date_to_resolution, '%Y-%m-%d')
|
|
||||||
|
|
||||||
if date_to_resolution < date_to:
|
|
||||||
raise ValidationError(msg1)
|
|
||||||
|
|
||||||
if (number_next_actual >= date_range_id.number_from
|
|
||||||
and number_next_actual <= date_range_id.number_to
|
|
||||||
and current_date >= date_from
|
|
||||||
and current_date <= date_to):
|
|
||||||
if not date_range_id.active_resolution:
|
|
||||||
date_range_id.active_resolution = True
|
|
||||||
|
|
||||||
if date_range_id.prefix != self.prefix:
|
|
||||||
date_range_id.prefix = self.prefix
|
|
||||||
else:
|
|
||||||
date_range_id.active_resolution = False
|
|
||||||
|
|
||||||
if not date_range_id.prefix:
|
|
||||||
date_range_id.prefix = self.prefix
|
|
||||||
|
|
||||||
return True
|
|
||||||
|
|
||||||
def check_date_range_ids(self):
|
|
||||||
msg1 = _('Final Date must be greater or equal than Initial Date.')
|
|
||||||
msg2 = _('The Date Range must be unique or a date ' +
|
|
||||||
'must not be included in another Date Range.')
|
|
||||||
msg3 = _('Number To must be greater or equal than Number From.')
|
|
||||||
msg4 = _('The Number Next must be greater in one to Number To, to represent ' +
|
|
||||||
'a finished sequence or Number Next must be included in Number Range.')
|
|
||||||
msg5 = _('The system needs only one active DIAN resolution.')
|
|
||||||
msg6 = _('The system needs at least one active DIAN resolution.')
|
|
||||||
date_ranges = []
|
|
||||||
_active_resolution = 0
|
|
||||||
|
|
||||||
for date_range_id in self.date_range_ids:
|
|
||||||
if date_range_id.date_from and date_range_id.date_to:
|
|
||||||
if date_range_id.date_from > date_range_id.date_to:
|
|
||||||
raise ValidationError(msg1)
|
|
||||||
|
|
||||||
date_ranges.append((date_range_id.date_from, date_range_id.date_to))
|
|
||||||
date_ranges.sort(key=lambda date_range: date_range[0])
|
|
||||||
date_from = False
|
|
||||||
date_to = False
|
|
||||||
|
|
||||||
for date_range in date_ranges:
|
|
||||||
if not date_from and not date_to:
|
|
||||||
date_from = date_range[0]
|
|
||||||
date_to = date_range[1]
|
|
||||||
continue
|
|
||||||
|
|
||||||
if date_to < date_range[0]:
|
|
||||||
date_from = date_range[0]
|
|
||||||
date_to = date_range[1]
|
|
||||||
else:
|
|
||||||
raise ValidationError(msg2)
|
|
||||||
|
|
||||||
if date_range_id.number_from and date_range_id.number_to:
|
|
||||||
if date_range_id.number_from > date_range_id.number_to:
|
|
||||||
raise ValidationError(msg3)
|
|
||||||
elif (date_range_id.number_next_actual >
|
|
||||||
(date_range_id.number_to + 1)
|
|
||||||
or date_range_id.number_from >
|
|
||||||
date_range_id.number_next_actual):
|
|
||||||
raise ValidationError(msg4)
|
|
||||||
|
|
||||||
if date_range_id.active_resolution and self.use_dian_control:
|
|
||||||
_active_resolution += 1
|
|
||||||
|
|
||||||
if self.use_dian_control:
|
|
||||||
if _active_resolution > 1:
|
|
||||||
raise ValidationError(msg5)
|
|
||||||
|
|
||||||
if _active_resolution == 0:
|
|
||||||
raise ValidationError(msg6)
|
|
||||||
|
|
||||||
def _next(self, sequence_date=None):
|
|
||||||
msg = _('There is no active authorized invoicing resolution.')
|
|
||||||
date_range_ids = self.date_range_ids.filtered(lambda dr: dr.active_resolution)
|
|
||||||
|
|
||||||
if self.use_dian_control and not date_range_ids:
|
|
||||||
raise ValidationError(msg)
|
|
||||||
|
|
||||||
res = super(IrSequence, self)._next(sequence_date)
|
|
||||||
|
|
||||||
if self.use_dian_control:
|
|
||||||
self.check_active_resolution()
|
|
||||||
|
|
||||||
return res
|
|
||||||
@ -1,20 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2021 Joan Marín <Github@JoanMarin>
|
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
||||||
|
|
||||||
from odoo import fields, models, api
|
|
||||||
|
|
||||||
|
|
||||||
class IrSequenceDateRange(models.Model):
|
|
||||||
_inherit = 'ir.sequence.date_range'
|
|
||||||
|
|
||||||
use_dian_control = fields.Boolean(
|
|
||||||
related='sequence_id.use_dian_control',
|
|
||||||
string='Use DIAN Resolutions Control?',
|
|
||||||
store=False)
|
|
||||||
prefix = fields.Char(string='Prefix')
|
|
||||||
resolution_number = fields.Char(string='Resolution Number')
|
|
||||||
date_to_resolution = fields.Date(string='Final Date - Resolution')
|
|
||||||
number_from = fields.Integer(string='Initial Number', default=False)
|
|
||||||
number_to = fields.Integer(string='Final Number', default=False)
|
|
||||||
active_resolution = fields.Boolean(string='Active Resolution?')
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 229 B |
@ -1,27 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<odoo>
|
|
||||||
<record id="view_move_form" model="ir.ui.view">
|
|
||||||
<field name="model">account.move</field>
|
|
||||||
<field name="inherit_id" ref="account.view_move_form"/>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<xpath expr="//header" position="after">
|
|
||||||
<field name="warn_remaining" invisible="1"/>
|
|
||||||
<field name="warn_inactive_resolution" invisible="1"/>
|
|
||||||
<div class="alert alert-error"
|
|
||||||
role="alert"
|
|
||||||
style="margin-bottom:0px; background-color:#ff9e9e;"
|
|
||||||
attrs="{'invisible': [('warn_remaining', '!=', True)]}">
|
|
||||||
The authorized invoicing resolution for this journal is nearby to expire or the authorized numbering is running out.<br/>
|
|
||||||
<span style="font-weight:bold;">Please, you must to inform the administration.</span>
|
|
||||||
</div>
|
|
||||||
<div class="alert alert-error"
|
|
||||||
role="alert"
|
|
||||||
style="margin-bottom:0px; background-color:#ff9e9e;"
|
|
||||||
attrs="{'invisible': [('warn_inactive_resolution', '!=', True)]}">
|
|
||||||
There is no active authorized invoicing resolution.<br/>
|
|
||||||
<span style="font-weight:bold;">Please, you must to inform the administration.</span>
|
|
||||||
</div>
|
|
||||||
</xpath>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
</odoo>
|
|
||||||
@ -1,55 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<odoo>
|
|
||||||
<record id="sequence_view" model="ir.ui.view">
|
|
||||||
<field name="model">ir.sequence</field>
|
|
||||||
<field name="inherit_id" ref="base.sequence_view"/>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<field name="use_date_range" position="after">
|
|
||||||
<field name="use_dian_control"/>
|
|
||||||
<field name="dian_type" attrs="{'required': [('use_dian_control', '=', True)]}"/>
|
|
||||||
<field name="description"/>
|
|
||||||
</field>
|
|
||||||
|
|
||||||
<field name="implementation" position="attributes">
|
|
||||||
<attribute name="attrs">{'invisible': [('use_dian_control', '=', True)]}</attribute>
|
|
||||||
</field>
|
|
||||||
|
|
||||||
<field name="suffix" position="attributes">
|
|
||||||
<attribute name="attrs">{'invisible': [('use_dian_control', '=', True)]}</attribute>
|
|
||||||
</field>
|
|
||||||
|
|
||||||
<field name="use_date_range" position="attributes">
|
|
||||||
<attribute name="attrs">{'invisible': [('use_dian_control', '=', True)]}</attribute>
|
|
||||||
</field>
|
|
||||||
|
|
||||||
<field name="padding" position="attributes">
|
|
||||||
<attribute name="attrs">{'invisible': [('use_dian_control', '=', True)]}</attribute>
|
|
||||||
</field>
|
|
||||||
|
|
||||||
<field name="number_increment" position="attributes">
|
|
||||||
<attribute name="attrs">{'invisible': [('use_dian_control', '=', True)]}</attribute>
|
|
||||||
<attribute name="widget">char</attribute>
|
|
||||||
</field>
|
|
||||||
|
|
||||||
<xpath expr="//page/group/group[1]" position="after">
|
|
||||||
<group string="Warn From" attrs="{'invisible': [('use_dian_control', '!=', True)]}">
|
|
||||||
<field name="remaining_numbers" attrs="{'required': [('use_dian_control', '=', True)]}"/>
|
|
||||||
<field name="remaining_days" attrs="{'required': [('use_dian_control', '=', True)]}"/>
|
|
||||||
</group>
|
|
||||||
</xpath>
|
|
||||||
|
|
||||||
<field name="date_from" position="before">
|
|
||||||
<field name="use_dian_control" readonly="1" invisible="1"/>
|
|
||||||
<field name="prefix" readonly="1"/>
|
|
||||||
<field name="resolution_number" attrs="{'required': [('use_dian_control', '=', True)]}"/>
|
|
||||||
</field>
|
|
||||||
|
|
||||||
<field name="date_to" position="after">
|
|
||||||
<field name="date_to_resolution" attrs="{'required': [('use_dian_control', '=', True)]}"/>
|
|
||||||
<field name="number_from" attrs="{'required': [('use_dian_control', '=', True)]}"/>
|
|
||||||
<field name="number_to" attrs="{'required': [('use_dian_control', '=', True)]}"/>
|
|
||||||
<field name="active_resolution" readonly="1"/>
|
|
||||||
</field>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
</odoo>
|
|
||||||
@ -1,23 +0,0 @@
|
|||||||
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
|
|
||||||
:target: https://www.gnu.org/licenses/agpl
|
|
||||||
:alt: License: AGPL-3
|
|
||||||
|
|
||||||
===============================
|
|
||||||
Colombian Unit of Measure Codes
|
|
||||||
===============================
|
|
||||||
|
|
||||||
Este módulo tiene los códigos de unidad de medida identificados
|
|
||||||
por la DIAN para la localizacion Colombiana, informacion obtenida del anexo
|
|
||||||
tecnico para facturacion electronica version 1.8, punto 13.3.6.
|
|
||||||
|
|
||||||
This module has the unit of measure codes identified by the
|
|
||||||
DIAN for the Colombian localization, information obtained from the technical
|
|
||||||
annex for e-invoicing version 1.8, point 13.3.6.
|
|
||||||
|
|
||||||
Credits
|
|
||||||
=======
|
|
||||||
|
|
||||||
Contributors
|
|
||||||
------------
|
|
||||||
|
|
||||||
* Joan Marín <https://github.com/JoanMarin>
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2021 Joan Marín <Github@JoanMarin>
|
|
||||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
||||||
|
|
||||||
from . import models
|
|
||||||
@ -1,20 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2021 Joan Marín <Github@JoanMarin>
|
|
||||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
||||||
|
|
||||||
{
|
|
||||||
"name": "Colombian Unit of Measure Codes",
|
|
||||||
"summary": "Colombian Unit of Measure Codes",
|
|
||||||
"version": "14.0.1.0.0",
|
|
||||||
"license": "AGPL-3",
|
|
||||||
"website": "https://github.com/JoanMarin",
|
|
||||||
"author": "Joan Marín Github@JoanMarin",
|
|
||||||
"category": "Localization",
|
|
||||||
"depends": ["product"],
|
|
||||||
"data": [
|
|
||||||
"security/ir.model.access.csv",
|
|
||||||
"data/uom.code.csv",
|
|
||||||
"views/uom_uom_views.xml",
|
|
||||||
],
|
|
||||||
"installable": True,
|
|
||||||
}
|
|
||||||
File diff suppressed because it is too large
Load Diff
@ -1,79 +0,0 @@
|
|||||||
# Translation of Odoo Server.
|
|
||||||
# This file contains the translation of the following modules:
|
|
||||||
# * l10n_co_uom
|
|
||||||
#
|
|
||||||
msgid ""
|
|
||||||
msgstr ""
|
|
||||||
"Project-Id-Version: Odoo Server 14.0\n"
|
|
||||||
"Report-Msgid-Bugs-To: \n"
|
|
||||||
"POT-Creation-Date: 2021-07-01 15:35+0000\n"
|
|
||||||
"PO-Revision-Date: 2021-07-01 15:35+0000\n"
|
|
||||||
"Last-Translator: \n"
|
|
||||||
"Language-Team: \n"
|
|
||||||
"MIME-Version: 1.0\n"
|
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
|
||||||
"Content-Transfer-Encoding: \n"
|
|
||||||
"Plural-Forms: \n"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__code
|
|
||||||
msgid "Code"
|
|
||||||
msgstr "Código"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__create_uid
|
|
||||||
msgid "Created by"
|
|
||||||
msgstr "Creado por"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__create_date
|
|
||||||
msgid "Created on"
|
|
||||||
msgstr "Creado el"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_uom__display_name
|
|
||||||
msgid "Display Name"
|
|
||||||
msgstr "Nombre mostrado"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_uom__id
|
|
||||||
msgid "ID"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_uom____last_update
|
|
||||||
msgid "Last Modified on"
|
|
||||||
msgstr "Última modificación el"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__write_uid
|
|
||||||
msgid "Last Updated by"
|
|
||||||
msgstr "Última actualización por"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__write_date
|
|
||||||
msgid "Last Updated on"
|
|
||||||
msgstr "Última actualización el"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__name
|
|
||||||
msgid "Name"
|
|
||||||
msgstr "Nombre"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model,name:l10n_co_uom.model_uom_uom
|
|
||||||
msgid "Product Unit of Measure"
|
|
||||||
msgstr "Unidad de medida del producto"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_uom__product_uom_code_id
|
|
||||||
msgid "Unit of Measure Code"
|
|
||||||
msgstr "Código de Unidad de Medida"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model,name:l10n_co_uom.model_uom_code
|
|
||||||
msgid "Unit of Measure Codes"
|
|
||||||
msgstr "Códigos de Unidad de Medida"
|
|
||||||
@ -1,79 +0,0 @@
|
|||||||
# Translation of Odoo Server.
|
|
||||||
# This file contains the translation of the following modules:
|
|
||||||
# * l10n_co_uom
|
|
||||||
#
|
|
||||||
msgid ""
|
|
||||||
msgstr ""
|
|
||||||
"Project-Id-Version: Odoo Server 14.0\n"
|
|
||||||
"Report-Msgid-Bugs-To: \n"
|
|
||||||
"POT-Creation-Date: 2021-07-01 15:35+0000\n"
|
|
||||||
"PO-Revision-Date: 2021-07-01 15:35+0000\n"
|
|
||||||
"Last-Translator: \n"
|
|
||||||
"Language-Team: \n"
|
|
||||||
"MIME-Version: 1.0\n"
|
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
|
||||||
"Content-Transfer-Encoding: \n"
|
|
||||||
"Plural-Forms: \n"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__code
|
|
||||||
msgid "Code"
|
|
||||||
msgstr "Código"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__create_uid
|
|
||||||
msgid "Created by"
|
|
||||||
msgstr "Creado por"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__create_date
|
|
||||||
msgid "Created on"
|
|
||||||
msgstr "Creado el"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_uom__display_name
|
|
||||||
msgid "Display Name"
|
|
||||||
msgstr "Nombre mostrado"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_uom__id
|
|
||||||
msgid "ID"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_uom____last_update
|
|
||||||
msgid "Last Modified on"
|
|
||||||
msgstr "Última modificación el"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__write_uid
|
|
||||||
msgid "Last Updated by"
|
|
||||||
msgstr "Última actualización por"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__write_date
|
|
||||||
msgid "Last Updated on"
|
|
||||||
msgstr "Última actualización el"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__name
|
|
||||||
msgid "Name"
|
|
||||||
msgstr "Nombre"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model,name:l10n_co_uom.model_uom_uom
|
|
||||||
msgid "Product Unit of Measure"
|
|
||||||
msgstr "Unidad de medida del producto"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_uom__product_uom_code_id
|
|
||||||
msgid "Unit of Measure Code"
|
|
||||||
msgstr "Código de Unidad de Medida"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model,name:l10n_co_uom.model_uom_code
|
|
||||||
msgid "Unit of Measure Codes"
|
|
||||||
msgstr "Códigos de Unidad de Medida"
|
|
||||||
@ -1,79 +0,0 @@
|
|||||||
# Translation of Odoo Server.
|
|
||||||
# This file contains the translation of the following modules:
|
|
||||||
# * l10n_co_uom
|
|
||||||
#
|
|
||||||
msgid ""
|
|
||||||
msgstr ""
|
|
||||||
"Project-Id-Version: Odoo Server 14.0\n"
|
|
||||||
"Report-Msgid-Bugs-To: \n"
|
|
||||||
"POT-Creation-Date: 2021-07-01 15:34+0000\n"
|
|
||||||
"PO-Revision-Date: 2021-07-01 15:34+0000\n"
|
|
||||||
"Last-Translator: \n"
|
|
||||||
"Language-Team: \n"
|
|
||||||
"MIME-Version: 1.0\n"
|
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
|
||||||
"Content-Transfer-Encoding: \n"
|
|
||||||
"Plural-Forms: \n"
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__code
|
|
||||||
msgid "Code"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__create_uid
|
|
||||||
msgid "Created by"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__create_date
|
|
||||||
msgid "Created on"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__display_name
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_uom__display_name
|
|
||||||
msgid "Display Name"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__id
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_uom__id
|
|
||||||
msgid "ID"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code____last_update
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_uom____last_update
|
|
||||||
msgid "Last Modified on"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__write_uid
|
|
||||||
msgid "Last Updated by"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__write_date
|
|
||||||
msgid "Last Updated on"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_code__name
|
|
||||||
msgid "Name"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model,name:l10n_co_uom.model_uom_uom
|
|
||||||
msgid "Product Unit of Measure"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model.fields,field_description:l10n_co_uom.field_uom_uom__product_uom_code_id
|
|
||||||
msgid "Unit of Measure Code"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. module: l10n_co_uom
|
|
||||||
#: model:ir.model,name:l10n_co_uom.model_uom_code
|
|
||||||
msgid "Unit of Measure Codes"
|
|
||||||
msgstr ""
|
|
||||||
@ -1,6 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2021 Joan Marín <Github@JoanMarin>
|
|
||||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
||||||
|
|
||||||
from . import uom_code
|
|
||||||
from . import uom_uom
|
|
||||||
@ -1,13 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2021 Joan Marín <Github@JoanMarin>
|
|
||||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
||||||
|
|
||||||
from odoo import fields, models
|
|
||||||
|
|
||||||
|
|
||||||
class UomCode(models.Model):
|
|
||||||
_name = 'uom.code'
|
|
||||||
_description = 'Unit of Measure Codes'
|
|
||||||
|
|
||||||
name = fields.Char(string='Name')
|
|
||||||
code = fields.Char(string='Code')
|
|
||||||
@ -1,12 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Copyright 2021 Joan Marín <Github@JoanMarin>
|
|
||||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
||||||
|
|
||||||
from odoo import fields, models
|
|
||||||
|
|
||||||
|
|
||||||
class Uom(models.Model):
|
|
||||||
_inherit = 'uom.uom'
|
|
||||||
|
|
||||||
product_uom_code_id = fields.Many2one(comodel_name='uom.code',
|
|
||||||
string='Unit of Measure Code')
|
|
||||||
@ -1,2 +0,0 @@
|
|||||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
|
||||||
access_uom_code_users,uom_code_users,model_uom_code,,1,0,0,0
|
|
||||||
|
Binary file not shown.
|
Before Width: | Height: | Size: 229 B |
@ -1,12 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<odoo>
|
|
||||||
<record id="product_uom_form_view" model="ir.ui.view">
|
|
||||||
<field name="model">uom.uom</field>
|
|
||||||
<field name="inherit_id" ref="uom.product_uom_form_view"/>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<xpath expr="//field[@name='rounding']" position="after">
|
|
||||||
<field name="product_uom_code_id" options="{'no_create': True}" required='1'/>
|
|
||||||
</xpath>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
</odoo>
|
|
||||||
Loading…
Reference in New Issue
Block a user