feat: Sincronizar Productos desde Tryton

This commit is contained in:
2025-08-09 16:35:07 -03:00
parent 7fe137ce4f
commit 1b84c5419f
3 changed files with 59 additions and 1 deletions

View File

@@ -63,6 +63,12 @@ class DjangoApi {
return this.getRequest(url);
}
getProductsFromTryton(){
const url = this.base + '/don_confiao/api/importar_productos_de_tryton';
return this.postRequest(url, {});
}
getRequest(url) {
return new Promise ((resolve, reject) => {
fetch(url)