Skip to content

Instantly share code, notes, and snippets.

@m-pokrovskii
Last active April 28, 2016 16:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m-pokrovskii/4f84a70794f6af711ba8a0d6b6879f8b to your computer and use it in GitHub Desktop.
Save m-pokrovskii/4f84a70794f6af711ba8a0d6b6879f8b to your computer and use it in GitHub Desktop.
product: {
id: 1,
title: "ProductTitle",
supplierID: 1,
_last_change: "29.29.16"
}
supplier: {
id: 1,
title: "SupplierTItle",
_last_change: "29.29.16"
}
// ODOO API returns to ZeDOC:
product: {
id: 1,
title: "ProductTitle",
supplierID: {
title: "SupplierTItle"
},
_last_change: "29.29.16"
}
// now if we update the supplier it change the supplier __last_change, but not product's __last_change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment