Sales pack - Adjustments to product attribute (options)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Machiel
    Junior Member
    • Sep 2024
    • 7

    Sales pack - Adjustments to product attribute (options)

    Hey folks,

    Quick question about the Sales pack (and other extensions): When I want to made adjustments to files, for example those in `espocrm/custom/Espo/Modules/Sales/Resources/metadata/scopes`, how do I make them upgrade proof?

    My best bet is to put them in `espocrm/custom/Espo/Custom/Resources/metadata/scopes`, is that correct or do extensions require another path in the Custom folder?

    Cheers.
  • yuri
    Member
    • Mar 2014
    • 8495

    #2
    Hi,

    custom/Espo/Custom/Resources/metadata/scopes is correct. Note that you do not need to copy the whole JSON file. You need only add the needed modifications. See the metadata docs about extending.

    Also note that it's not guaranteed that manual changes won't break the functionality and that they will be compatible with upgrades.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • Machiel
      Junior Member
      • Sep 2024
      • 7

      #3
      Working like a charm. Thanks for taking the time Yuri!

      Comment

      Working...