This commit is contained in:
@@ -546,7 +546,9 @@ Identify cases related to quotes and changes required for quote models particula
|
||||
|
||||
todo MISC:
|
||||
new workorder state set by default from global settings?? (and on generate from pm or quote)
|
||||
|
||||
generate new wo then go back goes to zero id new but then is stuck with error can't go back further due to broken rule
|
||||
shouldn't it skip this one like the others do??
|
||||
shouldn't it not prompt if it's a not filled in new wo anyway??
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -647,7 +647,10 @@ export default {
|
||||
generateWorkOrder() {
|
||||
let cp = JSON.parse(JSON.stringify(this.obj));
|
||||
if (this.genCopyAttachments) {
|
||||
cp.genCopyAttachments = true; //flag for later on success as need a object created to attach to
|
||||
cp.genCopyAttachmentsFrom = {
|
||||
AType: window.$gz.type.Quote,
|
||||
ObjectId: this.obj.id
|
||||
};
|
||||
}
|
||||
if (!this.genCopyWiki) {
|
||||
cp.wiki = null; //already copied, need to remove it instead
|
||||
|
||||
Reference in New Issue
Block a user