Select All Records on Variant list view under Product

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • enable.services
    replied
    Works perfectly, thank you yuri

    Leave a comment:


  • yuri
    replied
    You need to upgrade to 9.1.7. https://forum.espocrm.com/forum/bug-...er-works-in-v9

    Leave a comment:


  • enable.services
    replied
    Sorry yuri, I spoke too soon.

    None of the primary Filters appear to work on the product list view.

    I'm seeing

    espo-main.js:38181 Uncaught (in promise) NoModificationAllowedError: Failed to execute 'insertAdjacentHTML' on 'Element': The element has no parent.

    From this code in the getHeader method within the espo-main.js file

    Code:
    if (this._primaryFilter) {
      const label = this.translate(this._primaryFilter, 'presetFilters', this.entityType);
      root.insertAdjacentHTML('afterend', ' ยท ' + label);
    }

    Leave a comment:


  • enable.services
    replied
    That's great, thanks yuri

    Leave a comment:


  • yuri
    replied
    It's likely to be eventually implemented.

    Meanwhile, it's already possible to achieve what you need with a simple workaround.

    1. Add the Template filter field to Products: Administration > Entity Manager > Product > Layouts > Search Filters > Add the "Template" field.

    2. Open manually in the browser such an URL: your_crm_address/#Product/list/primaryFilter=allVariants. It will display only variants.

    3. Add the "Template" search field and select the needed product template. Search.

    4. Select all results.

    5. Perform the needed mass action.

    Leave a comment:


  • enable.services
    replied
    Thanks for clarifying yuri, is it on the road map at all or should we look for another route forward at this point?

    Leave a comment:


  • yuri
    commented on 's reply
    It concerns the base Espo, not Sales Pack. The Variants is a regular relationship panel. The MassAction framework currently is not supported for relationship panels.

  • yuri
    replied
    It's a feature that I'd describe as of a very high complexity. Even though it might not appear as such.

    Leave a comment:


  • jeffreysgrossman
    replied
    I would also be curious if this was intentional. Being able to update all the variants from the list of selected products to get all of a specific variant at once is a great streamlined feature and can save a lot of time. I am aware you can export and import to update prices. That is a workaround. Just curious if this functionality might be worked on in the future?

    Thank You

    Leave a comment:


  • enable.services
    replied
    Thanks for the response victor although I'd already stated it wasn't available there, which was really why I was asking

    I'd would be interested to know why it's not available for Variants or indeed if there's a way to add it via code / config.

    Leave a comment:


  • victor
    replied
    For Variants, the Select All Results option is not available. If the developer finds time, he will tell you why this option is not available for Variants and whether it should be expected in the next releases of the Sales Pack extension.

    Leave a comment:


  • Select All Records on Variant list view under Product

    Hi,

    I was trying to find a way to get the "Select All Records" button to show in the related list view of Variants shown when you click through from the panel under Prooducts.

    I.E.
    - Open Product
    - Click into Variant panel
    - Click three dots
    - Click View List

    When wanting to change the pricing on the related variants it requires you to click the "show more" option to get each page instead of just being able to select all and update.

    Any help much appreciated.

Working...