Skip to content

Commit

Permalink
feat: condicion de venta en sub
Browse files Browse the repository at this point in the history
  • Loading branch information
fproldan committed Feb 17, 2025
1 parent 5a6cb4d commit 807a0a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions erpnext/accounts/doctype/subscription/subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,8 @@ def create_invoice(self, prorate):
if doctype == 'Sales Invoice':
invoice.customer = self.party
invoice.territory = frappe.db.get_value('Customer', self.party, 'territory')
if self.condicion_de_venta:
invoice.condicion_de_venta = self.condicion_de_venta

if self.punto_de_venta and self.secuencia:
punto_de_venta = frappe.get_doc('Punto de Venta', self.punto_de_venta)
Expand Down

0 comments on commit 807a0a0

Please sign in to comment.