Skip to content

Instantly share code, notes, and snippets.

@name1984
name1984 / Json
Created October 17, 2024 22:29
Factura
{
"meta": {
"date": "2024-10-16T10:03:23.918Z",
"object_count": 1,
"type": "invoices"
},
"data": [
{
"ref": "24BB30001US9QUSST",
"partner_id": {
{
"meta": {
"date": "2024-09-27",
"object_count": 1,
"type": "sale_orders",
"page_number": 1,
"page_size": 1
},
"data": [
{
{
"meta": {
"date": "2024-09-26T17:36:32.069Z",
"type": "cancel_invoice"
},
"data": {
"type": "out_invoice",
"cancel_invoice_id": "24MB00025MX100007571",
"customer_amount": 3162,
"multicurrency": {
{
"meta": {
"date": "2024-09-25T00:00:00",
"type": "replace_invoice"
},
"data": {
"ref": "24BC00149US2QUSEZ",
"type": "out_invoice",
"partner_id": {
"ref": "0015050",
"meta": {
"date": "2024-09-25T17:03:23.918Z",
"object_count": 1,
"type": "invoices"
},
"data": [
{
"ref": "24BC00149US2QUSEZ",
"partner_id": {
{
"meta": {
"date": "2024-10-04T10:28:49",
"type": "partner"
},
"data": {
"company_type": "company",
"name": "TEST10 Travel LLC",
"street_name": "2692 SW 137th Avenue",
"country_id": "US",
UncaughtPromiseError > OwlError
Uncaught Promise > An error occured in the owl lifecycle (see this Error's "cause" property)
OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)
OwlError@https://pulso-17-0-mig-pulso-claurelb-15321777.dev.odoo.com/web/assets/8eeb55a/web.assets_web.min.js:684:1
handleError@https://pulso-17-0-mig-pulso-claurelb-15321777.dev.odoo.com/web/assets/8eeb55a/web.assets_web.min.js:916:101
handleError@https://pulso-17-0-mig-pulso-claurelb-15321777.dev.odoo.com/web/assets/8eeb55a/web.assets_web.min.js:1548:29
initiateRender@https://pulso-17-0-mig-pulso-claurelb-15321777.dev.odoo.com/web/assets/8eeb55a/web.assets_web.min.js:1006:19
Caused by: Error: "sale.order"."member_country_id" field is undefined.
@name1984
name1984 / Json
Created October 8, 2024 14:15
Remplazar Factura v17
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Replace Invoice",
"description": "Replace a customer invoice imported from 1Book (re-invoicing)",
"type": "object",
"properties": {
"meta": {
"type": "object",
"properties": {
"date": {"type": "string", "format": "date-time"},
@name1984
name1984 / Json
Created October 8, 2024 14:14
Cancelación de Facturas v17
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Cancel Invoice",
"description": "Cancel a customer invoice imported from 1Book",
"type": "object",
"properties": {
"meta": {
"type": "object",
"properties": {
"date": {"type": "string", "format": "date-time"},
@name1984
name1984 / Json
Created October 8, 2024 14:13
Facturas v17
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Invoices",
"description": "Customer Invoices to import from 1Book",
"type": "object",
"properties": {
"meta": {
"type": "object",
"properties": {
"date": {"type": "string", "format": "date-time"},