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
# Available variables: | |
# - env: Odoo Environment on which the action is triggered | |
# - model: Odoo Model of the record on which the action is triggered; is a void recordset | |
# - record: record on which the action is triggered; may be void | |
# - records: recordset of all records on which the action is triggered in multi-mode; may be void | |
# - time, datetime, dateutil, timezone: useful Python libraries | |
# - float_compare: Odoo function to compare floats based on specific precisions | |
# - log: log(message, level='info'): logging function to record debug information in ir.logging table | |
# - UserError: Warning Exception to use with raise | |
# - Command: x2Many commands namespace |
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
2023-12-27 01:50:19,207 30 INFO db_1193143 odoo.modules.loading: Loading module loyalty (57/182) | |
2023-12-27 01:50:19,293 30 INFO db_1193143 odoo.modules.migration: module loyalty: Running migration [>saas~15.3.1.0] pre-migrate | |
2023-12-27 01:50:19,343 30 INFO db_1193143 odoo.upgrade.util.pg: Renaming FK 'loyalty_program_create_uid_fkey' to 'pos_loyalty_program_create_uid_fkey' | |
2023-12-27 01:50:19,343 30 INFO db_1193143 odoo.upgrade.util.pg: Renaming FK 'loyalty_program_partner_id_fkey' to 'pos_loyalty_program_partner_id_fkey' | |
2023-12-27 01:50:19,343 30 INFO db_1193143 odoo.upgrade.util.pg: Renaming FK 'loyalty_program_write_uid_fkey' to 'pos_loyalty_program_write_uid_fkey' | |
2023-12-27 01:50:20,087 30 INFO db_1193143 odoo.upgrade.util.pg: Renaming |
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
env.cr.execute(""" | |
SELECT | |
partner.id partner_id, | |
partner.company_id partner_company_id, | |
r.name payment_term, | |
r.company_id payment_ter_company | |
FROM res_partner partner | |
JOIN ir_property p ON |
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
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/odoo/src/odoo/odoo/http.py", line 1998, in __call__ | |
response = request._serve_db() | |
File "/home/odoo/src/odoo/odoo/http.py", line 1563, in _serve_db | |
self.registry = Registry(self.db).check_signaling() | |
File "/home/odoo/src/odoo/odoo/modules/registry.py", line 66, in __new__ | |
return cls.new(db_name) |
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
curl --location 'http://localhost:3041/jsonrpc' --header 'Content-Type: application/json' --data '{ | |
"jsonrpc": "2.0", | |
"id": 16, | |
"params": { | |
"service": "object", | |
"method": "execute_kw", | |
"args": [ | |
"confisa", | |
2, | |
"54b648e493af6666331efa7f3245f87dd7e2e60a", |
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
diff --git a/product_pricelist_supplierinfo/models/product_pricelist.py b/product_pricelist_supplierinfo/models/product_pricelist.py | |
index ac66bd1d..f1ad8a31 100644 | |
--- a/product_pricelist_supplierinfo/models/product_pricelist.py | |
+++ b/product_pricelist_supplierinfo/models/product_pricelist.py | |
@@ -5,32 +5,6 @@ | |
from odoo import fields, models | |
-class ProductPricelist(models.Model): | |
- _inherit = "product.pricelist" |
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
Odoo cloc Line Other Code | |
---------------------------------------------------------------------------------------------------------------------------------------------- | |
account_move_name_sequence 424 106 318 | |
account_move_print 177 3 174 | |
documents_expiry 124 27 97 | |
documents_partner 244 35 209 | |
droggol_theme_common 3148 451 2697 | |
l10n_mx_avoid_reversal_ |
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
{ | |
"Metadata": { | |
"FechaDePeticion": "15-05-2023 17:53:04", | |
"Parametros": "ResortId=16, AlmacenId=1, FechaIni= 30-11-2022 11:46:21, FechaFin=30-11-2022 11:46:23" | |
}, | |
"Resultado": [ | |
{ | |
"Seccion": "Seccion Descuentos", | |
"tipoPago": "N/A", | |
"Totalizador": "Alimentos", |
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
{ | |
"products": [ | |
{ | |
"productId": "1678", | |
"reference": "COPA CHARDONNAY DE LA CASA", | |
"quantity": "2.0", | |
"subtotal": "308.62", | |
"taxRate": "16.0", | |
"discountId": "0", | |
"discountSubtotal": "0.0" |
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
def _timesheet_create_task_prepare_values(self, project): | |
"""Doctring bonito donde se explique casos de uso | |
En que tipo de service_tracking del producto usaremos el project de la orden | |
""" | |
values = super()._timesheet_create_task_prepare_values(project) |
NewerOlder