Override calculateItems Quote / SalesOrder

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mkhalifa
    Member
    • Jan 2019
    • 48

    Override calculateItems Quote / SalesOrder

    Hi,

    I want to overload the calculate made by calculateItems for the quote and salesOrder entities. I managed to do this for quote but it doesn't work for salesOrder yet salesOrder inherits all methods from Quote.

    for this to work for quote I added the custom / Espo / Custom / Repositories / Quote.php file in which I overloaded the method. I tried to do the same for custom / Espo / Custom / Repositories / salesOrder.php but without success
    Can you help me please.
    thank you in advance
  • item
    Active Community Member
    • Mar 2017
    • 1476

    #2
    Hello,
    maybe my 2 cents information :
    it's modules folder ..
    so maybe custom/...../Modules/ .... ?

    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    Working...