mirror of
https://github.com/frappe/books.git
synced 2026-08-24 10:04:45 -05:00
feat: #151 Add quote object and allow create invoice from it
Also allow changing a print template type, necessary to create a custom print template for this.
This commit is contained in:
@@ -21,6 +21,7 @@ const defaultNumberSeriesMap = {
|
||||
[ModelNameEnum.JournalEntry]: 'JV-',
|
||||
[ModelNameEnum.SalesInvoice]: 'SINV-',
|
||||
[ModelNameEnum.PurchaseInvoice]: 'PINV-',
|
||||
[ModelNameEnum.SalesQuote]: 'SQUOT-',
|
||||
} as Record<ModelNameEnum, string>;
|
||||
|
||||
async function execute(dm: DatabaseManager) {
|
||||
@@ -209,6 +210,7 @@ async function copyTransactionalTables(
|
||||
ModelNameEnum.Payment,
|
||||
ModelNameEnum.SalesInvoice,
|
||||
ModelNameEnum.PurchaseInvoice,
|
||||
ModelNameEnum.SalesQuote,
|
||||
];
|
||||
|
||||
for (const sn of schemaNames) {
|
||||
|
||||
Reference in New Issue
Block a user