Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move invoicerec quantity update from sellyoursaasRemoteAction to trigger (LINECONTRACT_UPDATE) ? #306

Open
rycks opened this issue May 30, 2023 · 1 comment

Comments

@rycks
Copy link
Contributor

rycks commented May 30, 2023

Hello,
i'm working on "my" upgrade of sellyoursaas and i think it could be a good idea to move code (invoicerec line update) from sellyoursaasRemoteAction to LINECONTRACT_UPDATE trigger.

Then the code will me more easy to understand and to maintain, what do you think about that ?

@eldy
Copy link
Member

eldy commented Jul 24, 2023

LINECONTRACT_UPDATE is called when a contract line is updated. But we must have a process that update the line to trigger the trigger. And this is done by sellyoursaasRemoteAction. So i am not sure to understand.
Is your need for a particular remoteaction ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants