This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import math | |
import git | |
from pathlib import Path | |
from datetime import datetime | |
from git.objects import base | |
from slugify import slugify | |
from typing import List | |
import subprocess |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2022 Akretion - Raphaël Valyi <[email protected]> | |
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html). | |
# Generated by https://github.com/akretion/xsdata-odoo | |
# | |
import textwrap | |
from odoo import fields, models | |
__NAMESPACE__ = "http://www.sat.gob.mx/cfd/4" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from dataclasses import dataclass, field | |
from decimal import Decimal | |
from typing import List, Optional | |
__NAMESPACE__ = "http://www.sat.gob.mx/cfd/4" | |
@dataclass | |
class Comprobante: | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2022-06-10 15:44:51,938 53547 WARNING db-14 odoo.fields: res.partner.nfe40_indIEDest: selection attribute will be ignored as the field is related | |
2022-06-10 15:44:51,956 53547 WARNING db-14 odoo.fields: res.company.nfe40_CRT: selection attribute will be ignored as the field is related | |
2022-06-10 15:44:52,049 53547 WARNING db-14 odoo.fields: l10n_br_fiscal.document.nfe40_finNFe: selection attribute will be ignored as the field is related | |
2022-06-10 15:44:52,050 53547 WARNING db-14 odoo.fields: l10n_br_fiscal.document.nfe40_indFinal: selection attribute will be ignored as the field is related | |
2022-06-10 15:44:52,051 53547 WARNING db-14 odoo.fields: l10n_br_fiscal.document.nfe40_indPres: selection attribute will be ignored as the field is related | |
2022-06-10 15:44:52,051 53547 WARNING db-14 odoo.fields: l10n_br_fiscal.document.nfe40_tpAmb: selection attribute will be ignored as the field is related | |
2022-06-10 15:44:52,058 53547 WARNING db-14 odoo.fields: l10n_br_fiscal.document.related.nfe40_mod: selection= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/mis_builder/models/mis_report_instance.py | |
+++ b/mis_builder/models/mis_report_instance.py | |
@@ -374,6 +374,12 @@ class MisReportInstancePeriod(models.Model): | |
) | |
for m in many_ids: | |
filters.append((filter_name, "in", [m["id"]])) | |
+ elif filter_name == 'analytic_account_id': | |
+ # filter also on children analytic accounts | |
+ analytic_account = self.env['account.analytic.account'].browse(value) | |
+ analytic_ids = self.env['account.analytic.account'].search( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install on Ubuntu Server 20.04 LTS (Ubuntu Focal) or Debian 10 (Buster) | |
sudo apt-get update | |
sudo apt-get install byobu | |
byobu | |
# install Docker: | |
sudo apt-get install -y\ | |
apt-transport-https \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2020 Akretion - Raphael Valyi <[email protected]> | |
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html). | |
# Generated Fri Sep 25 10:03:51 2020 by https://github.com/akretion/generateds-odoo | |
# and generateDS.py. | |
# Python 3.8.2 (default, Apr 27 2020, 15:53:34) [GCC 9.3.0] | |
# | |
import textwrap | |
from odoo import fields, models | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2020 Akretion - Raphael Valyi <[email protected]> | |
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html). | |
# Generated Fri Sep 25 10:02:26 2020 by https://github.com/akretion/generateds-odoo | |
# and generateDS.py. | |
# Python 3.8.2 (default, Apr 27 2020, 15:53:34) [GCC 9.3.0] | |
# | |
import textwrap | |
from odoo import fields, models | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2020 Akretion - Raphael Valyi <[email protected]> | |
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html). | |
# Generated Fri Sep 25 10:00:46 2020 by https://github.com/akretion/generateds-odoo | |
# and generateDS.py. | |
# Python 3.8.2 (default, Apr 27 2020, 15:53:34) [GCC 9.3.0] | |
# | |
import textwrap | |
from odoo import fields, models | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2020 Akretion - Raphael Valyi <[email protected]> | |
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html). | |
# Generated Fri Sep 25 09:54:31 2020 by https://github.com/akretion/generateds-odoo | |
# and generateDS.py. | |
# Python 3.8.2 (default, Apr 27 2020, 15:53:34) [GCC 9.3.0] | |
# | |
import textwrap | |
from odoo import fields, models | |
NewerOlder