Creating a Quote from Accounts doesn´t link anything

If a strange behaviour, but i am not sure how to fix it.

I am on an Account. There are two Subpanels "Quote (Bill to)" and "Qoute (Ship to)".

Every other [+] on the other Subpanels opens the "Overlay" and links the account together.

On the "Quotes" [+] it jumps to "/#Quotes/create"

On this page there is a Select Account dropdown as a mandatory field.

It´s an installation i make the support and i am not sure if some future developer made something crazy or if it works currently as designed.

What i would achive is:

Click [+] on the Account Subpanel "Quote (Bill to)" and the current selected Account is used as default "BILLING_ACCOUNT".

Any ideas or suggestions?

There is no vardefs Overwrite so far as i  can see.

Any help appreciated.

Parents Reply
  • Well, i found the reason - looks like the custom/modules/Quotes/clients/base/views/create/create.js makes "nothing" or something wrong. Pretty simple logic. If i remove the create.js - it works. But with this File - the wrong behavior exists. What´s wrong with this create.js ?? (record.js looks similiar)

    ({ extendsFrom: 'CreateView', initialize: function (options) { this._super('initialize', [options]); this.getDefaultText(); }, getDefaultText: function () { var self = this; var beanId = this.model.get('id'); var url = App.api.buildURL("Quotes/getDefaultText/" + beanId + "/1", null, null); App.api.call('read', url, null, { success: function (response) { // do something with response } }); } })

Children