| 2026-05-04 |
Project initialization |
- -> v15 stable |
- |
Starting point |
| 2026-05-04 |
POS UI choice |
POS Awesome -> ERPNext built-in POS |
- |
Upstream stopped updating + the upgrade-safety policy |
| 2026-05-04 |
Upgrade to v16 stable |
v15 -> v16 |
- |
Owner decision: follow the latest release |
| 2026-09-08 |
Frappe + ERPNext |
v16.24.0 / v16.25.0 -> v16.33.1 / v16.34.2 |
Owner decision |
Local make ci-upgrade-test (which now upgrades Frappe as well) 6689/0; the 9 cases that were red in the daily regression were ffl_woo_sync tests whose global get_value stub intercepted new framework-internal queries; the stub now answers only application doctypes |
| 2026-10-06 |
Frappe + ERPNext |
v16.33.1 / v16.34.2 -> v16.50.0 / v16.50.0 |
Owner decision |
On the old develop, local make test 7256/0/1 (two passes); on develop with v16.50 unchanged there were 13 errors, 12 of them the POS Profile select-or-read gate added in 16.50 (get_stock_availability is called in-process when a POS Invoice is submitted), which Sales User cannot pass. Fix: pos_compat.ensure_cashier_pos_profile_select adds only select (Custom DocPerm, granted once per role, without widening owner-only rules) to the roles in COUNTER_ROLES that lack it, and check_pos_profile_perm_drift reports differences between the frozen rows and ERPNext's native rows (with persistent de-duplication). Frappe 16.50 moved navigation into Sidebar records: ffl_core / ffl_integrations now ship the Gun Shop / Settings Sidebars with the app, and extension modules write Sidebars through mirror_gun_shop_sidebar. CI: bench init --python now receives setup-python's absolute path (uv had been picking a managed CPython 3.12); upgrade-from-base now builds the old site in a throwaway bench with the base refs first, then switches to the new refs. Final local result 7280/0/0 (the migrated site twice, plus one site created fresh by the CI procedure) |
| 2026-10-17 |
Frappe + ERPNext |
v16.50.0 / v16.50.0 -> v16.52.0 / v16.51.1 |
Owner decision |
A worktree bench built on v16.50.0, switched to the new tags and migrated cleanly. The first make test on it had 1 failure and 154 errors, all from one cause: ERPNext 16.51 moved Default Warehouse from Stock Settings to Company (patch move_warehouse_defaults_to_company carries the value over), and warehouses.default_stock_warehouse read the old field. It now reads Company.default_warehouse. Two test-isolation problems the nightly run was also hitting were fixed: test_check_money_order now clears a Check/Money Order row another fixture pointed at Cash, and tests/pos_opening.todays_pos_opening opens a shift on the profile it is asked for. The NegativeTradeInTicket override still matches is_negative_grand_total_allowed in accounts_controller. Upstream's POS Closing change-amount fix does not touch the cash drawer, which computes its own expected cash. Final local result 8839/0/0 plus JS 464/0 |
| 2026-10-28 |
ERPNext stock permissions |
v16.51.1, unchanged |
Owner decision |
ERPNext v16 stock DocPerms let Sales User only read POS Invoice and give it nothing on POS Opening Entry, POS Closing Entry or Sales Invoice (Sales Manager: no write on POS Invoice), so a login without Accounts User could not finish a sale (checkout 403, no shift could be opened, and the closing's consolidation job creates the Sales Invoice as the closing user). Every real login used to hold Accounts User, so it went unnoticed. Fix in our setup code, never in ERPNext: pos_compat.REGISTER_GRANTS adds the least Custom DocPerm rows for Sales User and Sales Manager (no cancel, amend or Journal / Payment Entry; Sales Invoice gets create / write / submit because the consolidation runs under the closing user, but no cancel or delete), once per doctype and role (a delete grant on POS Invoice comes with an on_trash guard: cancelled invoices are deleted by managers only), never widening an owner-only rule or restoring a row an administrator removed. check_perm_drift covers the doctypes. On every ERPNext bump git diff the permissions of POS Invoice, POS Opening Entry, POS Closing Entry and Sales Invoice, and run test_counter_register_perms |
| 2026-11-11 |
ERPNext stock permissions |
v16.51.1, unchanged |
Owner decision |
A serial number or barcode typed into the register search goes through point_of_sale.search_by_term, which reads Item Price with frappe.get_list as the session user; ERPNext ships Item Price read for Sales Master Manager and Purchase Master Manager only, so a Sales User login got a permission error (a name search reads prices with a raw query and worked). Fix: pos_compat.REGISTER_GRANTS adds Item Price read for Sales User (select is not enough: the price field is dropped), same once-only rules as the other register grants; check_perm_drift covers Item Price. On every ERPNext bump add Item Price to the permissions you git diff |
| 2026-11-15 |
Frappe + ERPNext + HRMS + CRM |
v16.52.0 / v16.51.1 / v16.52.0 / v16.0.1 -> v16.56.0 / v16.55.0 / v16.53.2 / v16.0.3 |
Owner decision |
A worktree site built on the old pins, switched to the new tags and migrated cleanly. The first make test on it had 1 failure and 8 errors (the daily regression's list). Two were product behaviour: ERPNext 16.55 holds every selling line to the item's Max Discount whatever form the discount takes (it used to check only the percentage), so a member price past it made the whole ticket fail to save; membership_benefits.price_line now stops a member price at that floor (the line notice says so, and a floor no better than the regular price gives no member price), and pos_ticket.build_ticket is refused past it like open_ticket. Supplier creation (consignment, receive_goods) no longer falls back to the group-type root Supplier Group, which 16.55 refuses. The rest were fixtures: a POS Profile write-off account must now be Profit and Loss; a POS Invoice keeping its own date (Edit Posting Date and Time, or an amendment) saves only in a shift that started that day and at or after its start; Items no longer copy their Item Group's tax rows (the resolver walks the group, and still breaks on a dangling template link, so tax._prune_dangling_template_links stays); the Edit Order tests and one CRM test now pass a second run on the same site. NegativeTradeInTicket still matches is_negative_grand_total_allowed; the get_pos_reserved_serial_nos copy is unchanged upstream; no DocPerm changes on the watched doctypes. Serial No now refuses a form save that changes status, company, customer, batch or purchase rate (only the stock ledger may); our code writes those with db.set_value |
| 2026-11-23 |
Frappe + ERPNext + HRMS |
v16.56.0 / v16.55.0 / v16.53.2 -> v16.60.2 / v16.60.0 / v16.60.0 (CRM stays v16.0.3) |
Owner decision |
A worktree site built on the old pins, switched to the new tags and migrated cleanly; the first make test on it was already green (10909/0/0, JS 542/0), because the tests run as Administrator. ERPNext 16.60 adds permission gates to many whitelisted methods, and three hit code we call in-process: serial_no.get_pos_reserved_serial_nos now wants POS Invoice read and select on the warehouse, and our override in api/pos_serial (still needed: upstream still counts consolidated tickets) now applies the same gates instead of staying open (Sales User has both; a Sales Manager runs the register with Sales User); get_item_details.get_item_tax_map wants select on the Item Tax Template, which a Guest webhook or a role without it lacks, so member pricing, the trade-in tax floor, Create Order's tax rates and the Sales Report call ERPNext's own ungated _get_item_tax_map (the same computation; ERPNext's controllers switched to it too); stock_reconciliation.get_difference_account wants Stock Reconciliation read, which only Stock Manager has, so a System Manager without it could not run Inventory Import or the FastBound opening-stock import: inventory_import.check_posting now reads the Temporary account itself. Other upstream changes we checked and need nothing: a POS return now refunds the sale amount when change was given (make_return_doc), the cash drawer computes its own expected cash; Customer and Supplier forms open on a new Overview tab, with Details and Items tabs; Frappe stores session ids hashed (patch hash_session_ids converts them in place, so nobody is signed out, and delete_session(raw sid) still works for the PIN switch); Frappe now ships Studio and Flow (new roles Studio User / Flow User, nobody holds them; after_migrate tries to start the Flow daemon and only warns when it cannot); upgraded sites keep the classic dashboards and charts, a new site gets the new ones. No DocPerm changes on POS Invoice, POS Opening / Closing Entry, Sales Invoice, Item Price, POS Profile or Serial No; the POS page JS we wrap is unchanged; NegativeTradeInTicket still matches is_negative_grand_total_allowed; no new patch rewrites Serial and Batch Bundle / Entry, Stock Ledger Entry, Sales Invoice or POS Invoice data. Every frappe / erpnext / hrms / crm import and hook target in the three apps and the five first-party extensions resolves on the new pins. Frappe now depends on onnxruntime, litellm, rapidocr and frappe-flow, so the image is larger |