This question has been flagged

I'm creating a module that helps to set daily target to salespersons.

This module generates report based on the employee's sales achievement on the specific date based on the achievement.

The problem with me is , I have a field sales_today on my model , When The Sale occur on POS this field should be updated with:

current_value+new_sale_value

How Can I Do this?

Thanks in advance

Avatar
Discard