brotherton-erpnext/erpnext/docs/user/manual/en/accounts
tundebabzy acccdb3890 Default batch number selection (#11454)
* fetch batch_no in `get_basic_details`

* PEP8 changes and docstring

* only auto-fetch batch number for Sales documents:
otherwise, automatic batch creation will not work properly because all new
stock will be added to old batch

* new function to fetch batch number using FEFO:
FEFO - First Expiring First Out

* fetch batch number in `get_basic_details` using FEFO

* add new function - `set_batch_number`

* `set_batch_number` when `qty` is triggered

* `set_batch_number` when `uom` is triggered

* whitelist `get_batch_no_fefo`

* code clean up

* move `set_batch_number` to conversion_factor instead of uom

* rename `get_batch_no_fefo` to `get_batch_no`

* fix test case

* final cleanup

* Revert "fetch batch_no in `get_basic_details`"

This reverts commit dd024b1eb369eaeafab28165d523fb7a9f8ab8d3.

* fix test case

* update Sales Invoice manual

* move changes away from `transaction.js`

* query should not fetch expired batches

* refactor `get_batch_no`:
add new function `get_batches`

* Update batch.py
2017-11-23 13:05:15 +05:30
..
articles Merging Help Articles (Q & A) into Manual (Part 2) (#10629) 2017-09-01 16:26:41 +05:30
setup Enhance Currency Exchange Management (#10482) 2017-09-21 14:50:39 +05:30
tools [docs] remove {{docs_base_url}} 2017-07-31 16:41:35 +05:30
__init__.py [redesign] website routing system 2016-06-24 16:18:07 +05:30
accounting-entries.md [docs] remove {{docs_base_url}} 2017-07-31 16:41:35 +05:30
accounting-reports.md [docs] remove {{docs_base_url}} 2017-07-31 16:41:35 +05:30
advance-payment-entry.md [docs] remove {{docs_base_url}} 2017-07-31 16:41:35 +05:30
bank-guarantee.md [docs] remove {{docs_base_url}} 2017-07-31 16:41:35 +05:30
budgeting.md [docs] remove {{docs_base_url}} 2017-07-31 16:41:35 +05:30
chart-of-accounts.md Account number in chart of accounts (#10551) 2017-11-16 16:51:55 +05:30
credit-limit.md Priority of credit limit check functionality (#11232) 2017-10-18 10:53:11 +05:30
index.md [docs] add headings 2017-07-31 16:21:12 +05:30
index.txt Move subscription module to accounts (#10772) 2017-09-15 16:16:36 +05:30
item-wise-taxation.md [docs] remove {{docs_base_url}} 2017-07-31 16:41:35 +05:30
journal-entry.md [docs] remove {{docs_base_url}} 2017-07-31 16:41:35 +05:30
managing-fixed-assets.md [docs] remove {{docs_base_url}} 2017-07-31 16:41:35 +05:30
multi-currency-accounting.md update multi currency accounting documentation to remove incorrect info (#10404) 2017-08-16 11:41:56 +05:30
opening-accounts.md [feature] Opening Invoice Creation Tool (#11589) 2017-11-15 16:29:53 +05:30
payment-entry.md Update manuals. Fix codacy issues 2017-08-01 17:38:47 +05:30
payment-request.md [docs] remove {{docs_base_url}} 2017-07-31 16:41:35 +05:30
payment-terms.md documentation for payment terms 2017-09-22 15:49:02 +01:00
payments.md [docs] remove {{docs_base_url}} 2017-07-31 16:41:35 +05:30
point-of-sale-pos-invoice.md [docs] remove {{docs_base_url}} 2017-07-31 16:41:35 +05:30
pricing-rule.md [fix] titles 2017-08-09 10:46:17 +05:30
purchase-invoice.md [docs] remove {{docs_base_url}} 2017-07-31 16:41:35 +05:30
recurring-orders-and-invoices.md [fix] titles 2017-08-09 10:46:17 +05:30
sales-invoice.md Default batch number selection (#11454) 2017-11-23 13:05:15 +05:30
subscription.md Move subscription module to accounts (#10772) 2017-09-15 16:16:36 +05:30