brotherton-erpnext/erpnext
Chinmay D. Pai 86636212c3
fix: remove make_purchase_invoice from demo script
currently demo fails with the following error:

frappe@bf54a9834cfe:/workspace/development/frappe-bench$ bench --site test1.localhost execute erpnext.demo.demo.make
Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/workspace/development/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 97, in <module>
    main()
  File "/workspace/development/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 18, in main
    click.Group(commands=commands)(prog_name='bench')
  File "/workspace/development/frappe-bench/env/lib/python3.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/development/frappe-bench/env/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/workspace/development/frappe-bench/env/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/workspace/development/frappe-bench/env/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/workspace/development/frappe-bench/env/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/development/frappe-bench/env/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/workspace/development/frappe-bench/env/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/workspace/development/frappe-bench/apps/frappe/frappe/commands/__init__.py", line 25, in _func
    ret = f(frappe._dict(ctx.obj), *args, **kwargs)
  File "/workspace/development/frappe-bench/apps/frappe/frappe/commands/utils.py", line 145, in execute
    ret = frappe.get_attr(method)(*args, **kwargs)
  File "/workspace/development/frappe-bench/apps/frappe/frappe/__init__.py", line 1042, in get_attr
    return getattr(get_module(modulename), methodname)
  File "/workspace/development/frappe-bench/apps/frappe/frappe/__init__.py", line 823, in get_module
    return importlib.import_module(modulename)
  File "/workspace/development/frappe-bench/env/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/workspace/development/frappe-bench/apps/erpnext/erpnext/demo/demo.py", line 6, in <module>
    from erpnext.demo.user import hr, sales, purchase, manufacturing, stock, accounts, projects, fixed_asset
  File "/workspace/development/frappe-bench/apps/erpnext/erpnext/demo/user/fixed_asset.py", line 9, in <module>
    from erpnext.assets.doctype.asset.asset import make_purchase_invoice, make_sales_invoice
ImportError: cannot import name 'make_purchase_invoice' from 'erpnext.assets.doctype.asset.asset' (/workspace/development/frappe-bench/apps/erpnext/erpnext/assets/doctype/asset/asset.py)

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-03-11 16:20:07 +05:30
..
accounts fix: travis (#20903) 2020-03-11 16:04:00 +05:30
agriculture fix (cleanup): remove incomplete dependencies data 2020-03-05 11:28:40 +05:30
assets fix (cleanup): remove incomplete dependencies data 2020-03-05 11:28:40 +05:30
buying Merge branch 'develop' into yet-another-desk 2020-03-10 18:20:27 +05:30
change_log log: Change log for v12.2.0 2019-11-25 15:08:47 +05:30
commands
communication fix (cleanup): remove incomplete dependencies data 2020-03-05 11:28:40 +05:30
config chore: Rearranged Buying Module Dashboard 2020-02-28 12:58:41 +05:30
controllers chore: control reposting of future gl entries with flags (#20774) 2020-03-02 15:19:18 +05:30
crm Merge branch 'develop' into yet-another-desk 2020-03-10 18:20:27 +05:30
demo fix: remove make_purchase_invoice from demo script 2020-03-11 16:20:07 +05:30
domains refactor: set Student as default portal role for Education 2019-05-29 18:37:52 +05:30
education Merge branch 'develop' into yet-another-desk 2020-03-10 18:20:27 +05:30
erpnext_integrations fix: return null for attribute (#20674) 2020-02-20 12:58:54 +05:30
healthcare fix (cleanup): remove incomplete dependencies data 2020-03-05 11:28:40 +05:30
hotels fix(translations): Incorrect syntax 2020-01-29 15:34:06 +05:30
hr Merge branch 'develop' into yet-another-desk 2020-03-10 18:20:27 +05:30
hub
hub_node Merge branch 'develop' into publish-item 2019-12-25 22:10:33 +05:30
loan_management fix: Remove fetch from loan_application.json 2020-03-01 22:16:27 +05:30
maintenance Merge pull request #20529 from nextchamp-saqib/mv-fix-develop 2020-02-06 13:56:10 +05:30
manufacturing Merge branch 'develop' into yet-another-desk 2020-03-10 18:20:27 +05:30
non_profit fix (cleanup): remove incomplete dependencies data 2020-03-05 11:28:40 +05:30
patches feat: Loan management and accounting (#19035) 2020-02-26 10:44:24 +05:30
portal fix: review changes 2019-12-16 15:04:17 +05:30
projects Merge branch 'develop' into yet-another-desk 2020-03-10 18:20:27 +05:30
public fix: Acccounting Dimension disappearing in first row after refresh 2020-03-09 08:06:07 +05:30
quality_management fix (cleanup): remove incomplete dependencies data 2020-03-05 11:28:40 +05:30
regional Merge pull request #20890 from deepeshgarg007/itemised_purchase_register 2020-03-10 10:05:31 +05:30
restaurant
selling Merge branch 'develop' into yet-another-desk 2020-03-10 18:20:27 +05:30
setup Merge branch 'develop' into yet-another-desk 2020-03-10 18:20:27 +05:30
shopping_cart Merge branch 'develop' of https://github.com/frappe/erpnext into fix-incorrect-translations 2020-01-29 15:06:50 +05:30
startup style: Fix Codacy 2019-09-30 13:09:12 +05:30
stock fix: travis (#20903) 2020-03-11 16:04:00 +05:30
support Merge branch 'develop' into yet-another-desk 2020-03-10 18:20:27 +05:30
templates fix: apply url encoding to project names (#20642) 2020-02-20 12:59:32 +05:30
tests fix(Integration): Woocommerce issues (#19487) 2019-11-07 18:20:32 +05:30
translations feat: Updated translation (#20784) 2020-03-02 16:52:42 +05:30
utilities fix: check for available stock in product bundle's website warehouse (#20681) 2020-02-20 12:23:08 +05:30
www Merge branch 'develop' of https://github.com/frappe/erpnext into fix-incorrect-translations 2020-01-29 15:06:50 +05:30
__init__.py bumped to version 12.2.0 2019-11-25 15:31:23 +05:50
exceptions.py fix: Travis 2019-10-20 17:36:36 +05:30
hooks.py feat: Loan management and accounting (#19035) 2020-02-26 10:44:24 +05:30
modules.txt feat: Loan management and accounting (#19035) 2020-02-26 10:44:24 +05:30
patches.txt feat: Loan management and accounting (#19035) 2020-02-26 10:44:24 +05:30