File trytond_sale_supply_drop_shipment.spec of Package trytond_sale_supply_drop_shipment
#
# spec file for package trytond_sale_supply_drop_shipment
#
# Copyright (c) 2015-2021 Dr. Axel Braun
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
%define majorver 6.0
Version: %{majorver}.7
Name: trytond_sale_supply_drop_shipment
# List of additional build dependencies
BuildRequires: fdupes
BuildRequires: python3-setuptools
Release: 0
License: GPL-3.0
Url: http://www.tryton.org/
Source: http://downloads.tryton.org/%{majorver}/%{name}-%{version}.tar.gz
Source2: http://downloads.tryton.org/%{majorver}/%{name}-%{version}.tar.gz.asc
Source3: https://keybase.io/cedrickrier/pgp_keys.asc?fingerprint=7C5A4360F6DF81ABA91FD54D6FF50AFE03489130#/%{name}.keyring
Group: Productivity/Office/Management
Summary: Tryton module for sale supply drop shipment
#
Requires: trytond
Requires: trytond_company
Requires: trytond_purchase
Requires: trytond_sale
Requires: trytond_sale_supply
Requires: trytond_stock
BuildArch: noarch
%description
The Sale Supply Drop Shipment module adds a drop shipment option on product supplier if “supply on request” is checked. When checked, the purchase request and the linked purchase have the address of customer as Delivery Address; at the confirmation of the purchase a drop shipment is created and linked to both the purchase and the sale.
%prep
%setup -q
%build
%python3_build
%install
%python3_install --prefix=%{_prefix} --root=%{buildroot}
%fdupes -s %{buildroot}
%files
%defattr(-,root,root)
%{python3_sitelib}/*