Fix "New Sales Order" button in Customer detail view
This commit is contained in:
parent
b619f26074
commit
d3758981b4
|
|
@ -33,9 +33,16 @@
|
|||
}
|
||||
});
|
||||
|
||||
|
||||
$("#new-sales-order").click(function() {
|
||||
// TODO - Create a new sales order
|
||||
launchModalForm(
|
||||
"{% url 'so-create' %}",
|
||||
{
|
||||
data: {
|
||||
customer: {{ company.id }},
|
||||
},
|
||||
follow: true,
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
{% endblock %}
|
||||
Loading…
Reference in New Issue