brotherton-erpnext/erpnext/stock/doctype
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
..
batch Default batch number selection (#11454) 2017-11-23 13:05:15 +05:30
bin handle None case in update_reserved_qty_for_production (#11593) 2017-11-16 14:13:49 +05:30
customs_tariff_number Add Customs Tariff Number 2017-03-24 15:53:03 +01:00
delivery_note Account number in chart of accounts (#10551) 2017-11-16 16:51:55 +05:30
delivery_note_item Rate with margin in customer and company currency (#11437) 2017-11-14 17:22:41 +05:30
item [minor] fix plurals spacing 2017-11-17 15:33:12 +05:30
item_attribute Fixed version conflict 2016-12-23 17:43:42 +05:30
item_attribute_value [minor] rename icons as per FontAwesome 4 (#7136) 2016-12-05 14:17:26 +05:30
item_customer_detail [fix] make grids editable 2016-07-11 13:01:58 +05:30
item_price Rate with margin in customer and company currency (#11437) 2017-11-14 17:22:41 +05:30
item_quality_inspection_parameter [fix] make grids editable 2016-07-11 13:01:58 +05:30
item_reorder PPT looks at default MR type in Item to set MR type. 2016-08-02 16:59:03 +05:30
item_supplier Added fields in global search 2017-02-20 13:38:31 +05:30
item_tax [fix] make grids editable 2016-07-11 13:01:58 +05:30
item_variant [fix] make grids editable 2016-07-11 13:01:58 +05:30
item_variant_attribute [fix] make grids editable 2016-07-11 13:01:58 +05:30
item_variant_settings Add option to clean description html in item description. (#11565) 2017-11-14 16:36:25 +05:30
item_website_specification [fix] make grids editable 2016-07-11 13:01:58 +05:30
landed_cost_item [Fix] Getting an error cost center is not defined in the purchase receipt, even if it's defined in the company (#10320) 2017-08-10 11:32:59 +05:30
landed_cost_purchase_receipt minor fixes 2016-07-20 11:28:50 +05:30
landed_cost_taxes_and_charges convert html into text in the taxes description as it can break the reports (#11603) 2017-11-16 14:11:39 +05:30
landed_cost_voucher [Fix] Getting an error cost center is not defined in the purchase receipt, even if it's defined in the company (#10320) 2017-08-10 11:32:59 +05:30
manufacturer [Minor] Country field name should be country 2017-08-03 10:18:43 +05:30
material_request [enhance] Added multi UOM feature in Material Request (#11352) 2017-11-21 16:17:22 +05:30
material_request_item [enhance] Added multi UOM feature in Material Request (#11352) 2017-11-21 16:17:22 +05:30
packed_item Add indexes in some transaction doctypes (#9889) 2017-07-17 13:28:27 +05:30
packing_slip [Fix] Packing Slip creation if custom field does not have a value (#11423) 2017-11-10 11:14:57 +05:30
packing_slip_item Added fields in global search 2017-02-20 13:38:31 +05:30
price_list [minor] removed cur_frm and added frappe.ui.form.on (#8803) 2017-05-16 08:35:39 +05:30
price_list_country [fix] make grids editable 2016-07-11 13:01:58 +05:30
purchase_receipt [feature] [refactor] Shipping Rule for Buying + Refactor (#11628) 2017-11-17 14:31:09 +05:30
purchase_receipt_item Supplier Part No in Purchase Receipt since it exits in Purchase Order (#10314) 2017-08-08 14:41:35 +05:30
quality_inspection Once primary key is generated, do not allow changing Series #8911 (#9265) 2017-06-14 16:10:09 +05:30
quality_inspection_reading [Fix] Change of module of quality inspection 2016-11-16 17:22:38 +05:30
sales_bom moved modules inside erpnext folder 2013-12-11 10:43:52 +05:30
sales_bom_item Sales BOM renamed to Product Bundle 2015-07-13 12:41:27 +05:30
serial_no Controller init args fix (#11015) 2017-10-02 15:59:27 +05:30
stock_entry [fix] Valuation rate in stock entry and code cleanup (#11614) 2017-11-16 18:23:16 +05:30
stock_entry_detail [minor] fixed depends on for stock entry expense_account and purchase receipt item's cost_center field 2017-07-10 16:24:24 +05:30
stock_ledger_entry [fix] add index on voucher type and voucher no in stock ledger entry 2017-06-09 19:05:30 +05:30
stock_reconciliation Controller init args fix (#11015) 2017-10-02 15:59:27 +05:30
stock_reconciliation_item edit Doctypes to use company currency 2017-08-03 00:05:56 +01:00
stock_settings Add option to clean description html in item description. (#11565) 2017-11-14 16:36:25 +05:30
uom_conversion_detail [fix] make grids editable 2016-07-11 13:01:58 +05:30
variant_field [Enahance] Update variants fields defined in the Item Varianst Settings, if template updated 2017-09-21 15:41:57 +05:30
warehouse [new feature] Product Configurator (via Item Quick Entry) (#11535) 2017-11-14 15:27:28 +05:30
__init__.py moved modules inside erpnext folder 2013-12-11 10:43:52 +05:30