mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
* fix: invoice doctype selection in accounts settings * test: change in accounts settings on sales invoice * test: refactored pos_invoice_merge_log tests * test: pos closing entry and pos invoice * fix: closing voucher details style * refactor: renamed fields and removed repeated methods * fix: patch to rename pos closing entry fields * refactor: replaced get_doc with sql query * fix: restrict cancelling sales invoice on cancellation of pos closing entry * fix: removed payment reconciliation summary field and rearranged total section fields * refactor: set_posting_date_and_time * test: create_sales_invoice added args for is_created_using_pos * test: added test for sales invoice creation during pos invoice mode * test: added test for pos invoice creation during sales invoice mode * fix: moved invoice type selection in pos settings * fix: pos additional fields label * refactor: pos closing entry rearranged fields, removed rate field from taxes field, fetching payments and taxes details * test: moved invoice creation in functions * refactor: using as_dict=1 * fix: wrong table chosen in query * fix: variable rename * test: fixed failing tests * test: fixed pos_closing_entry tests
7 lines
228 B
Python
7 lines
228 B
Python
from frappe.model.utils.rename_field import rename_field
|
|
|
|
|
|
def execute():
|
|
rename_field("POS Closing Entry", "pos_transactions", "pos_invoices")
|
|
rename_field("POS Closing Entry", "sales_invoice_transactions", "sales_invoices")
|