Skip to content

Commit afda637

Browse files
committed
[IMP] subscription_oca: propagate salesman from sale order to subscription
1 parent 2c2e695 commit afda637

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subscription_oca/models/sale_order.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def create_subscription(self, lines, subscription_tmpl):
6262
"pricelist_id": self.partner_id.property_product_pricelist.id,
6363
"date_start": date.today(),
6464
"sale_order_id": self.id,
65+
"user_id": self.user_id,
6566
"sale_subscription_line_ids": subscription_lines,
6667
}
6768
)

0 commit comments

Comments
 (0)