erpnetx add row child table python code example
Example: erpnext add new row in child table from python
def validate(self):
deduction_amount = 500;
row = self.append('deductions', {})
row.salary_component = “Attendance Violation”
row.amount = Math.round(deduction_amount)