Code Monkey home page Code Monkey logo

erpnext_foxycart_integration's People

Contributors

neillasrado avatar vjfalk avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

erpnext_foxycart_integration's Issues

The Plan B

In case for whatever reason, the app didn't capture the data while foxycart datafeed was called run a daily or hourly scheduler job to query foxycart for relevant order and check if all orders were captured else create them in erpnext

  • Create a REST API call to foxycart
  • Get all orders in the selected timeframe
  • Compare with Sales Orders in erpnext using a unique foxycart id
  • If found do nothing ;-)
  • if not found create a Sales Order & Payment Request

Installation issue with pip 10

Installing the app with pip 10 fails:
ERROR: Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/frappe/frappe-bench/apps/erpnext_foxycart_integration/setup.py", line 3, in <module> from pip.req import parse_requirements ImportError: No module named req

A fix is easy, as seen at https://stackoverflow.com/questions/25192794/no-module-named-pip-req . Changing the line to the following fixes the problem:

try: # for pip >= 10 from pip._internal.req import parse_requirements except ImportError: # for pip <= 9.0.3 from pip.req import parse_requirements

I can create a pull request for this.

Test Case

Write a test case with sample data to ensure everything works

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.