Add secondary dialog for creating new supplier

This commit is contained in:
Oliver Walters 2021-02-18 14:59:13 +11:00
parent 1b73f56937
commit 0f60482e09

View File

@ -158,6 +158,14 @@ $("#po-create").click(function() {
launchModalForm("{% url 'po-create' %}",
{
follow: true,
secondary: [
{
field: 'supplier',
label: '{% trans "New Supplier" %}',
title: '{% trans "Create new Supplier" %}',
url: '{% url "supplier-create" %}',
}
]
}
);
});