Merge new root
This commit is contained in:
commit
e79f1f0b96
5135 files changed
+891666
No files matched your search
@@ -0,0 +1,78 @@
|
||||
clone:
|
||||
hg:
|
||||
image: plugins/hg
|
||||
environment:
|
||||
- HG_SHARE_POOL=/root/.cache/hg
|
||||
volumes:
|
||||
- cache:/root/.cache
|
||||
|
||||
pipeline:
|
||||
tox:
|
||||
image: ${IMAGE}
|
||||
environment:
|
||||
- CFLAGS=-O0
|
||||
- DB_CACHE=/cache
|
||||
- TOX_TESTENV_PASSENV=CFLAGS DB_CACHE CI_BUILD_NUMBER CI_JOB_NUMBER CI_JOB_ID
|
||||
- POSTGRESQL_URI=postgresql://postgres@postgresql:5432/
|
||||
commands:
|
||||
- echo "[extensions]" >> /root/.hgrc
|
||||
- echo "hgext.share =" >> /root/.hgrc
|
||||
- echo "[share]" >> /root/.hgrc
|
||||
- echo "pool = /root/.cache/hg" >> /root/.hgrc
|
||||
- pip install tox
|
||||
- tox -e "${TOXENV}-${DATABASE}"
|
||||
volumes:
|
||||
- cache:/root/.cache
|
||||
check_dist:
|
||||
image: ${IMAGE}
|
||||
commands:
|
||||
- pip install twine
|
||||
- python setup.py sdist
|
||||
- twine check dist/*
|
||||
volumes:
|
||||
- cache:/root/.cache
|
||||
check_doc:
|
||||
image: ${IMAGE}
|
||||
commands:
|
||||
- pip install sphinx
|
||||
- python -m sphinx -T -E -W -n -b html doc _build/html
|
||||
- python -m sphinx -T -E -W -n -b linkcheck doc _build
|
||||
volumes:
|
||||
- cache:/root/.cache
|
||||
|
||||
services:
|
||||
postgresql:
|
||||
image: postgres
|
||||
environment:
|
||||
- POSTGRES_HOST_AUTH_METHOD=trust
|
||||
command: "-c fsync=off -c synchronous_commit=off -c full_page_writes=off"
|
||||
when:
|
||||
matrix:
|
||||
DATABASE: postgresql
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- IMAGE: python:3.7
|
||||
TOXENV: py37
|
||||
DATABASE: sqlite
|
||||
- IMAGE: python:3.7
|
||||
TOXENV: py37
|
||||
DATABASE: postgresql
|
||||
- IMAGE: python:3.8
|
||||
TOXENV: py38
|
||||
DATABASE: sqlite
|
||||
- IMAGE: python:3.8
|
||||
TOXENV: py38
|
||||
DATABASE: postgresql
|
||||
- IMAGE: python:3.9
|
||||
TOXENV: py39
|
||||
DATABASE: sqlite
|
||||
- IMAGE: python:3.9
|
||||
TOXENV: py39
|
||||
DATABASE: postgresql
|
||||
- IMAGE: python:3.10
|
||||
TOXENV: py310
|
||||
DATABASE: sqlite
|
||||
- IMAGE: python:3.10
|
||||
TOXENV: py310
|
||||
DATABASE: postgresql
|
||||
@@ -0,0 +1,2 @@
|
||||
[flake8]
|
||||
ignore=E123,E124,E126,E128,E741,W503
|
||||
@@ -0,0 +1,3 @@
|
||||
[settings]
|
||||
multi_line_output=4
|
||||
known_first_party=trytond
|
||||
@@ -0,0 +1,7 @@
|
||||
Version 6.6.0 - 2022-10-31
|
||||
--------------------------
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.4.0 - 2022-05-02
|
||||
--------------------------
|
||||
* Initial release
|
||||
@@ -0,0 +1,15 @@
|
||||
Copyright (C) 2022 B2CK
|
||||
Copyright (C) 2022 Cédric Krier
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
@@ -0,0 +1,6 @@
|
||||
include CHANGELOG
|
||||
include COPYRIGHT
|
||||
include LICENSE
|
||||
include README.rst
|
||||
include icons/LICENSE
|
||||
graft doc
|
||||
@@ -0,0 +1 @@
|
||||
doc/index.rst
|
||||
@@ -0,0 +1,17 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import product, purchase
|
||||
|
||||
__all__ = ['register']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
product.ProductSupplier,
|
||||
module='purchase_product_quantity', type_='model')
|
||||
Pool.register(
|
||||
purchase.RequestCreatePurchase,
|
||||
module='purchase_product_quantity', type_='wizard')
|
||||
@@ -0,0 +1,61 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
modules_url = 'https://docs.tryton.org/projects/modules-{module}/en/{series}/'
|
||||
trytond_url = 'https://docs.tryton.org/projects/server/en/{series}/'
|
||||
|
||||
|
||||
def get_info():
|
||||
import configparser
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
module_dir = os.path.dirname(os.path.dirname(__file__))
|
||||
|
||||
config = configparser.ConfigParser()
|
||||
config.read_file(open(os.path.join(module_dir, 'tryton.cfg')))
|
||||
info = dict(config.items('tryton'))
|
||||
|
||||
result = subprocess.run(
|
||||
[sys.executable, 'setup.py', '--name'],
|
||||
stdout=subprocess.PIPE, check=True, cwd=module_dir)
|
||||
info['name'] = result.stdout.decode('utf-8').strip()
|
||||
|
||||
result = subprocess.run(
|
||||
[sys.executable, 'setup.py', '--version'],
|
||||
stdout=subprocess.PIPE, check=True, cwd=module_dir)
|
||||
version = result.stdout.decode('utf-8').strip()
|
||||
if 'dev' in version:
|
||||
info['series'] = 'latest'
|
||||
else:
|
||||
info['series'] = '.'.join(version.split('.', 2)[:2])
|
||||
|
||||
for key in {'depends', 'extras_depend'}:
|
||||
info[key] = info.get(key, '').strip().splitlines()
|
||||
info['modules'] = set(info['depends'] + info['extras_depend'])
|
||||
info['modules'] -= {'ir', 'res'}
|
||||
|
||||
return info
|
||||
|
||||
|
||||
info = get_info()
|
||||
|
||||
master_doc = 'index'
|
||||
project = info['name']
|
||||
release = version = info['series']
|
||||
default_role = 'ref'
|
||||
highlight_language = 'none'
|
||||
extensions = [
|
||||
'sphinx.ext.intersphinx',
|
||||
]
|
||||
intersphinx_mapping = {
|
||||
'trytond': (trytond_url.format(series=version), None),
|
||||
}
|
||||
intersphinx_mapping.update({
|
||||
m: (modules_url.format(
|
||||
module=m.replace('_', '-'), series=version), None)
|
||||
for m in info['modules']
|
||||
})
|
||||
|
||||
del get_info, info, modules_url, trytond_url
|
||||
@@ -0,0 +1,21 @@
|
||||
******
|
||||
Design
|
||||
******
|
||||
|
||||
The *Purchase Product Quantity Module* extends the following concepts.
|
||||
|
||||
.. _model-purchase.product_supplier:
|
||||
|
||||
Product Supplier
|
||||
================
|
||||
|
||||
When the *Purchase Product Quantity Module* is activated, product suppliers
|
||||
gain some extra properties.
|
||||
These include a minimal and rounding quantity which are enforced on the
|
||||
`Purchase <purchase:model-purchase.purchase>` lines created from :doc:`Purchase
|
||||
Request <purchase_request:index>`.
|
||||
|
||||
.. seealso::
|
||||
|
||||
The `Product Supplier <purchase:model-purchase.product_supplier>` concept is
|
||||
introduced by the :doc:`Purchase Module <purchase:index>`.
|
||||
@@ -0,0 +1,12 @@
|
||||
################################
|
||||
Purchase Product Quantity Module
|
||||
################################
|
||||
|
||||
The *Purchase Product Quantity Module* permits to enforce the minimal and the
|
||||
rounding of quantity purchased per supplier from purchase request.
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
design
|
||||
releases
|
||||
@@ -0,0 +1,7 @@
|
||||
.. _releases-index:
|
||||
|
||||
=============
|
||||
Release notes
|
||||
=============
|
||||
|
||||
.. include:: ../CHANGELOG
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr "Digits de la quantitat"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr "Quantitat mínima"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr "Arrodoniment de la quantitat"
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr "Nachkommastellen Menge"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr "Mindestbestellmenge"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr "Rundungsmenge"
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr "Dígitos cantidad"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr "Cantidad mínima"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr "Redondeo cantidad"
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr "Décimales de quantité"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr "Quantité minimale"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr "Quantité d'arrondi"
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr "Decimali della quantità"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr "Quantità minima"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr "Arrotondamento della quantità"
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr "Decimalen aantal"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr "Minimaal aantal"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr "Afrondingshoeveelheid"
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,15 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_digits:"
|
||||
msgid "Quantity Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_minimal:"
|
||||
msgid "Minimal Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.product_supplier,quantity_rounding:"
|
||||
msgid "Rounding Quantity"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,65 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
import builtins
|
||||
from decimal import Decimal
|
||||
|
||||
from trytond.model import fields
|
||||
from trytond.pool import Pool, PoolMeta
|
||||
from trytond.pyson import Eval
|
||||
|
||||
|
||||
class ProductSupplier(metaclass=PoolMeta):
|
||||
__name__ = 'purchase.product_supplier'
|
||||
|
||||
quantity_minimal = fields.Float(
|
||||
"Minimal Quantity",
|
||||
digits=(16, Eval('quantity_digits', 0)),
|
||||
domain=['OR',
|
||||
('quantity_minimal', '=', None),
|
||||
('quantity_minimal', '>', 0),
|
||||
])
|
||||
quantity_rounding = fields.Float(
|
||||
"Rounding Quantity",
|
||||
digits=(16, Eval('quantity_digits', 0)),
|
||||
domain=['OR',
|
||||
('quantity_rounding', '=', None),
|
||||
('quantity_rounding', '>', 0),
|
||||
])
|
||||
quantity_digits = fields.Function(
|
||||
fields.Integer("Quantity Digits"),
|
||||
'on_change_with_quantity_digits')
|
||||
|
||||
@fields.depends(
|
||||
'uom',
|
||||
'product', '_parent_product.default_uom',
|
||||
'template', '_parent_template.default_uom')
|
||||
def on_change_with_quantity_digits(self, name=None):
|
||||
pool = Pool()
|
||||
Uom = pool.get('product.uom')
|
||||
if self.product and self.product.default_uom:
|
||||
default_uom = self.product.default_uom
|
||||
elif self.template and self.template.default_uom:
|
||||
default_uom = self.template.default_uom
|
||||
else:
|
||||
return
|
||||
rounding = default_uom.rounding
|
||||
if self.uom:
|
||||
rounding = Uom.compute_qty(
|
||||
default_uom, rounding, self.uom, round=False)
|
||||
return -Decimal(str(rounding)).as_tuple().exponent
|
||||
|
||||
def adapt_quantity(self, quantity, unit, round=True):
|
||||
pool = Pool()
|
||||
Uom = pool.get('product.uom')
|
||||
quantity = Uom.compute_qty(unit, quantity, self.uom, round=False)
|
||||
if self.quantity_minimal:
|
||||
if quantity < self.quantity_minimal:
|
||||
quantity = self.quantity_minimal
|
||||
if self.quantity_rounding:
|
||||
remainder = builtins.round(
|
||||
quantity % self.quantity_rounding, self.quantity_digits)
|
||||
if remainder and remainder != self.quantity_rounding:
|
||||
quantity += (self.quantity_rounding - remainder)
|
||||
quantity = Uom.compute_qty(self.uom, quantity, unit, round=round)
|
||||
return quantity
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data>
|
||||
<record model="ir.ui.view" id="product_supplier_view_form">
|
||||
<field name="model">purchase.product_supplier</field>
|
||||
<field name="inherit" ref="purchase.product_supplier_view_form"/>
|
||||
<field name="name">product_supplier_form</field>
|
||||
</record>
|
||||
</data>
|
||||
</tryton>
|
||||
@@ -0,0 +1,16 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import PoolMeta
|
||||
|
||||
|
||||
class RequestCreatePurchase(metaclass=PoolMeta):
|
||||
__name__ = 'purchase.request.create_purchase'
|
||||
|
||||
@classmethod
|
||||
def compute_quantity(cls, requests, line, purchase):
|
||||
quantity = super().compute_quantity(requests, line, purchase)
|
||||
if line.product_supplier:
|
||||
quantity = line.product_supplier.adapt_quantity(
|
||||
quantity, line.unit, round=False)
|
||||
return quantity
|
||||
Executable
+161
@@ -0,0 +1,161 @@
|
||||
#!/usr/bin/env python3
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
import io
|
||||
import os
|
||||
import re
|
||||
from configparser import ConfigParser
|
||||
|
||||
from setuptools import find_packages, setup
|
||||
|
||||
|
||||
def read(fname):
|
||||
content = io.open(
|
||||
os.path.join(os.path.dirname(__file__), fname),
|
||||
'r', encoding='utf-8').read()
|
||||
content = re.sub(
|
||||
r'(?m)^\.\. toctree::\r?\n((^$|^\s.*$)\r?\n)*', '', content)
|
||||
return content
|
||||
|
||||
|
||||
def get_require_version(name):
|
||||
if minor_version % 2:
|
||||
require = '%s >= %s.%s.dev0, < %s.%s'
|
||||
else:
|
||||
require = '%s >= %s.%s, < %s.%s'
|
||||
require %= (name, major_version, minor_version,
|
||||
major_version, minor_version + 1)
|
||||
return require
|
||||
|
||||
|
||||
config = ConfigParser()
|
||||
config.read_file(open(os.path.join(os.path.dirname(__file__), 'tryton.cfg')))
|
||||
info = dict(config.items('tryton'))
|
||||
for key in ('depends', 'extras_depend', 'xml'):
|
||||
if key in info:
|
||||
info[key] = info[key].strip().splitlines()
|
||||
version = info.get('version', '0.0.1')
|
||||
major_version, minor_version, _ = version.split('.', 2)
|
||||
major_version = int(major_version)
|
||||
minor_version = int(minor_version)
|
||||
name = 'trytond_purchase_product_quantity'
|
||||
|
||||
download_url = 'http://downloads.tryton.org/%s.%s/' % (
|
||||
major_version, minor_version)
|
||||
if minor_version % 2:
|
||||
version = '%s.%s.dev0' % (major_version, minor_version)
|
||||
download_url = (
|
||||
'hg+http://hg.tryton.org/modules/%s#egg=%s-%s' % (
|
||||
name[8:], name, version))
|
||||
|
||||
local_version = []
|
||||
if os.environ.get('CI_JOB_ID'):
|
||||
local_version.append(os.environ['CI_JOB_ID'])
|
||||
else:
|
||||
for build in ['CI_BUILD_NUMBER', 'CI_JOB_NUMBER']:
|
||||
if os.environ.get(build):
|
||||
local_version.append(os.environ[build])
|
||||
else:
|
||||
local_version = []
|
||||
break
|
||||
if local_version:
|
||||
version += '+' + '.'.join(local_version)
|
||||
requires = []
|
||||
for dep in info.get('depends', []):
|
||||
if not re.match(r'(ir|res)(\W|$)', dep):
|
||||
requires.append(get_require_version('trytond_%s' % dep))
|
||||
requires.append(get_require_version('trytond'))
|
||||
|
||||
tests_require = [
|
||||
get_require_version('proteus'),
|
||||
get_require_version('trytond_stock_supply'),
|
||||
]
|
||||
dependency_links = []
|
||||
if minor_version % 2:
|
||||
dependency_links.append(
|
||||
'https://trydevpi.tryton.org/?local_version='
|
||||
+ '.'.join(local_version)
|
||||
)
|
||||
|
||||
setup(name=name,
|
||||
version=version,
|
||||
description='Tryton module to add quantity constraints on purchase line',
|
||||
long_description=read('README.rst'),
|
||||
author='Tryton',
|
||||
author_email='bugs@tryton.org',
|
||||
url='http://www.tryton.org/',
|
||||
download_url=download_url,
|
||||
project_urls={
|
||||
"Bug Tracker": 'https://bugs.tryton.org/',
|
||||
"Documentation": (
|
||||
'https://docs.tryton.org/projects/'
|
||||
'modules-purchase-product-quantity'),
|
||||
"Forum": 'https://www.tryton.org/forum',
|
||||
"Source Code": (
|
||||
'https://hg.tryton.org/modules/purchase_product_quantity'),
|
||||
},
|
||||
keywords='tryton purchase product quantity',
|
||||
package_dir={'trytond.modules.purchase_product_quantity': '.'},
|
||||
packages=(
|
||||
['trytond.modules.purchase_product_quantity']
|
||||
+ ['trytond.modules.purchase_product_quantity.%s' % p
|
||||
for p in find_packages()]
|
||||
),
|
||||
package_data={
|
||||
'trytond.modules.purchase_product_quantity': (info.get('xml', [])
|
||||
+ ['tryton.cfg', 'view/*.xml', 'locale/*.po', '*.fodt',
|
||||
'icons/*.svg', 'tests/*.rst']),
|
||||
},
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Environment :: Plugins',
|
||||
'Framework :: Tryton',
|
||||
'Intended Audience :: Developers',
|
||||
'Intended Audience :: Financial and Insurance Industry',
|
||||
'Intended Audience :: Legal Industry',
|
||||
'License :: OSI Approved :: '
|
||||
'GNU General Public License v3 or later (GPLv3+)',
|
||||
'Natural Language :: Bulgarian',
|
||||
'Natural Language :: Catalan',
|
||||
'Natural Language :: Chinese (Simplified)',
|
||||
'Natural Language :: Czech',
|
||||
'Natural Language :: Dutch',
|
||||
'Natural Language :: English',
|
||||
'Natural Language :: Finnish',
|
||||
'Natural Language :: French',
|
||||
'Natural Language :: German',
|
||||
'Natural Language :: Hungarian',
|
||||
'Natural Language :: Indonesian',
|
||||
'Natural Language :: Italian',
|
||||
'Natural Language :: Persian',
|
||||
'Natural Language :: Polish',
|
||||
'Natural Language :: Portuguese (Brazilian)',
|
||||
'Natural Language :: Romanian',
|
||||
'Natural Language :: Russian',
|
||||
'Natural Language :: Slovenian',
|
||||
'Natural Language :: Spanish',
|
||||
'Natural Language :: Turkish',
|
||||
'Natural Language :: Ukrainian',
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
'Programming Language :: Python :: 3.9',
|
||||
'Programming Language :: Python :: 3.10',
|
||||
'Programming Language :: Python :: Implementation :: CPython',
|
||||
'Topic :: Office/Business',
|
||||
],
|
||||
license='GPL-3',
|
||||
python_requires='>=3.7',
|
||||
install_requires=requires,
|
||||
extras_require={
|
||||
'test': tests_require,
|
||||
},
|
||||
dependency_links=dependency_links,
|
||||
zip_safe=False,
|
||||
entry_points="""
|
||||
[trytond.modules]
|
||||
purchase_product_quantity = trytond.modules.purchase_product_quantity
|
||||
""", # noqa: E501
|
||||
)
|
||||
@@ -0,0 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
@@ -0,0 +1,132 @@
|
||||
==================================
|
||||
Purchase Product Quantity Scenario
|
||||
==================================
|
||||
|
||||
Imports::
|
||||
|
||||
>>> import datetime as dt
|
||||
>>> from decimal import Decimal
|
||||
|
||||
>>> from proteus import Model, Wizard
|
||||
>>> from trytond.tests.tools import activate_modules, set_user
|
||||
>>> from trytond.modules.account.tests.tools import (
|
||||
... create_chart, get_accounts)
|
||||
>>> from trytond.modules.company.tests.tools import (
|
||||
... create_company, get_company)
|
||||
|
||||
>>> today = dt.date.today()
|
||||
|
||||
Activate modules::
|
||||
|
||||
>>> config = activate_modules(
|
||||
... ['purchase_product_quantity', 'purchase_request'])
|
||||
>>> user = config.user
|
||||
|
||||
>>> Location = Model.get('stock.location')
|
||||
>>> Party = Model.get('party.party')
|
||||
>>> ProductCategory = Model.get('product.category')
|
||||
>>> ProductTemplate = Model.get('product.template')
|
||||
>>> ProductUom = Model.get('product.uom')
|
||||
>>> PurchaseRequest = Model.get('purchase.request')
|
||||
|
||||
Create company::
|
||||
|
||||
>>> _ = create_company()
|
||||
>>> company = get_company()
|
||||
|
||||
Create chart of accounts::
|
||||
|
||||
>>> _ = create_chart(company)
|
||||
>>> accounts = get_accounts(company)
|
||||
|
||||
Create parties::
|
||||
|
||||
>>> supplier = Party(name="Supplier")
|
||||
>>> supplier.save()
|
||||
|
||||
Create account category::
|
||||
|
||||
>>> account_category = ProductCategory(name="Account Category")
|
||||
>>> account_category.accounting = True
|
||||
>>> account_category.account_expense = accounts['expense']
|
||||
>>> account_category.save()
|
||||
|
||||
Create product::
|
||||
|
||||
>>> gr, = ProductUom.find([('name', '=', "Gram")])
|
||||
>>> kg, = ProductUom.find([('name', '=', "Kilogram")])
|
||||
|
||||
>>> template = ProductTemplate()
|
||||
>>> template.name = 'Product'
|
||||
>>> template.default_uom = gr
|
||||
>>> template.type = 'goods'
|
||||
>>> template.list_price = Decimal('20')
|
||||
>>> template.account_category = account_category
|
||||
>>> template.purchasable = True
|
||||
>>> template.purchase_uom = kg
|
||||
>>> product_supplier = template.product_suppliers.new()
|
||||
>>> product_supplier.party = supplier
|
||||
>>> product_supplier.quantity_minimal = 0.1
|
||||
>>> product_supplier.quantity_rounding = 0.05
|
||||
>>> product, = template.products
|
||||
>>> product.cost_price = Decimal('8')
|
||||
>>> template.save()
|
||||
>>> product, = template.products
|
||||
|
||||
Get stock locations::
|
||||
|
||||
>>> warehouse_loc, = Location.find([('code', '=', 'WH')])
|
||||
|
||||
Create the purchase request below minimal::
|
||||
|
||||
>>> set_user(0)
|
||||
>>> pr_id, = PurchaseRequest.create([{
|
||||
... 'product': product.id,
|
||||
... 'quantity': 30,
|
||||
... 'uom': gr,
|
||||
... 'warehouse': warehouse_loc.id,
|
||||
... 'company': company.id,
|
||||
... }], config.context)
|
||||
>>> set_user(user)
|
||||
>>> purchase_request = PurchaseRequest(pr_id)
|
||||
|
||||
Create purchase::
|
||||
|
||||
>>> create_purchase = Wizard(
|
||||
... 'purchase.request.create_purchase',[purchase_request])
|
||||
>>> create_purchase.form.party = supplier
|
||||
>>> create_purchase.execute('start')
|
||||
>>> purchase_request.state
|
||||
'purchased'
|
||||
|
||||
>>> purchase_request.purchase_line.unit == gr
|
||||
True
|
||||
>>> purchase_request.purchase_line.quantity
|
||||
100.0
|
||||
|
||||
Create the purchase request wrong rounding::
|
||||
|
||||
>>> set_user(0)
|
||||
>>> pr_id, = PurchaseRequest.create([{
|
||||
... 'product': product.id,
|
||||
... 'quantity': 1001,
|
||||
... 'uom': gr,
|
||||
... 'warehouse': warehouse_loc.id,
|
||||
... 'company': company.id,
|
||||
... }], config.context)
|
||||
>>> set_user(user)
|
||||
>>> purchase_request = PurchaseRequest(pr_id)
|
||||
|
||||
Create purchase::
|
||||
|
||||
>>> create_purchase = Wizard(
|
||||
... 'purchase.request.create_purchase',[purchase_request])
|
||||
>>> create_purchase.form.party = supplier
|
||||
>>> create_purchase.execute('start')
|
||||
>>> purchase_request.state
|
||||
'purchased'
|
||||
|
||||
>>> purchase_request.purchase_line.unit == gr
|
||||
True
|
||||
>>> purchase_request.purchase_line.quantity
|
||||
1050.0
|
||||
@@ -0,0 +1,12 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.tests.test_tryton import ModuleTestCase
|
||||
|
||||
|
||||
class PurchaseProductQuantityTestCase(ModuleTestCase):
|
||||
'Test Purchase Product Quantity module'
|
||||
module = 'purchase_product_quantity'
|
||||
|
||||
|
||||
del ModuleTestCase
|
||||
@@ -0,0 +1,8 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.tests.test_tryton import load_doc_tests
|
||||
|
||||
|
||||
def load_tests(*args, **kwargs):
|
||||
return load_doc_tests(__name__, __file__, *args, **kwargs)
|
||||
@@ -0,0 +1,17 @@
|
||||
[tox]
|
||||
envlist = {py37,py38,py39,py310}-{sqlite,postgresql}
|
||||
|
||||
[testenv]
|
||||
extras = test
|
||||
commands =
|
||||
coverage run --include=./**/purchase_product_quantity/* -m unittest discover -s tests
|
||||
coverage report --include=./**/purchase_product_quantity/* --omit=*/tests/*
|
||||
deps =
|
||||
coverage
|
||||
postgresql: psycopg2 >= 2.7.0
|
||||
setenv =
|
||||
sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
|
||||
postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}
|
||||
sqlite: DB_NAME={env:SQLITE_NAME::memory:}
|
||||
postgresql: DB_NAME={env:POSTGRESQL_NAME:test}
|
||||
install_command = pip install --pre --find-links https://trydevpi.tryton.org/?local_version={env:CI_JOB_ID:{env:CI_BUILD_NUMBER:}.{env:CI_JOB_NUMBER:}} {opts} {packages}
|
||||
@@ -0,0 +1,9 @@
|
||||
[tryton]
|
||||
version=6.7.0
|
||||
depends:
|
||||
ir
|
||||
product
|
||||
purchase
|
||||
purchase_request
|
||||
xml:
|
||||
product.xml
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//label[@name='currency']" position="before">
|
||||
<label name="quantity_minimal"/>
|
||||
<field name="quantity_minimal"/>
|
||||
<label name="quantity_rounding"/>
|
||||
<field name="quantity_rounding"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,70 @@
|
||||
clone:
|
||||
hg:
|
||||
image: plugins/hg
|
||||
environment:
|
||||
- HG_SHARE_POOL=/root/.cache/hg
|
||||
volumes:
|
||||
- cache:/root/.cache
|
||||
|
||||
pipeline:
|
||||
tox:
|
||||
image: ${IMAGE}
|
||||
environment:
|
||||
- CFLAGS=-O0
|
||||
- DB_CACHE=/cache
|
||||
- TOX_TESTENV_PASSENV=CFLAGS DB_CACHE CI_BUILD_NUMBER CI_JOB_NUMBER CI_JOB_ID
|
||||
- POSTGRESQL_URI=postgresql://postgres@postgresql:5432/
|
||||
commands:
|
||||
- echo "[extensions]" >> /root/.hgrc
|
||||
- echo "hgext.share =" >> /root/.hgrc
|
||||
- echo "[share]" >> /root/.hgrc
|
||||
- echo "pool = /root/.cache/hg" >> /root/.hgrc
|
||||
- pip install tox
|
||||
- tox -e "${TOXENV}-${DATABASE}"
|
||||
volumes:
|
||||
- cache:/root/.cache
|
||||
check_dist:
|
||||
image: ${IMAGE}
|
||||
commands:
|
||||
- pip install twine
|
||||
- python setup.py sdist
|
||||
- twine check dist/*
|
||||
volumes:
|
||||
- cache:/root/.cache
|
||||
|
||||
services:
|
||||
postgresql:
|
||||
image: postgres
|
||||
environment:
|
||||
- POSTGRES_HOST_AUTH_METHOD=trust
|
||||
command: "-c fsync=off -c synchronous_commit=off -c full_page_writes=off"
|
||||
when:
|
||||
matrix:
|
||||
DATABASE: postgresql
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- IMAGE: python:3.7
|
||||
TOXENV: py37
|
||||
DATABASE: sqlite
|
||||
- IMAGE: python:3.7
|
||||
TOXENV: py37
|
||||
DATABASE: postgresql
|
||||
- IMAGE: python:3.8
|
||||
TOXENV: py38
|
||||
DATABASE: sqlite
|
||||
- IMAGE: python:3.8
|
||||
TOXENV: py38
|
||||
DATABASE: postgresql
|
||||
- IMAGE: python:3.9
|
||||
TOXENV: py39
|
||||
DATABASE: sqlite
|
||||
- IMAGE: python:3.9
|
||||
TOXENV: py39
|
||||
DATABASE: postgresql
|
||||
- IMAGE: python:3.10
|
||||
TOXENV: py310
|
||||
DATABASE: sqlite
|
||||
- IMAGE: python:3.10
|
||||
TOXENV: py310
|
||||
DATABASE: postgresql
|
||||
@@ -0,0 +1,2 @@
|
||||
[flake8]
|
||||
ignore=E123,E124,E126,E128,E741,W503
|
||||
@@ -0,0 +1,3 @@
|
||||
[settings]
|
||||
multi_line_output=4
|
||||
known_first_party=trytond
|
||||
@@ -0,0 +1,59 @@
|
||||
Version 6.6.0 - 2022-10-31
|
||||
--------------------------
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.4.0 - 2022-05-02
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Use supplier currency as default
|
||||
* Add support for Python 3.10
|
||||
* Remove support for Python 3.6
|
||||
|
||||
Version 6.2.0 - 2021-11-01
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.0.0 - 2021-05-03
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Add summary to request line
|
||||
* Add relate from request to purchase and from purchase to request
|
||||
|
||||
Version 5.8.0 - 2020-11-02
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Remove support for Python 3.5
|
||||
* Rename purchase request state from cancel to cancelled
|
||||
|
||||
Version 5.6.0 - 2020-05-04
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Add employee on requests for some states
|
||||
* Allow setting unit on request without product
|
||||
|
||||
Version 5.4.0 - 2019-11-04
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 5.2.0 - 2019-05-06
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Add find_best_product_supplier method
|
||||
|
||||
Version 5.0.0 - 2018-10-01
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Remove support for Python 2.7
|
||||
|
||||
Version 4.8.0 - 2018-04-23
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Make description on purchase request optional
|
||||
* Warns when the warehouse of a purchase differs from its purchase requests
|
||||
|
||||
Version 4.6.0 - 2017-10-30
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Remove required on request origin
|
||||
|
||||
Version 4.4.0 - 2017-05-01
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Add requests on purchase line
|
||||
|
||||
Version 4.2.0 - 2016-11-28
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Allow request without product
|
||||
* Group requests of same product and unit into one purchase line
|
||||
|
||||
Version 4.0.0 - 2016-05-02
|
||||
* Initial release
|
||||
@@ -0,0 +1,18 @@
|
||||
Copyright (C) 2016-2022 Nicolas Évrard.
|
||||
Copyright (C) 2013-2015 NaN-tic.
|
||||
Copyright (C) 2008-2022 Cédric Krier.
|
||||
Copyright (C) 2008-2013 Bertrand Chenal.
|
||||
Copyright (C) 2008-2022 B2CK SPRL.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
@@ -0,0 +1,6 @@
|
||||
include CHANGELOG
|
||||
include COPYRIGHT
|
||||
include LICENSE
|
||||
include README.rst
|
||||
include icons/LICENSE
|
||||
graft doc
|
||||
+1
@@ -0,0 +1 @@
|
||||
doc/index.rst
|
||||
@@ -0,0 +1,21 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import party, purchase, purchase_request
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
purchase_request.PurchaseRequest,
|
||||
purchase_request.HandlePurchaseCancellationExceptionStart,
|
||||
purchase_request.CreatePurchaseAskParty,
|
||||
purchase.Purchase,
|
||||
purchase.Line,
|
||||
module='purchase_request', type_='model')
|
||||
Pool.register(
|
||||
purchase_request.CreatePurchase,
|
||||
purchase_request.HandlePurchaseCancellationException,
|
||||
party.Replace,
|
||||
module='purchase_request', type_='wizard')
|
||||
@@ -0,0 +1,39 @@
|
||||
Purchase Request Module
|
||||
#######################
|
||||
|
||||
The Purchase Request module introduces the concept of Purchase Requests which
|
||||
are central points to collect purchase requests generated by other process from
|
||||
Tryton.
|
||||
|
||||
Purchase Request
|
||||
****************
|
||||
|
||||
A purchase request defines the need to purchase a product. It
|
||||
is linked to a warehouse and possibly a supplier, it contains a
|
||||
ideal purchase date and an expected supply date. A purchase request
|
||||
can be in one of these states:
|
||||
|
||||
* Draft
|
||||
|
||||
A draft purchase request is a request that is not linked to a
|
||||
purchase.
|
||||
|
||||
* Purchased
|
||||
|
||||
A Purchased request is a request that is linked to a purchase which
|
||||
is not Done or Cancelled.
|
||||
|
||||
* Done
|
||||
|
||||
A purchase request is in state Done if it is linked to a Purchase
|
||||
which is in state Done.
|
||||
|
||||
* Cancelled
|
||||
|
||||
A purchase request is Cancelled if it is linked to a Purchase
|
||||
which is cancelled.
|
||||
|
||||
A wizard allows to create purchases based on a selection of draft purchase
|
||||
requests. The new purchases contains one purchase line by product and unit and
|
||||
group them by warehouses and by suppliers. Once the purchases are created, the
|
||||
corresponding purchase requests are set to the state Purchased.
|
||||
@@ -0,0 +1,8 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.exceptions import UserWarning
|
||||
|
||||
|
||||
class PurchaseWarehouseWarning(UserWarning):
|
||||
pass
|
||||
@@ -0,0 +1,292 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr "Фирма"
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr "Описание"
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr "Източник"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr "Управление на партньор"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr "Продукт"
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Управление на покупки"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr "Ред от покупка"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr "Поръчан"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr "Количество"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr "Щат"
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr "Мер. ед."
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr "Склад"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr "Фирма"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr "Описание"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr "Доставчик"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr "Продукт"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr "Управление на покупки"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Заявки за покупки"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Заявки за покупки"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr "Create Purchase"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Handle Purchase Cancellation"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr "All"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr "Проект"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr "Грешка"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Handle Purchase Cancellation"
|
||||
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Заявки за покупки"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Заявка за покупка"
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Заявка за покупка"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr "Отказване"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr "Приключено"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr "Проект"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr "Грешка"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr "Поръчан"
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr "Информация за продукт"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Отказване"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Отказване"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,267 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr "Sol·licituds"
|
||||
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr "Empresa"
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr "Quantitat calculada"
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr "UdM calculada"
|
||||
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr "UdM per defecte"
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr "Decimals de la UdM per defecte"
|
||||
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr "Descripció"
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr "Excepció ignorada"
|
||||
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr "Origen"
|
||||
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr "Tercer"
|
||||
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr "Producte"
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr "Categoria UdM del producte"
|
||||
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Compra"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr "Millor data de compra"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr "Línia de compra"
|
||||
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr "Comprada per"
|
||||
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr "Quantitat"
|
||||
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr "Estat"
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr "Existències a data de subministre"
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr "Resum"
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr "Data subministre estimada"
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr "UdM"
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr "Decimals de la UdM"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr "Magatzem"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr "Magatzem obligatori"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr "Empresa"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr "Descripció"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr "Proveïdor"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr "Producte"
|
||||
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr "Compres"
|
||||
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Sol·licituds de compra"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Sol·licituds de compra"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr "Crea compra"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Gestiona cancel·lació de la compra"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr "Tot"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr "Esborrany"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr "En excepció"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
"No es pot eliminar la compra \"%(purchase)s\" perquè està enllaçada a "
|
||||
"sol·licituds de compra."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
"El magatzem \"%(purchase_warehouse)s\" de la compra \"%(purchase)s\" és "
|
||||
"diferent del magatzem \"%(request_warehouse)s\" de la sol·licitud de compra "
|
||||
"vinculada \"%(request)s\"."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
"No podeu eliminar la sol·licitud de compra \"%(request)s\" perquè ja ha "
|
||||
"estat comprada."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr "Les sol·licituds de compra només poden ser creades pel sistema."
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Gestiona cancel·lació de la compra"
|
||||
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr "Usuari a les empreses"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Sol·licituds de compra"
|
||||
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Sol·licitud de compra"
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr "Pregunta tercer al crear compra"
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr "Gestiona excepció cancel·lació de compra - Inici"
|
||||
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Sol·licitud de compra"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr "Cancel·lada"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr "Finalitzada"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr "Esborrany"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr "En excepció"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr "Comprada"
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr "Voleu cancel·lar la sol·licitud o restaurar-la a esborrany?"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr "Informació producte"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr "Informació proveïdor"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Cancel·la"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr "Continua"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr "Cancel·la sol·licitud"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Cancel·la"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr "Restaura a esborrany"
|
||||
@@ -0,0 +1,266 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr "Create Purchase"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Handle Purchase Cancellation"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr "All"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr "Draft"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr "Exception"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Handle Purchase Cancellation"
|
||||
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr "Draft"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr "Exception"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,269 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr "Bestellvorschläge"
|
||||
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr "Unternehmen"
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr "Berechnete Menge"
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr "Berechnete Maßeinheit"
|
||||
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr "Standardeinheit"
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr "Standardmaßeinheit Nachkommastellen"
|
||||
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr "Beschreibung"
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr "Ignorierter Vorbehalt"
|
||||
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr "Herkunft"
|
||||
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr "Partei"
|
||||
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr "Artikel"
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr "Maßeinheitenkategorie"
|
||||
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Einkauf"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr "Optimales Bestelldatum"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr "Einkaufsposition"
|
||||
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr "Einkauf erstellt von"
|
||||
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr "Menge"
|
||||
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr "Status"
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr "Lagerbestand zum Anlieferungstermin"
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr "Kurzbeschreibung"
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr "Voraussichtliches Anlieferungsdatum"
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr "Maßeinheit"
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr "Maßeinheit Nachkommastellen"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr "Logistikstandort"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr "Logistikstandort erforderlich"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr "Unternehmen"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr "Beschreibung"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr "Lieferant"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr "Artikel"
|
||||
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr "Einkäufe"
|
||||
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Bestellvorschläge"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Bestellvorschläge"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr "Einkauf erstellen"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Einkaufsannullierung bearbeiten"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr "Alle"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr "Entwurf"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr "Vorbehalt"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
"Der Einkauf \"%(purchase)s\" kann nicht gelöscht werden, weil er mit "
|
||||
"mindestens einem Bestellvorschlag verknüpft ist."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
"Der Logistikstandort \"%(purchase_warehouse)s\" des Einkaufs "
|
||||
"\"%(purchase)s\" ist ein anderes als der Logistikstandort "
|
||||
"\"%(request_warehouse)s\" des dazugehörigen Bestellvorschlags "
|
||||
"\"%(request)s\"."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
"Der Bestellvorschlag \"%(request)s\" kann nicht gelöscht werden, weil er "
|
||||
"bereits beschafft wurde."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr "Bestellvorschläge werden nur durch das System erstellt."
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Einkaufsannullierung bearbeiten"
|
||||
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr "Benutzer im Unternehmen"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Bestellvorschläge"
|
||||
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Bestellvorschlag"
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr "Einkaufserstellung Nachfrage Partei"
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr "Einkaufsannullierung bearbeiten Vorbehalt - Start"
|
||||
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Bestellvorschlag"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr "Annulliert"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr "Erledigt"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr "Entwurf"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr "Vorbehalt"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr "Auftrag erstellt"
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr ""
|
||||
"Wollen Sie den Bestellvorschlag annullieren oder auf Entwurf zurücksetzen?"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr "Info"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr "Beschaffungsinformation"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Abbrechen"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr "Weiter"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr "Bestellvorschlag annullieren"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Abbrechen"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr "Auf Entwurf zurücksetzen"
|
||||
@@ -0,0 +1,267 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr "Solicitudes"
|
||||
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr "Empresa"
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr "Cantidad calculada"
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr "UdM calculada"
|
||||
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr "UdM por defecto"
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr "Decimales de la UdM por defecto"
|
||||
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr "Descripción"
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr "Excepción ignorada"
|
||||
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr "Origen"
|
||||
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr "Tercero"
|
||||
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr "Producto"
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr "Categoría de UdM del producto"
|
||||
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Compra"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr "Mejor fecha de compra"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr "Línea de compra"
|
||||
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr "Comprada por"
|
||||
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr "Cantidad"
|
||||
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr "Estado"
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr "Existencias a fecha de suministro"
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr "Resumen"
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr "Fecha suministro estimada"
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr "UdM"
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr "Decimales de la UdM"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr "Almacén"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr "Almacén obligatorio"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr "Empresa"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr "Descripción"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr "Proveedor"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr "Producto"
|
||||
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr "Compras"
|
||||
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Solicitudes de compra"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Solicitudes de compra"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr "Crear compra"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Gestionar cancelación de compra"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr "Todo"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr "Borrador"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr "Excepción"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
"No se puede eliminar la compra \"%(purchase)s\" porqué esta vinculada con "
|
||||
"una solicitud de compra."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
"El almacén \"%(purchase_warehouse)s\" de la compra \"%(purchase)s\" es "
|
||||
"distinto del almacén \"%(request_warehouse)s\" de la solicitud de compra "
|
||||
"vinculada \"%(request)s\"."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
"No puede eliminar la solicitud de compra \"%(request)s\" porque ha sido "
|
||||
"comprada."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr "Las solicitudes de compra sólo pueden ser creadas por el sistema."
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Gestionar cancelación de compra"
|
||||
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr "Usuario en las empresas"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Solicitudes de compra"
|
||||
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Solicitud de compra"
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr "Preguntar tercero al crear compra"
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr "Gestionar excepción cancelación de compra - Inicio"
|
||||
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Solicitud de compra"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr "Cancelada"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr "Finalizada"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr "Borrador"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr "En excepción"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr "Comprada"
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr "¿Desea cancelar la solicitud o restaurarla a borrador?"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr "Información producto"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr "Información proveedor"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr "Continuar"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr "Cancelar solicitud"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr "Restaurar a borrador"
|
||||
@@ -0,0 +1,264 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr "Fecha de suministro estimada"
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
"No puede eliminar la compra \"%(purchase)s\" porque está asociada al menos a"
|
||||
" una solicitud de compra."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr "Las solicitudes de compra sólo son creadas por el sistema."
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr "Gestionar excepción de cancelación de compra - Inicio"
|
||||
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr "Información de producto"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr "Información de proveedor"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,266 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr "Päringud"
|
||||
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr "Ettevõte"
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr "Arvutatu kogus"
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr "Arvutatud ühik"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr "Vaikimisi mõõtühiku numbriväärtus"
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr "Vaikimisi mõõtühiku numbriväärtus"
|
||||
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr "Kirjeldus"
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr "Päritolu"
|
||||
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr "Osapool"
|
||||
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr "Toode"
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Ost"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr "Parim ostu kuupäev"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr "Ostu rida"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr "Hangitud"
|
||||
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr "Kogus"
|
||||
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr "Olek"
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr "Eeldatav tarne kuupäev"
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr "Ühik"
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr "Mõõtühiku numbriväärtus"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr "Ladu"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr "Ladu on kohustuslik"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr "Ettevõte"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr "Kirjeldus"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr "Hankija"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr "Toode"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr "Ost"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Ostupäring"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Ostupäring"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr "Loo ost"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Käitle ostu tühistamist"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr "Kõik"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr "Mustand"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr "Erand"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Halda hanke tühistamist"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr "Kasutaja ettevõttes"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Hankesoov"
|
||||
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Hankesoov"
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Hankesoov"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr "Tühista"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr "Tehtud"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr "Mustand"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr "Erand"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr "Hangitud"
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr "Tooteinfo"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr "Hanke info"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Tühista"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr "Jätka"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr "Tühista päring"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Tühista"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr "Muuda mustaniks"
|
||||
@@ -0,0 +1,272 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr "درخواست ها"
|
||||
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr "شرکت"
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr "مقدار محاسبه شده"
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr "واحد اندازی گیری محاسبه شده"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr "ارقام واحد اندازه گیری پیش فرض"
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr "ارقام واحد اندازه گیری پیش فرض"
|
||||
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr "شرح"
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr "اعتراض نادیده گرفته شده"
|
||||
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr "مبداء"
|
||||
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr "نهاد/سازمان"
|
||||
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr "محصول"
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "خرید"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr "تاریخ بهترین خرید"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr "خط خرید"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr "خریداری شده"
|
||||
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr "مقدار/تعداد"
|
||||
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr "وضعیت"
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr "تاریخ عرضه موجودی"
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr "تاریخ انتظار عرضه"
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr "UOM"
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr "ارقام واحد اندازه گیری"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr "انبار"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr "نیازمند انبار"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr "شرکت"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr "شرح"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr "تامین کننده"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr "محصول"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr "خرید"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "درخواست های خرید"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "درخواست های خرید"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr "ایجاد خرید"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "رسیدگی به لغو خریدها"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr "همه"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr "پیشنویس"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr "اعتراض"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
"شما نمی توانید خرید : \"%s\" را حذف کنید از آنجا که حداقل به یک درخواست خرید"
|
||||
" مرتبط است ."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
"انبار : \"%s\" از خرید \"%s\" متفاوت است با انبار: \"%s\" که در درخواست خرید"
|
||||
" : \"%(request)s\" پیوند شده است."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
"شما نمی توانید درخواست خرید :\"%(request)s\" را حذف کنید چرا که آن خریداری "
|
||||
"شده است."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr "درخواست های خرید فقط توسط سیستم ایجاد می شوند."
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Handle Purchase Cancellation"
|
||||
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "درخواست های خرید"
|
||||
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr "درخواست خرید"
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr "ایجاد خرید به درخواست نهاد/سازمان"
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr "رسیدگی به لغو خریدهای اعتراضی - شروع"
|
||||
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr "درخواست خرید"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr "انصراف"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr "انجام شد"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr "پیشنویس"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr "اعتراض"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr "خریداری شده"
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr ""
|
||||
"آیا میخواهید درخواست را لغو کنید یا دوباره بعنوان پیش نویس بازنشانی کنید؟"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr "اطلاعات محصول"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr "اطلاعات تامین"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "انصراف"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr "ادامه هید"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr "لغو درخواست"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "انصراف"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr "بازنشانی در پیش نویس"
|
||||
@@ -0,0 +1,266 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr "Create Purchase"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Handle Purchase Cancellation"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr "All"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr "Draft"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr "Exception"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Handle Purchase Cancellation"
|
||||
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr "Draft"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr "Exception"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,268 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr "Demandes"
|
||||
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr "Société"
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr "Quantité calculée"
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr "UDM calculée"
|
||||
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr "UDM par défaut"
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr "Décimales d'UDM par défaut"
|
||||
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr "Description"
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr "Exception ignorée"
|
||||
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr "Origine"
|
||||
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr "Tiers"
|
||||
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr "Produit"
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr "Catégorie d'unité de mesure"
|
||||
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Achat"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr "Meilleur date d'achat"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr "Ligne d'achat"
|
||||
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr "Acheté par"
|
||||
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr "Quantité"
|
||||
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr "État"
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr "Stock à la date d’approvisionnement"
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr "Résumé"
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr "Date d'approvisionnement attendue"
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr "UDM"
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr "Décimales d'UDM"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr "Entrepôt"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr "Entrepôt requis"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr "Société"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr "Description"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr "Fournisseur"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr "Produit"
|
||||
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr "Achats"
|
||||
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Demandes d'achat"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Demandes d'achat"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr "Créer l'achat"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Gérer l'annulation d'achat"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr "Toutes"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr "Brouillon"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr "Exception"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
"Vous ne pouvez pas supprimer l'achat « %(purchase)s » car il est lié à des "
|
||||
"demandes d'achat."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
"L'entrepôt « %(purchase_warehouse)s » de l'achat « %(purchase)s » est "
|
||||
"différent de l'entrepôt « %(request_warehouse)s » de la demande d'achat "
|
||||
"liée."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
"Vous ne pouvez pas supprimer la demande d'achat « %(request)s » car elle est"
|
||||
" achetée."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr "Les demandes d'achat sont uniquement crées par le système."
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Gérer l'annulation d'achat"
|
||||
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr "Utilisateur dans les sociétés"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Demandes d'achat"
|
||||
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Demande d'achat"
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr "Créer les achats - Demander le tiers"
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr "Gérer l'exception d'annulation d'achat - Début"
|
||||
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Demande d'achat"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr "Annulée"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr "Fait"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr "Brouillon"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr "Exception"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr "Achetée"
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr ""
|
||||
"Voulez-vous annuler la demande ou la réinitialiser à l'état brouillon ?"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr "Info produit"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr "Info d'approvisionnement"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Annuler"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr "Continuer"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr "Annuler la demande"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Annuler"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr "Réinitialiser à l'état brouillon"
|
||||
@@ -0,0 +1,263 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr "Beszerzési igények"
|
||||
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr "Cég"
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr "Kiszámított mennyiség"
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr "Kiszámított mennyiség ME-e"
|
||||
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr "Alapegység"
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr "Leírás"
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr "Eredet"
|
||||
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr "Ügyfél"
|
||||
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr "Termék"
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr "Mértékegység kategória"
|
||||
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Beszerzési rendelés"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr "Ideális rendelési dátum"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr "Beszerzési rendelés sora"
|
||||
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr "Megrendelte"
|
||||
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr "Mennyiség"
|
||||
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr "Állapot"
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr "Készlet a leszállítás napján"
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr "Leírás"
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr "Várható leszállítási dátum"
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr "Mértékegység"
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr "Raktár"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr "Cég"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr "Leírás"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr "Szállító"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr "Termék"
|
||||
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr "Beszerzési rendelések"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr "Beszerzési rendelés létrehozása"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Visszautasított rendelés kezelése"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr "összes"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr "vázlat"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr "visszautasítva"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr "Beszerzési igényeket csak a rendszer tud létrehozni."
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Visszautasított rendelés kezelése"
|
||||
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Beszerzési igény"
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Beszerzési igény"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr "érvénytelen"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr "kész"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr "vázlat"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr "visszautasítva"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr "rendelés létrehozva"
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr ""
|
||||
"Érvényteleníteni szeretné a beszerzési igényt vagy újra vázlatos állapotba "
|
||||
"tenni?"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr "Termék és mennyiség"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr "Beszerzés"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Mégse"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr "Tovább"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr "Beszerzési igény érvénytelenítése"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Mégse"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr "Újra vázlatba"
|
||||
@@ -0,0 +1,267 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr "Perusahaan"
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr "Deskripsi"
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr "Pengecualian Diabaikan"
|
||||
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr "Asal"
|
||||
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr "Pihak"
|
||||
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr "Produk"
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Pembelian"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr "Baris Pembelian"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr "Pembelian"
|
||||
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr "Status"
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr "UOM"
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr "Gudang"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr "Perusahaan"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr "Deskripsi"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr "Pemasok"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr "Produk"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr "Pembelian"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Pembelian"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Pembelian"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr "Pengguna di dalam perusahaan"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Pembelian"
|
||||
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr "Batal"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr "Rancangan"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr "Pengecualian"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Batal"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Batal"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,267 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr "Richieste"
|
||||
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr "Azienda"
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr "Quantità calcolata"
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr "UDM calcolata"
|
||||
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr "UdM predefinita"
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr "Cifre UDM predefinite"
|
||||
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr "Descrizione"
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr "Eccezione ignorata"
|
||||
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr "Origine"
|
||||
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr "Controparte"
|
||||
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr "Prodotto"
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr "Categotia UdM prodotto"
|
||||
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Acquisto"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr "Miglior data di acquisto"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr "Riga ordine di acquisto"
|
||||
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr "Acquistato da"
|
||||
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr "Quantità"
|
||||
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr "Stato"
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr "Scorte alla data di fornitura"
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr "Sommario"
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr "Data di fornitura prevista"
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr "UdM"
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr "Cifre UDM"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr "Magazzino"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr "Magazzino richiesto"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr "Azienda"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr "Descrizione"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr "Fornitore"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr "Prodotto"
|
||||
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr "Acquisti"
|
||||
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Richiesta acquisti"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Richiesta acquisti"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr "Crea acquisto"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Gestisci l'annullamento dell'acquisto"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr "Tutti"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr "Bozza"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr "Eccezione"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
"Non è possibile eliminare l'acquisto \"%(purchase)s\" perché è collegato "
|
||||
"alle richieste di acquisto."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
"Il magazzino \"%(purchase_warehouse) \" in acquisto \"%(purchase)s\" è "
|
||||
"diverso dal magazzino \"%(request_warehouse) \" nella richiesta di acquisto "
|
||||
"collegata a \"%(request)s\"."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
"Non è possibile eliminare la richiesta di acquisto \"%(request)s\" perché è "
|
||||
"stata acquistata."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr "Le richieste di acquisto possono essere create solo dal sistema."
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Gestisci l'annullamento dell'acquisto"
|
||||
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr "Utente in aziende"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Richiesta acquisti"
|
||||
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Richiesta di acquisto"
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr "Crea acquisto chiedendo alla controparte"
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr "Gestisci annullamento acquisto - Inizia"
|
||||
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Richiesta di acquisto"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr "Annullato"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr "Fatto"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr "Bozza"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr "Eccezione"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr "Acquistato"
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr "Si desidera annullare la richiesta o ripristinarla come bozza?"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr "Informazioni sul prodotto"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr "Informazioni sulla fornitura"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Annulla"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr "Continua"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr "Cancella Richiesta"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Annulla"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr "Ripristinare alla bozza"
|
||||
@@ -0,0 +1,285 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr "ຫ້ອງການ/ສຳນັກງານ"
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr "ເນື້ອໃນລາຍການ"
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr "ລາຍການຂັ້ນຕົ້ນ"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr "ພາກສ່ວນ"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr "ຜະລິດຕະພັນ"
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "ສັ່ງຊື້"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr "ສັ່ງຊື້"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr "ຈຳນວນ"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr "ສະຖານະ"
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr "ຫ້ອງການ/ສຳນັກງານ"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr "ເນື້ອໃນລາຍການ"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr "ຜູ້ສະໜອງ"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr "ຜະລິດຕະພັນ"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr "ສັ່ງຊື້"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr "Create Purchase"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Handle Purchase Cancellation"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr "ທັງໝົດ"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr "ຮ່າງກຽມ"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr "Exception"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Handle Purchase Cancellation"
|
||||
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr "ຍົກເລີກ"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr "ແລ້ວໆ"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr "ຮ່າງກຽມ"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr "Exception"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr "ສັ່ງຊື້"
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "ຍົກເລີກ"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "ຍົກເລີກ"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,266 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr "Organizacija"
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr "Kontrahentas"
|
||||
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr "Organizacija"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr "Create Purchase"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Handle Purchase Cancellation"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr "All"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr "Draft"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr "Exception"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Handle Purchase Cancellation"
|
||||
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr "Draft"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr "Exception"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,267 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr "Aanvragen"
|
||||
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr "Bedrijf"
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr "Berekende hoeveelheid"
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr "Berekende maateenheid"
|
||||
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr "Standaard maateenheid"
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr "Standaard maateenheid decimalen"
|
||||
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr "Omschrijving"
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr "Genegeerde uitzondering"
|
||||
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr "Oorsprong"
|
||||
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr "Relatie"
|
||||
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr "Product"
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr "Product maateenheid categorie"
|
||||
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Inkoop"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr "Beste inkoopdatum"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr "Inkoopregel"
|
||||
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr "Ingekocht door"
|
||||
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr "Hoeveelheid"
|
||||
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr "Status"
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr "Voorraad op datum levering"
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr "Samenvatting"
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr "Verwachte leverdatum"
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr "Maateenheid"
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr "Maateenheid decimalen"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr "Magazijn"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr "Magazijn verplicht"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr "Bedrijf"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr "Omschrijving"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr "Leverancier"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr "Product"
|
||||
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr "Inkopen"
|
||||
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Aankoopverzoeken"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Aankoopverzoeken"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr "Inkooporder maken"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Afhandelen inkooporder annuleren"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr "Alles"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr "Concept"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr "Uitzondering"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
"U kunt de inkooporder \"%(purchase)s\" niet verwijderen omdat deze is "
|
||||
"gekoppeld aan inkoopaanvragen."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
"Magazijn \"%(purchase_warehouse)s\" van inkooporder \"%(purchase)s\" "
|
||||
"verschilt van magazijn \"%(request_warehouse)s\" van gekoppeld "
|
||||
"inkoopaanvraag \"%(request)s\"."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
"U kunt de inkoopaanvraag \"%(request)s\" niet verwijderen omdat het al "
|
||||
"ingekocht is."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr "Inkoop aanvragen kunnen alleen door het systeem worden aangemaakt."
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Afhandelen inkooporder annuleren"
|
||||
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr "Gebruiker in het bedrijf"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Aankoopverzoeken"
|
||||
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Inkoop aanvraag"
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr "Aanmaak inkoop vraag relatie"
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr "Afhandelen inkoop annulering uitzondering - Start"
|
||||
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Inkoop aanvraag"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr "Geannuleerd"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr "Afgerond"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr "Concept"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr "Uitzondering"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr "Ingekocht"
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr "Wilt u de aanvraag annuleren of opnieuw instellen als concept?"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr "Product informatie"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr "Leveringsinfo"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Annuleer"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr "Doorgaan"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr "Annuleer aanvraag"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Annuleer"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr "Terug naar concept"
|
||||
@@ -0,0 +1,274 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr "Firma"
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr "Opis"
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr "Strona"
|
||||
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr "Produkt"
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Zakup"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr "Optymalna data zakupu"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr "Wiersz zakupu"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr "Zakupiono"
|
||||
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr "Ilość"
|
||||
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr "Stan"
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr "Oczekiwana data dostawy"
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr "Jm"
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr "Cyfry jm"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr "Magazyn"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr "Wymagany magazyn"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr "Firma"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr "Opis"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr "Dostawca"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr "Produkt"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr "Zakup"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr "Create Purchase"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Handle Purchase Cancellation"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr "All"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr "Draft"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr "Exception"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Handle Purchase Cancellation"
|
||||
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr "Anuluj"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr "Wykonano"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr "Draft"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr "Wyjątek"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr "Zakupiono"
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr "Informacja o produkcie"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr "Informacja o dostawie"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Anuluj"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr "Kontynuuj"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Anuluj"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,277 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr "Pedidos"
|
||||
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr "Empresa"
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr "Quantidade Calculada"
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr "UDM Calculada"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr "Dígitos Decimais Padrões da UDM"
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr "Dígitos Decimais Padrões da UDM"
|
||||
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr "Descrição"
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr "Exceção Ignorada"
|
||||
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr "Origem"
|
||||
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr "Pessoa"
|
||||
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr "Produto"
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Compra"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr "Melhor Data de Compra"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr "Linha da Compra"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr "Comprado"
|
||||
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr "Quantidade"
|
||||
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr "Estado"
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr "Estoque na Data de Abastecimento"
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr "Data Esperada de Abastecimento"
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr "UDM"
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr "Dígitos Decimais da UDM"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr "Almoxarifado"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr "Almoxarifado Obrigatório"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr "Empresa"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr "Descrição"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr "Fornecedor"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr "Produto"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr "Compra"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr "Create Purchase"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Handle Purchase Cancellation"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr "All"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr "Draft"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr "Exception"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
"Você não pode apagar a compra \"%(purchase)s\", pois ela está vinculada a "
|
||||
"pelo menos um pedido de compra."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr "Pedidos de compra são criados apenas pelo sistema."
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Handle Purchase Cancellation"
|
||||
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Pedidos de Compra"
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr "Criar Pedido de Compra"
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr "Gerenciamento de Cancelamento de Compra Exceção - Início"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr "Cancelar"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr "Feito"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr "Rascunho"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr "Exceção"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr "Comprado"
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr "Você quer cancelar o pedido ou voltar para rascunho?"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr "Informação do Produto"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr "Informações de Abastecimento"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr "Continuar"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr "Cancelar Pedido"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr "Voltar para rascunho"
|
||||
@@ -0,0 +1,260 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr "Companie"
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr "Descriere"
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr "Origine"
|
||||
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr "Parte"
|
||||
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr "Produs"
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr "Companie"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr "Descriere"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr "Produs"
|
||||
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,293 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr "Учет.орг."
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr "Описание"
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr "Первоисточник"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr "Организации"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr "Товарно материальные ценности (ТМЦ)"
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Покупки"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr "Строка покупки"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr "Купленные"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr "Кол-во"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr "Штат"
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr "Ед.изм."
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr "Товарный склад"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr "Учет.орг."
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr "Описание"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr "Поставщик"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr "Товарно материальные ценности (ТМЦ)"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr "Покупки"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Запросы на покупку"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Запросы на покупку"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr "Create Purchase"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Handle Purchase Cancellation"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr "Все"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr "Черновик"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr "Особая ситуация"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Handle Purchase Cancellation"
|
||||
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Запросы на покупку"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Запрос на покупку"
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Запрос на покупку"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr "Отменить"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr "Выполнено"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr "Черновик"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr "Особая ситуация"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr "Купленные"
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr "Информация о продукте"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Отменить"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Отменить"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,277 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr "Zahtevki"
|
||||
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr "Družba"
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr "Izračunana količina"
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr "Izračunana ME"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr "Privzete decimalke"
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr "Privzete decimalke"
|
||||
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr "Opis"
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr "Izjema prezrta"
|
||||
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr "Poreklo"
|
||||
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr "Partner"
|
||||
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr "Izdelek"
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Nabavn nalog"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr "Najugodnejši datum nabave"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr "Nabavna postavka"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr "Nabavljeno"
|
||||
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr "Količina"
|
||||
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr "Stanje"
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr "Zaloga na dan dobave"
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr "Pričakovan datum dobave"
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr "ME"
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr "Decimalke"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr "Skladišče"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr "Skladišče obvezno"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr "Družba"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr "Opis"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr "Dobavitelj"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr "Izdelek"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr "Nabavn nalog"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr "Create Purchase"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Handle Purchase Cancellation"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr "All"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr "Draft"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr "Exception"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
"Nabavnega naloga \"%(purchase)s\" ni mogoče izbrisati, ker je povezan z vsaj"
|
||||
" enim nabavnim zahtevkom."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr "Samo sistem lahko izdela nabavne zahtevke."
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Handle Purchase Cancellation"
|
||||
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Nabavni zahtevek"
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr "Izdelava nabavnega naloga - določitev dobavitelja"
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr "Obravnava preklicanih nabav"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr "Preklic"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr "Zaključeno"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr "V pripravi"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr "Pridržano"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr "Nabavljeno"
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr "Ali želite zahtevek preklicati ali ponastaviti?"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr "Podatek o izdelku"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr "Podatki o dobavi"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Prekliči"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr "Nadaljuj"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr "Prekliči zahtevek"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "Prekliči"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr "Ponastavi"
|
||||
@@ -0,0 +1,266 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr "Create Purchase"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Handle Purchase Cancellation"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr "All"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr "Draft"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr "Exception"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "Handle Purchase Cancellation"
|
||||
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "Purchase Requests"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr "Purchase Request"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr "Draft"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr "Exception"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,260 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,265 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:purchase.line,requests:"
|
||||
msgid "Requests"
|
||||
msgstr "申请"
|
||||
|
||||
msgctxt "field:purchase.request,company:"
|
||||
msgid "Company"
|
||||
msgstr "公司"
|
||||
|
||||
msgctxt "field:purchase.request,computed_quantity:"
|
||||
msgid "Computed Quantity"
|
||||
msgstr "计算的数量"
|
||||
|
||||
msgctxt "field:purchase.request,computed_uom:"
|
||||
msgid "Computed UOM"
|
||||
msgstr "计算计量单位"
|
||||
|
||||
msgctxt "field:purchase.request,default_uom:"
|
||||
msgid "Default UOM"
|
||||
msgstr "默认计量单位"
|
||||
|
||||
msgctxt "field:purchase.request,default_uom_digits:"
|
||||
msgid "Default UOM Digits"
|
||||
msgstr "默认计量单位有效数字"
|
||||
|
||||
msgctxt "field:purchase.request,description:"
|
||||
msgid "Description"
|
||||
msgstr "描述"
|
||||
|
||||
msgctxt "field:purchase.request,exception_ignored:"
|
||||
msgid "Ignored Exception"
|
||||
msgstr "已忽略的异常"
|
||||
|
||||
msgctxt "field:purchase.request,origin:"
|
||||
msgid "Origin"
|
||||
msgstr "起源"
|
||||
|
||||
msgctxt "field:purchase.request,party:"
|
||||
msgid "Party"
|
||||
msgstr "参与者"
|
||||
|
||||
msgctxt "field:purchase.request,product:"
|
||||
msgid "Product"
|
||||
msgstr "产品"
|
||||
|
||||
msgctxt "field:purchase.request,product_uom_category:"
|
||||
msgid "Product Uom Category"
|
||||
msgstr "产品计量单位类别"
|
||||
|
||||
msgctxt "field:purchase.request,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "采购"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_date:"
|
||||
msgid "Best Purchase Date"
|
||||
msgstr "最佳购买日期"
|
||||
|
||||
msgctxt "field:purchase.request,purchase_line:"
|
||||
msgid "Purchase Line"
|
||||
msgstr "采购订单行"
|
||||
|
||||
msgctxt "field:purchase.request,purchased_by:"
|
||||
msgid "Purchased By"
|
||||
msgstr "采购者"
|
||||
|
||||
msgctxt "field:purchase.request,quantity:"
|
||||
msgid "Quantity"
|
||||
msgstr "数量"
|
||||
|
||||
msgctxt "field:purchase.request,state:"
|
||||
msgid "State"
|
||||
msgstr "状态"
|
||||
|
||||
msgctxt "field:purchase.request,stock_level:"
|
||||
msgid "Stock at Supply Date"
|
||||
msgstr "供应日库存"
|
||||
|
||||
msgctxt "field:purchase.request,summary:"
|
||||
msgid "Summary"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.request,supply_date:"
|
||||
msgid "Expected Supply Date"
|
||||
msgstr "预计供货日期"
|
||||
|
||||
msgctxt "field:purchase.request,uom:"
|
||||
msgid "UOM"
|
||||
msgstr "计量单位"
|
||||
|
||||
msgctxt "field:purchase.request,uom_digits:"
|
||||
msgid "UOM Digits"
|
||||
msgstr "计量单位有效数字"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse:"
|
||||
msgid "Warehouse"
|
||||
msgstr "仓库"
|
||||
|
||||
msgctxt "field:purchase.request,warehouse_required:"
|
||||
msgid "Warehouse Required"
|
||||
msgstr "要求的仓库"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,company:"
|
||||
msgid "Company"
|
||||
msgstr "公司"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,description:"
|
||||
msgid "Description"
|
||||
msgstr "描述"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,party:"
|
||||
msgid "Supplier"
|
||||
msgstr "供应商"
|
||||
|
||||
msgctxt "field:purchase.request.create_purchase.ask_party,product:"
|
||||
msgid "Product"
|
||||
msgstr "产品"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_purchase_form"
|
||||
msgid "Purchases"
|
||||
msgstr "采购"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_open_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "采购申请"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "采购申请"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_create_purchase"
|
||||
msgid "Create Purchase"
|
||||
msgstr "创建采购"
|
||||
|
||||
msgctxt "model:ir.action,name:wizard_purchase_cancellation_handle_exception"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "取消采购处理"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_all"
|
||||
msgid "All"
|
||||
msgstr "全部"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_draft"
|
||||
msgid "Draft"
|
||||
msgstr "草案"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.action.act_window.domain,name:act_purchase_request_form_domain_exception"
|
||||
msgid "Exception"
|
||||
msgstr "异常"
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_delete_request"
|
||||
msgid ""
|
||||
"You cannot delete purchase \"%(purchase)s\" because it is linked to purchase"
|
||||
" requests."
|
||||
msgstr "你无法删除采购 \"%(purchase)s\" ,因为有采购申请与其对应."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_purchase_request_warehouse"
|
||||
msgid ""
|
||||
"Warehouse \"%(purchase_warehouse)s\" on purchase \"%(purchase)s\" is "
|
||||
"different to warehouse \"%(request_warehouse)s\" on linked purchase request "
|
||||
"\"%(request)s\"."
|
||||
msgstr ""
|
||||
"采购 \"%(purchase)s\"对应的仓库\"%(purchase_warehouse)s\"和采购申请 \"%(request)s\" "
|
||||
"对应的仓库 \"%(request_warehouse)s\"不一致."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_delete_purchased"
|
||||
msgid ""
|
||||
"You cannot delete purchase request \"%(request)s\" because it is purchased."
|
||||
msgstr "无法删除采购申请 \"%(request)s\", 因为已经完成对应采购."
|
||||
|
||||
msgctxt "model:ir.message,text:msg_request_no_create"
|
||||
msgid "Purchase requests can only be created by the system."
|
||||
msgstr "采购申请只能由系统创建。"
|
||||
|
||||
msgctxt ""
|
||||
"model:ir.model.button,string:purchase_hande_purchase_cancellation_exception_button"
|
||||
msgid "Handle Purchase Cancellation"
|
||||
msgstr "取消采购处理"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.rule.group,name:rule_group_purchase_request_companies"
|
||||
msgid "User in companies"
|
||||
msgstr "公司中的用户"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_purchase_request_form"
|
||||
msgid "Purchase Requests"
|
||||
msgstr "采购申请"
|
||||
|
||||
msgctxt "model:purchase.request,name:"
|
||||
msgid "Purchase Request"
|
||||
msgstr "采购申请"
|
||||
|
||||
msgctxt "model:purchase.request.create_purchase.ask_party,name:"
|
||||
msgid "Create Purchase Ask Party"
|
||||
msgstr "创建采购邀请方"
|
||||
|
||||
msgctxt "model:purchase.request.handle.purchase.cancellation.start,name:"
|
||||
msgid "Handle Purchase Cancellation Exception - Start"
|
||||
msgstr "处理采购取消异常 - 开始"
|
||||
|
||||
msgctxt "model:res.group,name:group_purchase_request"
|
||||
msgid "Purchase Request"
|
||||
msgstr "采购申请"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Cancelled"
|
||||
msgstr "已取消"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Done"
|
||||
msgstr "完成"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Draft"
|
||||
msgstr "草案"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Exception"
|
||||
msgstr "异常"
|
||||
|
||||
msgctxt "selection:purchase.request,state:"
|
||||
msgid "Purchased"
|
||||
msgstr "已采购"
|
||||
|
||||
msgctxt "view:purchase.request.handle.purchase.cancellation.start:"
|
||||
msgid "Do you want to cancel the request or to reset it to draft?"
|
||||
msgstr "是否要取消请求或将其重置为草案?"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Product Info"
|
||||
msgstr "产品信息"
|
||||
|
||||
msgctxt "view:purchase.request:"
|
||||
msgid "Supply Info"
|
||||
msgstr "供应信息"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "取消"
|
||||
|
||||
msgctxt "wizard_button:purchase.request.create_purchase,ask_party,start:"
|
||||
msgid "Continue"
|
||||
msgstr "继续"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,cancel_request:"
|
||||
msgid "Cancel Request"
|
||||
msgstr "取消申请"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,end:"
|
||||
msgid "Cancel"
|
||||
msgstr "取消"
|
||||
|
||||
msgctxt ""
|
||||
"wizard_button:purchase.request.handle.purchase.cancellation,start,reset:"
|
||||
msgid "Reset to draft"
|
||||
msgstr "重置为草案"
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data grouped="1">
|
||||
<record model="ir.message" id="msg_request_no_create">
|
||||
<field name="text">Purchase requests can only be created by the system.</field>
|
||||
</record>
|
||||
<record model="ir.message" id="msg_request_delete_purchased">
|
||||
<field name="text">You cannot delete purchase request "%(request)s" because it is purchased.</field>
|
||||
</record>
|
||||
<record model="ir.message" id="msg_purchase_delete_request">
|
||||
<field name="text">You cannot delete purchase "%(purchase)s" because it is linked to purchase requests.</field>
|
||||
</record>
|
||||
<record model="ir.message" id="msg_purchase_request_warehouse">
|
||||
<field name="text">Warehouse "%(purchase_warehouse)s" on purchase "%(purchase)s" is different to warehouse "%(request_warehouse)s" on linked purchase request "%(request)s".</field>
|
||||
</record>
|
||||
</data>
|
||||
</tryton>
|
||||
@@ -0,0 +1,13 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from trytond.pool import PoolMeta
|
||||
|
||||
|
||||
class Replace(metaclass=PoolMeta):
|
||||
__name__ = 'party.replace'
|
||||
|
||||
@classmethod
|
||||
def fields_to_replace(cls):
|
||||
return super().fields_to_replace() + [
|
||||
('purchase.request', 'party'),
|
||||
]
|
||||
@@ -0,0 +1,102 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from functools import wraps
|
||||
|
||||
from trytond.i18n import gettext
|
||||
from trytond.model import ModelView, Workflow, fields
|
||||
from trytond.model.exceptions import AccessError
|
||||
from trytond.pool import Pool, PoolMeta
|
||||
from trytond.pyson import Eval
|
||||
from trytond.transaction import Transaction
|
||||
|
||||
from .exceptions import PurchaseWarehouseWarning
|
||||
|
||||
|
||||
def process_request(func):
|
||||
@wraps(func)
|
||||
def wrapper(cls, purchases):
|
||||
pool = Pool()
|
||||
Request = pool.get('purchase.request')
|
||||
func(cls, purchases)
|
||||
requests = [r for p in purchases for l in p.lines for r in l.requests]
|
||||
Request.update_state(requests)
|
||||
return wrapper
|
||||
|
||||
|
||||
class Purchase(metaclass=PoolMeta):
|
||||
__name__ = 'purchase.purchase'
|
||||
|
||||
@classmethod
|
||||
def delete(cls, purchases):
|
||||
cls.check_delete_purchase_request(purchases)
|
||||
super(Purchase, cls).delete(purchases)
|
||||
|
||||
@classmethod
|
||||
def check_delete_purchase_request(cls, purchases):
|
||||
with Transaction().set_context(_check_access=False):
|
||||
purchases = cls.browse(purchases)
|
||||
for purchase in purchases:
|
||||
for line in purchase.lines:
|
||||
if line.requests:
|
||||
raise AccessError(
|
||||
gettext('purchase_request.msg_purchase_delete_request',
|
||||
purchase=purchase.rec_name))
|
||||
|
||||
@classmethod
|
||||
@ModelView.button
|
||||
@Workflow.transition('confirmed')
|
||||
def confirm(cls, purchases):
|
||||
for purchase in purchases:
|
||||
purchase.check_request_warehouse()
|
||||
super(Purchase, cls).confirm(purchases)
|
||||
|
||||
def check_request_warehouse(self):
|
||||
pool = Pool()
|
||||
Warning = pool.get('res.user.warning')
|
||||
for line in self.lines:
|
||||
for request in line.requests:
|
||||
if request.warehouse != self.warehouse:
|
||||
w_name = 'check_request_warehouse_%s_%s_%s' % (
|
||||
self.id, self.warehouse.id, request.warehouse.id)
|
||||
if Warning.check(w_name):
|
||||
raise PurchaseWarehouseWarning(
|
||||
w_name,
|
||||
gettext('purchase_request'
|
||||
'.msg_purchase_request_warehouse',
|
||||
purchase=self.rec_name,
|
||||
purchase_warehouse=self.warehouse.rec_name,
|
||||
request=request.rec_name,
|
||||
request_warehouse=request.warehouse.rec_name))
|
||||
|
||||
@classmethod
|
||||
@ModelView.button
|
||||
@Workflow.transition('cancelled')
|
||||
@process_request
|
||||
def cancel(cls, purchases):
|
||||
super(Purchase, cls).cancel(purchases)
|
||||
|
||||
@classmethod
|
||||
@Workflow.transition('done')
|
||||
@process_request
|
||||
def do(cls, purchases):
|
||||
super(Purchase, cls).do(purchases)
|
||||
|
||||
|
||||
class Line(metaclass=PoolMeta):
|
||||
__name__ = 'purchase.line'
|
||||
|
||||
requests = fields.One2Many(
|
||||
'purchase.request', 'purchase_line', "Requests", readonly=True,
|
||||
states={
|
||||
'invisible': ~Eval('requests'),
|
||||
})
|
||||
|
||||
@classmethod
|
||||
def delete(cls, lines):
|
||||
pool = Pool()
|
||||
Request = pool.get('purchase.request')
|
||||
with Transaction().set_context(_check_access=False):
|
||||
requests = [r for l in cls.browse(lines) for r in l.requests]
|
||||
super().delete(lines)
|
||||
with Transaction().set_context(_check_access=False):
|
||||
Request.update_state(requests)
|
||||
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data>
|
||||
<record model="ir.ui.view" id="purchase_line_view_form">
|
||||
<field name="model">purchase.line</field>
|
||||
<field name="inherit" ref="purchase.purchase_line_view_form"/>
|
||||
<field name="name">purchase_line_form</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window" id="act_open_request_form">
|
||||
<field name="name">Purchase Requests</field>
|
||||
<field name="res_model">purchase.request</field>
|
||||
<field name="domain"
|
||||
eval="[('purchase', 'in', Eval('active_ids'))]"
|
||||
pyson="1"/>
|
||||
</record>
|
||||
<record model="ir.action.keyword" id="act_open_request_keyword">
|
||||
<field name="keyword">form_relate</field>
|
||||
<field name="model">purchase.purchase,-1</field>
|
||||
<field name="action" ref="act_open_request_form"/>
|
||||
</record>
|
||||
<record model="ir.action-res.group"
|
||||
id="act_open_request_form_group_purchase">
|
||||
<field name="action" ref="act_open_request_form"/>
|
||||
<field name="group" ref="group_purchase_request"/>
|
||||
</record>
|
||||
</data>
|
||||
</tryton>
|
||||
@@ -0,0 +1,575 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
import datetime
|
||||
from decimal import Decimal
|
||||
from functools import partial
|
||||
from itertools import groupby
|
||||
|
||||
from trytond.i18n import gettext
|
||||
from trytond.model import Index, ModelSQL, ModelView, fields
|
||||
from trytond.model.exceptions import AccessError
|
||||
from trytond.modules.company.model import (
|
||||
employee_field, reset_employee, set_employee)
|
||||
from trytond.modules.product import round_price
|
||||
from trytond.pool import Pool
|
||||
from trytond.pyson import Bool, Eval, If
|
||||
from trytond.tools import firstline, sortable_values
|
||||
from trytond.transaction import Transaction
|
||||
from trytond.wizard import Button, StateTransition, StateView, Wizard
|
||||
|
||||
STATES = {
|
||||
'readonly': Eval('state') != 'draft',
|
||||
}
|
||||
|
||||
|
||||
class PurchaseRequest(ModelSQL, ModelView):
|
||||
'Purchase Request'
|
||||
__name__ = 'purchase.request'
|
||||
|
||||
product = fields.Many2One(
|
||||
'product.product', "Product", readonly=True,
|
||||
domain=[('purchasable', '=', True)],
|
||||
context={
|
||||
'company': Eval('company', -1),
|
||||
},
|
||||
depends={'company'})
|
||||
description = fields.Text('Description', readonly=True, states=STATES)
|
||||
summary = fields.Function(fields.Char('Summary'), 'on_change_with_summary')
|
||||
party = fields.Many2One(
|
||||
'party.party', "Party", states=STATES,
|
||||
context={
|
||||
'company': Eval('company', -1),
|
||||
},
|
||||
depends={'company'})
|
||||
quantity = fields.Float('Quantity', required=True, states=STATES,
|
||||
digits=(16, Eval('uom_digits', 2)))
|
||||
uom = fields.Many2One(
|
||||
'product.uom', "UOM", ondelete='RESTRICT',
|
||||
domain=[
|
||||
If(Bool(Eval('product_uom_category')),
|
||||
('category', '=', Eval('product_uom_category')),
|
||||
('category', '!=', -1)),
|
||||
],
|
||||
states={
|
||||
'required': Bool(Eval('product')),
|
||||
'readonly': STATES['readonly'],
|
||||
})
|
||||
uom_digits = fields.Function(fields.Integer('UOM Digits'),
|
||||
'on_change_with_uom_digits')
|
||||
product_uom_category = fields.Function(
|
||||
fields.Many2One('product.uom.category', "Product Uom Category"),
|
||||
'on_change_with_product_uom_category')
|
||||
computed_quantity = fields.Float('Computed Quantity', readonly=True)
|
||||
computed_uom = fields.Many2One('product.uom', 'Computed UOM',
|
||||
readonly=True)
|
||||
purchase_date = fields.Date('Best Purchase Date', readonly=True)
|
||||
supply_date = fields.Date('Expected Supply Date', readonly=True)
|
||||
default_uom = fields.Function(fields.Many2One(
|
||||
'product.uom', "Default UOM"), 'on_change_with_default_uom')
|
||||
default_uom_digits = fields.Function(fields.Integer('Default UOM Digits'),
|
||||
'on_change_with_default_uom_digits')
|
||||
stock_level = fields.Float('Stock at Supply Date', readonly=True,
|
||||
digits=(16, Eval('default_uom_digits', 2)))
|
||||
warehouse = fields.Many2One(
|
||||
'stock.location', "Warehouse",
|
||||
states={
|
||||
'required': Eval('warehouse_required', False),
|
||||
},
|
||||
domain=[('type', '=', 'warehouse')],
|
||||
readonly=True)
|
||||
warehouse_required = fields.Function(fields.Boolean('Warehouse Required'),
|
||||
'get_warehouse_required')
|
||||
purchase_line = fields.Many2One('purchase.line', 'Purchase Line',
|
||||
readonly=True)
|
||||
purchase = fields.Function(fields.Many2One('purchase.purchase',
|
||||
'Purchase'), 'get_purchase', searcher='search_purchase')
|
||||
company = fields.Many2One('company.company', 'Company', required=True,
|
||||
readonly=True)
|
||||
origin = fields.Reference('Origin', selection='get_origin', readonly=True)
|
||||
exception_ignored = fields.Boolean('Ignored Exception')
|
||||
|
||||
purchased_by = employee_field(
|
||||
"Purchased By", states=['purchased', 'done', 'cancelled', 'exception'])
|
||||
state = fields.Selection([
|
||||
('draft', "Draft"),
|
||||
('purchased', "Purchased"),
|
||||
('done', "Done"),
|
||||
('cancelled', "Cancelled"),
|
||||
('exception', "Exception"),
|
||||
], "State", required=True, readonly=True, sort=False)
|
||||
|
||||
@classmethod
|
||||
def __setup__(cls):
|
||||
super(PurchaseRequest, cls).__setup__()
|
||||
t = cls.__table__()
|
||||
cls._sql_indexes.add(
|
||||
Index(
|
||||
t,
|
||||
(t.state, Index.Equality()),
|
||||
where=t.state.in_(['draft', 'purchased', 'exception'])))
|
||||
cls._order[0] = ('id', 'DESC')
|
||||
cls._buttons.update({
|
||||
'handle_purchase_cancellation_exception': {
|
||||
'invisible': Eval('state') != 'exception',
|
||||
'depends': ['state'],
|
||||
},
|
||||
})
|
||||
|
||||
@classmethod
|
||||
def __register__(cls, module_name):
|
||||
pool = Pool()
|
||||
ModelData = pool.get('ir.model.data')
|
||||
Purchase = pool.get('purchase.purchase')
|
||||
PurchaseLine = pool.get('purchase.line')
|
||||
model_data = ModelData.__table__()
|
||||
purchase = Purchase.__table__()
|
||||
purchase_line = PurchaseLine.__table__()
|
||||
request = cls.__table__()
|
||||
|
||||
tablehandler = cls.__table_handler__(module_name)
|
||||
state_exist = tablehandler.column_exist('state')
|
||||
|
||||
super(PurchaseRequest, cls).__register__(module_name)
|
||||
|
||||
# Migration from 3.6: removing the constraint on the quantity
|
||||
tablehandler = cls.__table_handler__(module_name)
|
||||
tablehandler.drop_constraint('check_purchase_request_quantity')
|
||||
|
||||
# Migration from 3.8: renaming module of Purchase Request group entry
|
||||
cursor = Transaction().connection.cursor()
|
||||
cursor.execute(*model_data.update(
|
||||
columns=[model_data.module],
|
||||
values=['purchase_request'],
|
||||
where=((model_data.fs_id == 'group_purchase_request')
|
||||
& (model_data.module == 'stock_supply'))))
|
||||
|
||||
# Migration from 4.0: remove required on product and uom
|
||||
tablehandler.not_null_action('product', action='remove')
|
||||
tablehandler.not_null_action('uom', action='remove')
|
||||
|
||||
# Migration from 4.2: add state
|
||||
if not state_exist:
|
||||
cursor = Transaction().connection.cursor()
|
||||
update = Transaction().connection.cursor()
|
||||
query = request.join(purchase_line, type_='INNER',
|
||||
condition=request.purchase_line == purchase_line.id
|
||||
).join(purchase, type_='INNER',
|
||||
condition=purchase_line.purchase == purchase.id
|
||||
).select(
|
||||
request.id, purchase.state, request.exception_ignored)
|
||||
cursor.execute(*query)
|
||||
for request_id, purchase_state, exception_ignored in cursor:
|
||||
if purchase_state == 'cancel' and not exception_ignored:
|
||||
state = 'exception'
|
||||
elif purchase_state == 'cancel':
|
||||
state = 'cancel'
|
||||
elif purchase_state == 'done':
|
||||
state = 'done'
|
||||
else:
|
||||
state = 'purchased'
|
||||
update.execute(*request.update(
|
||||
[request.state],
|
||||
[state],
|
||||
where=request.id == request_id))
|
||||
|
||||
# Migration from 4.4: remove required on origin
|
||||
tablehandler.not_null_action('origin', action='remove')
|
||||
|
||||
# Migration from 5.6: rename state cancel to cancelled
|
||||
cursor.execute(*request.update(
|
||||
[request.state], ['cancelled'],
|
||||
where=request.state == 'cancel'))
|
||||
|
||||
def get_rec_name(self, name):
|
||||
pool = Pool()
|
||||
Lang = pool.get('ir.lang')
|
||||
if self.product:
|
||||
lang = Lang.get()
|
||||
rec_name = (lang.format_number_symbol(
|
||||
self.quantity, self.uom, digits=self.uom.digits)
|
||||
+ ' %s' % self.product.name)
|
||||
elif self.description:
|
||||
rec_name = self.description.splitlines()[0]
|
||||
else:
|
||||
rec_name = str(self.id)
|
||||
|
||||
if self.warehouse:
|
||||
return "%s @% s" % (rec_name, self.warehouse.name)
|
||||
else:
|
||||
return rec_name
|
||||
|
||||
@classmethod
|
||||
def search_rec_name(cls, name, clause):
|
||||
res = []
|
||||
names = clause[2].split('@', 1)
|
||||
res.append(('product.template.name', clause[1], names[0]))
|
||||
if len(names) != 1 and names[1]:
|
||||
res.append(('warehouse', clause[1], names[1]))
|
||||
return ['OR', res,
|
||||
('description',) + tuple(clause[1:]),
|
||||
]
|
||||
|
||||
@staticmethod
|
||||
def default_company():
|
||||
return Transaction().context.get('company')
|
||||
|
||||
@staticmethod
|
||||
def default_exception_ignored():
|
||||
return False
|
||||
|
||||
def get_purchase(self, name):
|
||||
if self.purchase_line:
|
||||
return self.purchase_line.purchase.id
|
||||
|
||||
@classmethod
|
||||
def search_purchase(cls, name, clause):
|
||||
return [('purchase_line.' + clause[0],) + tuple(clause[1:])]
|
||||
|
||||
@property
|
||||
def currency(self):
|
||||
currency = self.company.currency
|
||||
if self.party and self.party.supplier_currency:
|
||||
currency = self.party.supplier_currency
|
||||
return currency
|
||||
|
||||
@classmethod
|
||||
def default_state(cls):
|
||||
return 'draft'
|
||||
|
||||
def get_state(self):
|
||||
if self.purchase_line:
|
||||
if (self.purchase_line.purchase.state == 'cancelled'
|
||||
and not self.exception_ignored):
|
||||
return 'exception'
|
||||
elif self.purchase_line.purchase.state == 'cancelled':
|
||||
return 'cancelled'
|
||||
elif self.purchase_line.purchase.state == 'done':
|
||||
return 'done'
|
||||
else:
|
||||
return 'purchased'
|
||||
return 'draft'
|
||||
|
||||
@classmethod
|
||||
def update_state(cls, requests):
|
||||
for request in requests:
|
||||
state = request.get_state()
|
||||
if state != request.state:
|
||||
request.state = state
|
||||
cls.save(requests)
|
||||
|
||||
@classmethod
|
||||
@set_employee('purchased_by')
|
||||
def set_purchased(cls, requests):
|
||||
cls.update_state(requests)
|
||||
|
||||
@classmethod
|
||||
@reset_employee('purchased_by')
|
||||
def reset_purchased(cls, requests):
|
||||
cls.update_state(requests)
|
||||
|
||||
def get_warehouse_required(self, name):
|
||||
return self.product and self.product.type in ('goods', 'assets')
|
||||
|
||||
@fields.depends('uom')
|
||||
def on_change_with_uom_digits(self, name=None):
|
||||
if self.uom:
|
||||
return self.uom.digits
|
||||
return 2
|
||||
|
||||
@fields.depends('product')
|
||||
def on_change_with_product_uom_category(self, name=None):
|
||||
if self.product:
|
||||
return self.product.default_uom_category.id
|
||||
|
||||
@fields.depends('product')
|
||||
def on_change_with_default_uom(self, name=None):
|
||||
if self.product:
|
||||
return self.product.default_uom.id
|
||||
|
||||
@fields.depends('product')
|
||||
def on_change_with_default_uom_digits(self, name=None):
|
||||
if self.product:
|
||||
return self.product.default_uom.digits
|
||||
return 2
|
||||
|
||||
@fields.depends('description')
|
||||
def on_change_with_summary(self, name=None):
|
||||
return firstline(self.description or '')
|
||||
|
||||
@classmethod
|
||||
def _get_origin(cls):
|
||||
'Return the set of Model names for origin Reference'
|
||||
return set()
|
||||
|
||||
@classmethod
|
||||
def get_origin(cls):
|
||||
pool = Pool()
|
||||
IrModel = pool.get('ir.model')
|
||||
get_name = IrModel.get_name
|
||||
models = cls._get_origin()
|
||||
return [(None, '')] + [(m, get_name(m)) for m in models]
|
||||
|
||||
@classmethod
|
||||
def view_attributes(cls):
|
||||
return super().view_attributes() + [
|
||||
('/tree', 'visual', If(Eval('state') == 'cancelled', 'muted', '')),
|
||||
]
|
||||
|
||||
@classmethod
|
||||
def create(cls, vlist):
|
||||
transaction = Transaction()
|
||||
if transaction.user != 0 and transaction.context.get('_check_access'):
|
||||
raise AccessError(
|
||||
gettext('purchase_request.msg_request_no_create'))
|
||||
return super(PurchaseRequest, cls).create(vlist)
|
||||
|
||||
@classmethod
|
||||
def delete(cls, requests):
|
||||
for request in requests:
|
||||
if request.purchase_line:
|
||||
raise AccessError(
|
||||
gettext('purchase_request.msg_request_delete_purchased',
|
||||
request=request.rec_name))
|
||||
super(PurchaseRequest, cls).delete(requests)
|
||||
|
||||
@classmethod
|
||||
def copy(cls, requests, default=None):
|
||||
if default is None:
|
||||
default = {}
|
||||
else:
|
||||
default = default.copy()
|
||||
default.setdefault('purchased_by')
|
||||
return super().copy(requests, default=default)
|
||||
|
||||
@classmethod
|
||||
def find_best_product_supplier(cls, product, date, **pattern):
|
||||
"Return the best product supplier to request product at date"
|
||||
pool = Pool()
|
||||
Date = pool.get('ir.date')
|
||||
with Transaction().set_context(context=product._context):
|
||||
today = Date.today()
|
||||
for product_supplier in product.product_suppliers_used(**pattern):
|
||||
if date is None:
|
||||
return product_supplier
|
||||
supply_date = product_supplier.compute_supply_date(date=today)
|
||||
timedelta = date - supply_date
|
||||
if timedelta >= datetime.timedelta(0):
|
||||
return product_supplier
|
||||
|
||||
@classmethod
|
||||
def find_best_supplier(cls, product, date, **pattern):
|
||||
'''
|
||||
Return the best supplier and purchase_date for the product.
|
||||
'''
|
||||
pool = Pool()
|
||||
Date = pool.get('ir.date')
|
||||
|
||||
product_supplier = cls.find_best_product_supplier(
|
||||
product, date, **pattern)
|
||||
if product_supplier:
|
||||
supplier = product_supplier.party
|
||||
purchase_date = product_supplier.compute_purchase_date(date)
|
||||
else:
|
||||
supplier = None
|
||||
with Transaction().set_context(context=product._context):
|
||||
purchase_date = Date.today()
|
||||
return supplier, purchase_date
|
||||
|
||||
@classmethod
|
||||
@ModelView.button_action(
|
||||
'purchase_request.wizard_purchase_cancellation_handle_exception')
|
||||
def handle_purchase_cancellation_exception(cls, purchases):
|
||||
pass
|
||||
|
||||
|
||||
class CreatePurchaseAskParty(ModelView):
|
||||
'Create Purchase Ask Party'
|
||||
__name__ = 'purchase.request.create_purchase.ask_party'
|
||||
product = fields.Many2One('product.product', 'Product', readonly=True)
|
||||
description = fields.Text('Description', readonly=True)
|
||||
company = fields.Many2One('company.company', 'Company', readonly=True)
|
||||
party = fields.Many2One('party.party', 'Supplier', required=True)
|
||||
|
||||
|
||||
class CreatePurchase(Wizard):
|
||||
'Create Purchase'
|
||||
__name__ = 'purchase.request.create_purchase'
|
||||
start = StateTransition()
|
||||
ask_party = StateView('purchase.request.create_purchase.ask_party',
|
||||
'purchase_request.purchase_request_create_purchase_ask_party', [
|
||||
Button('Cancel', 'end', 'tryton-cancel'),
|
||||
Button('Continue', 'start', 'tryton-forward', default=True),
|
||||
])
|
||||
|
||||
def default_ask_party(self, fields):
|
||||
for request in self.records:
|
||||
if request.purchase_line:
|
||||
continue
|
||||
if not request.party:
|
||||
break
|
||||
return {
|
||||
'product': request.product.id if request.product else None,
|
||||
'description': request.description,
|
||||
'company': request.company.id,
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def _group_purchase_key(cls, requests, request):
|
||||
'''
|
||||
The key to group lines by purchases
|
||||
A list of key-value as tuples of the purchase
|
||||
'''
|
||||
return (
|
||||
('company', request.company),
|
||||
('party', request.party),
|
||||
('payment_term', request.party.supplier_payment_term),
|
||||
('warehouse', request.warehouse),
|
||||
('currency', request.currency),
|
||||
('invoice_address', request.party.address_get(type='invoice')),
|
||||
)
|
||||
|
||||
def _group_purchase_line_key(self, request):
|
||||
'''
|
||||
The key to group requests by lines
|
||||
A list of key-value as tuples of the purchase line
|
||||
'''
|
||||
return (
|
||||
('product', request.product),
|
||||
('description', request.description),
|
||||
('unit', request.uom),
|
||||
)
|
||||
|
||||
def transition_start(self):
|
||||
pool = Pool()
|
||||
Request = pool.get('purchase.request')
|
||||
Purchase = pool.get('purchase.purchase')
|
||||
Line = pool.get('purchase.line')
|
||||
Date = pool.get('ir.date')
|
||||
|
||||
requests = self.records
|
||||
|
||||
if (getattr(self.ask_party, 'party', None)
|
||||
and getattr(self.ask_party, 'company', None)):
|
||||
def compare_string(first, second):
|
||||
return (first or '') == (second or '')
|
||||
|
||||
def to_write(request):
|
||||
return (not request.purchase_line
|
||||
and not request.party
|
||||
and request.product == self.ask_party.product
|
||||
and compare_string(
|
||||
request.description, self.ask_party.description))
|
||||
reqs = list(filter(to_write, requests))
|
||||
if reqs:
|
||||
Request.write(reqs, {
|
||||
'party': self.ask_party.party.id,
|
||||
})
|
||||
self.ask_party.product = None
|
||||
self.ask_party.description = None
|
||||
self.ask_party.party = None
|
||||
self.ask_party.company = None
|
||||
|
||||
def to_ask_party(request):
|
||||
return not request.purchase_line and not request.party
|
||||
reqs = filter(to_ask_party, requests)
|
||||
if any(reqs):
|
||||
return 'ask_party'
|
||||
|
||||
requests = [r for r in requests if not r.purchase_line]
|
||||
|
||||
keyfunc = partial(self._group_purchase_key, requests)
|
||||
requests = sorted(requests, key=sortable_values(keyfunc))
|
||||
|
||||
purchases = []
|
||||
lines = []
|
||||
for key, grouped_requests in groupby(requests, key=keyfunc):
|
||||
grouped_requests = list(grouped_requests)
|
||||
key = dict(key)
|
||||
with Transaction().set_context(company=key['company']):
|
||||
today = Date.today()
|
||||
try:
|
||||
purchase_date = min(r.purchase_date
|
||||
for r in grouped_requests
|
||||
if r.purchase_date)
|
||||
except ValueError:
|
||||
purchase_date = today
|
||||
if purchase_date < today:
|
||||
purchase_date = today
|
||||
purchase = Purchase(purchase_date=purchase_date)
|
||||
for f, v in key.items():
|
||||
setattr(purchase, f, v)
|
||||
purchases.append(purchase)
|
||||
for line_key, line_requests in groupby(
|
||||
grouped_requests, key=self._group_purchase_line_key):
|
||||
line_requests = list(line_requests)
|
||||
line = self.compute_purchase_line(
|
||||
line_key, line_requests, purchase)
|
||||
line.purchase = purchase
|
||||
line.requests = line_requests
|
||||
lines.append(line)
|
||||
Purchase.save(purchases)
|
||||
Line.save(lines)
|
||||
Request.set_purchased(requests)
|
||||
return 'end'
|
||||
|
||||
@classmethod
|
||||
def compute_purchase_line(cls, key, requests, purchase):
|
||||
pool = Pool()
|
||||
Line = pool.get('purchase.line')
|
||||
|
||||
line = Line()
|
||||
line.unit_price = round_price(Decimal(0))
|
||||
for f, v in key:
|
||||
setattr(line, f, v)
|
||||
line.purchase = purchase
|
||||
line.on_change_product()
|
||||
line.quantity = cls.compute_quantity(requests, line, purchase)
|
||||
if line.unit:
|
||||
line.quantity = line.unit.ceil(line.quantity)
|
||||
# Set again in case on_change's changed them
|
||||
for f, v in key:
|
||||
setattr(line, f, v)
|
||||
line.on_change_quantity()
|
||||
return line
|
||||
|
||||
@classmethod
|
||||
def compute_quantity(cls, requests, line, purchase):
|
||||
pool = Pool()
|
||||
Uom = pool.get('product.uom')
|
||||
unit = line.unit
|
||||
compute_qty = Uom.compute_qty
|
||||
return sum(
|
||||
compute_qty(r.uom, r.quantity, unit, round=False)
|
||||
for r in requests)
|
||||
|
||||
|
||||
class HandlePurchaseCancellationException(Wizard):
|
||||
'Handle Purchase Cancellation Exception'
|
||||
__name__ = 'purchase.request.handle.purchase.cancellation'
|
||||
|
||||
start = StateView('purchase.request.handle.purchase.cancellation.start',
|
||||
'purchase_request.handle_purchase_cancellation_start', [
|
||||
Button('Cancel', 'end', 'tryton-cancel'),
|
||||
Button('Reset to draft', 'reset', 'tryton-clear'),
|
||||
Button('Cancel Request', 'cancel_request', 'tryton-delete',
|
||||
default=True),
|
||||
])
|
||||
reset = StateTransition()
|
||||
cancel_request = StateTransition()
|
||||
|
||||
def transition_reset(self):
|
||||
for request in self.records:
|
||||
request.purchase_line = None
|
||||
self.model.reset_purchased(self.records)
|
||||
return 'end'
|
||||
|
||||
def transition_cancel_request(self):
|
||||
for request in self.records:
|
||||
request.exception_ignored = True
|
||||
self.model.update_state(self.records)
|
||||
return 'end'
|
||||
|
||||
|
||||
class HandlePurchaseCancellationExceptionStart(ModelView):
|
||||
'Handle Purchase Cancellation Exception - Start'
|
||||
__name__ = 'purchase.request.handle.purchase.cancellation.start'
|
||||
@@ -0,0 +1,223 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data>
|
||||
|
||||
<record model="res.group" id="group_purchase_request">
|
||||
<field name="name">Purchase Request</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="purchase_request_view_form">
|
||||
<field name="model">purchase.request</field>
|
||||
<field name="type">form</field>
|
||||
<field name="name">purchase_request_form</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="purchase_request_view_tree">
|
||||
<field name="model">purchase.request</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="name">purchase_request_tree</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.action.act_window" id="act_purchase_request_form">
|
||||
<field name="name">Purchase Requests</field>
|
||||
<field name="res_model">purchase.request</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view"
|
||||
id="act_purchase_request_form_view1">
|
||||
<field name="sequence" eval="10"/>
|
||||
<field name="view" ref="purchase_request_view_tree"/>
|
||||
<field name="act_window" ref="act_purchase_request_form"/>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view"
|
||||
id="act_purchase_request_form_view2">
|
||||
<field name="sequence" eval="20"/>
|
||||
<field name="view" ref="purchase_request_view_form"/>
|
||||
<field name="act_window" ref="act_purchase_request_form"/>
|
||||
</record>
|
||||
<record model="ir.action.act_window.domain"
|
||||
id="act_purchase_request_form_domain_draft">
|
||||
<field name="name">Draft</field>
|
||||
<field name="sequence" eval="10"/>
|
||||
<field name="domain" eval="[('purchase_line', '=', None)]"
|
||||
pyson="1"/>
|
||||
<field name="count" eval="True"/>
|
||||
<field name="act_window" ref="act_purchase_request_form"/>
|
||||
</record>
|
||||
<record model="ir.action.act_window.domain"
|
||||
id="act_purchase_request_form_domain_exception">
|
||||
<field name="name">Exception</field>
|
||||
<field name="sequence" eval="20"/>
|
||||
<field name="domain" eval="[('state', '=', 'exception')]"
|
||||
pyson="1"/>
|
||||
<field name="count" eval="True"/>
|
||||
<field name="act_window" ref="act_purchase_request_form"/>
|
||||
</record>
|
||||
<record model="ir.action.act_window.domain"
|
||||
id="act_purchase_request_form_domain_all">
|
||||
<field name="name">All</field>
|
||||
<field name="sequence" eval="9999"/>
|
||||
<field name="domain"></field>
|
||||
<field name="act_window" ref="act_purchase_request_form"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.menu-res.group"
|
||||
id="menu_purchase_group_purchase_request">
|
||||
<field name="menu" ref="purchase.menu_purchase"/>
|
||||
<field name="group" ref="group_purchase_request"/>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
parent="purchase.menu_purchase"
|
||||
action="act_purchase_request_form"
|
||||
sequence="50"
|
||||
id="menu_purchase_request_form"/>
|
||||
<record model="ir.ui.menu-res.group"
|
||||
id="menu_purchase_request_group_purchase_request">
|
||||
<field name="menu" ref="menu_purchase_request_form"/>
|
||||
<field name="group" ref="group_purchase_request"/>
|
||||
</record>
|
||||
<record model="ir.ui.menu-res.group"
|
||||
id="menu_purchase_request_group_purchase">
|
||||
<field name="menu" ref="menu_purchase_request_form"/>
|
||||
<field name="group" ref="purchase.group_purchase"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view"
|
||||
id="purchase_request_create_purchase_ask_party">
|
||||
<field name="model">purchase.request.create_purchase.ask_party</field>
|
||||
<field name="type">form</field>
|
||||
<field name="name">purchase_request_create_purchase_ask_party_form</field>
|
||||
</record>
|
||||
<record model="ir.action.wizard" id="wizard_create_purchase">
|
||||
<field name="name">Create Purchase</field>
|
||||
<field name="wiz_name">purchase.request.create_purchase</field>
|
||||
<field name="model">purchase.request</field>
|
||||
</record>
|
||||
<record model="ir.action-res.group"
|
||||
id="wizard_create_purchase_group_purchase_request">
|
||||
<field name="action" ref="wizard_create_purchase"/>
|
||||
<field name="group" ref="group_purchase_request"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.action.keyword" id="create_purchase_keyword">
|
||||
<field name="keyword">form_action</field>
|
||||
<field name="model">purchase.request,-1</field>
|
||||
<field name="action" ref="wizard_create_purchase"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="handle_purchase_cancellation_start">
|
||||
<field name="model">purchase.request.handle.purchase.cancellation.start</field>
|
||||
<field name="type">form</field>
|
||||
<field name="name">handle_purchase_cancellation_start_form</field>
|
||||
</record>
|
||||
<record model="ir.action.wizard"
|
||||
id="wizard_purchase_cancellation_handle_exception">
|
||||
<field name="name">Handle Purchase Cancellation</field>
|
||||
<field name="wiz_name">purchase.request.handle.purchase.cancellation</field>
|
||||
<field name="model">purchase.request</field>
|
||||
</record>
|
||||
<record model="ir.action-res.group"
|
||||
id="wizard_purchase_cancellation_handle_exception_group_purchase_request">
|
||||
<field name="action"
|
||||
ref="wizard_purchase_cancellation_handle_exception"/>
|
||||
<field name="group" ref="group_purchase_request"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.model.button"
|
||||
id="purchase_hande_purchase_cancellation_exception_button">
|
||||
<field name="name">handle_purchase_cancellation_exception</field>
|
||||
<field name="string">Handle Purchase Cancellation</field>
|
||||
<field name="model" search="[('model', '=', 'purchase.request')]"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.action.keyword"
|
||||
id="wizard_purchase_cancellation_handle_exception_keyword">
|
||||
<field name="action"
|
||||
ref="wizard_purchase_cancellation_handle_exception"/>
|
||||
<field name="keyword">form_action</field>
|
||||
<field name="model">purchase.request,-1</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.rule.group" id="rule_group_purchase_request_companies">
|
||||
<field name="name">User in companies</field>
|
||||
<field name="model" search="[('model', '=', 'purchase.request')]"/>
|
||||
<field name="global_p" eval="True"/>
|
||||
</record>
|
||||
<record model="ir.rule" id="rule_purchase_request_companies">
|
||||
<field name="domain"
|
||||
eval="[('company', 'in', Eval('companies', []))]"
|
||||
pyson="1"/>
|
||||
<field name="rule_group" ref="rule_group_purchase_request_companies"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.model.access" id="access_purchase_request">
|
||||
<field name="model" search="[('model', '=', 'purchase.request')]"/>
|
||||
<field name="perm_read" eval="False"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
</record>
|
||||
<record model="ir.model.access" id="access_purchase_request_sale">
|
||||
<field name="model" search="[('model', '=', 'purchase.request')]"/>
|
||||
<field name="group" ref="purchase.group_purchase"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
</record>
|
||||
<record model="ir.model.access" id="access_purchase_request_admin">
|
||||
<field name="model" search="[('model', '=', 'purchase.request')]"/>
|
||||
<field name="group" ref="group_purchase_request"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_write" eval="True"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="True"/>
|
||||
</record>
|
||||
|
||||
<record model="res.user-res.group"
|
||||
id="user_admin_group_purchase_request">
|
||||
<field name="user" ref="res.user_admin"/>
|
||||
<field name="group" ref="group_purchase_request"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.model.access" id="access_purchase_purchase_request">
|
||||
<field name="model" search="[('model', '=',
|
||||
'purchase.purchase')]"/>
|
||||
<field name="group" ref="group_purchase_request"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
</record>
|
||||
<record model="ir.model.access"
|
||||
id="access_purchase_line_purchase_request">
|
||||
<field name="model" search="[('model', '=', 'purchase.line')]"/>
|
||||
<field name="group" ref="group_purchase_request"/>
|
||||
<field name="perm_read" eval="True"/>
|
||||
<field name="perm_write" eval="False"/>
|
||||
<field name="perm_create" eval="False"/>
|
||||
<field name="perm_delete" eval="False"/>
|
||||
</record>
|
||||
<record model="ir.action.act_window" id="act_open_purchase_form">
|
||||
<field name="name">Purchases</field>
|
||||
<field name="res_model">purchase.purchase</field>
|
||||
<field name="domain"
|
||||
eval="[('lines.requests', 'in', Eval('active_ids'))]"
|
||||
pyson="1"/>
|
||||
</record>
|
||||
<record model="ir.action.keyword" id="act_open_purchase_keyword">
|
||||
<field name="keyword">form_relate</field>
|
||||
<field name="model">purchase.request,-1</field>
|
||||
<field name="action" ref="act_open_purchase_form"/>
|
||||
</record>
|
||||
<record model="ir.action-res.group"
|
||||
id="act_open_purchase_form_group_purchase">
|
||||
<field name="action" ref="act_open_purchase_form"/>
|
||||
<field name="group" ref="purchase.group_purchase"/>
|
||||
</record>
|
||||
|
||||
|
||||
</data>
|
||||
</tryton>
|
||||
|
||||
Executable
+151
@@ -0,0 +1,151 @@
|
||||
#!/usr/bin/env python3
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
import io
|
||||
import os
|
||||
import re
|
||||
from configparser import ConfigParser
|
||||
|
||||
from setuptools import find_packages, setup
|
||||
|
||||
|
||||
def read(fname):
|
||||
return io.open(
|
||||
os.path.join(os.path.dirname(__file__), fname),
|
||||
'r', encoding='utf-8').read()
|
||||
|
||||
|
||||
def get_require_version(name):
|
||||
if minor_version % 2:
|
||||
require = '%s >= %s.%s.dev0, < %s.%s'
|
||||
else:
|
||||
require = '%s >= %s.%s, < %s.%s'
|
||||
require %= (name, major_version, minor_version,
|
||||
major_version, minor_version + 1)
|
||||
return require
|
||||
|
||||
|
||||
config = ConfigParser()
|
||||
config.read_file(open(os.path.join(os.path.dirname(__file__), 'tryton.cfg')))
|
||||
info = dict(config.items('tryton'))
|
||||
for key in ('depends', 'extras_depend', 'xml'):
|
||||
if key in info:
|
||||
info[key] = info[key].strip().splitlines()
|
||||
version = info.get('version', '0.0.1')
|
||||
major_version, minor_version, _ = version.split('.', 2)
|
||||
major_version = int(major_version)
|
||||
minor_version = int(minor_version)
|
||||
name = 'trytond_purchase_request'
|
||||
|
||||
download_url = 'http://downloads.tryton.org/%s.%s/' % (
|
||||
major_version, minor_version)
|
||||
if minor_version % 2:
|
||||
version = '%s.%s.dev0' % (major_version, minor_version)
|
||||
download_url = (
|
||||
'hg+http://hg.tryton.org/modules/%s#egg=%s-%s' % (
|
||||
name[8:], name, version))
|
||||
local_version = []
|
||||
if os.environ.get('CI_JOB_ID'):
|
||||
local_version.append(os.environ['CI_JOB_ID'])
|
||||
else:
|
||||
for build in ['CI_BUILD_NUMBER', 'CI_JOB_NUMBER']:
|
||||
if os.environ.get(build):
|
||||
local_version.append(os.environ[build])
|
||||
else:
|
||||
local_version = []
|
||||
break
|
||||
if local_version:
|
||||
version += '+' + '.'.join(local_version)
|
||||
|
||||
requires = []
|
||||
for dep in info.get('depends', []):
|
||||
if not re.match(r'(ir|res)(\W|$)', dep):
|
||||
requires.append(get_require_version('trytond_%s' % dep))
|
||||
requires.append(get_require_version('trytond'))
|
||||
|
||||
tests_require = [get_require_version('trytond_stock_supply'),
|
||||
get_require_version('proteus')]
|
||||
dependency_links = []
|
||||
if minor_version % 2:
|
||||
dependency_links.append(
|
||||
'https://trydevpi.tryton.org/?local_version='
|
||||
+ '.'.join(local_version))
|
||||
|
||||
setup(name=name,
|
||||
version=version,
|
||||
description='Tryton module for purchase requests',
|
||||
long_description=read('README.rst'),
|
||||
author='Tryton',
|
||||
author_email='bugs@tryton.org',
|
||||
url='http://www.tryton.org/',
|
||||
download_url=download_url,
|
||||
project_urls={
|
||||
"Bug Tracker": 'https://bugs.tryton.org/',
|
||||
"Documentation": 'https://docs.tryton.org/',
|
||||
"Forum": 'https://www.tryton.org/forum',
|
||||
"Source Code": 'https://hg.tryton.org/modules/purchase_request',
|
||||
},
|
||||
keywords='tryton purchase request',
|
||||
package_dir={'trytond.modules.purchase_request': '.'},
|
||||
packages=(
|
||||
['trytond.modules.purchase_request']
|
||||
+ ['trytond.modules.purchase_request.%s' % p for p in find_packages()]
|
||||
),
|
||||
package_data={
|
||||
'trytond.modules.purchase_request': (info.get('xml', [])
|
||||
+ ['tryton.cfg', 'view/*.xml', 'locale/*.po', '*.fodt',
|
||||
'icons/*.svg', 'tests/*.rst']),
|
||||
},
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Environment :: Plugins',
|
||||
'Framework :: Tryton',
|
||||
'Intended Audience :: Developers',
|
||||
'Intended Audience :: Financial and Insurance Industry',
|
||||
'Intended Audience :: Legal Industry',
|
||||
'License :: OSI Approved :: '
|
||||
'GNU General Public License v3 or later (GPLv3+)',
|
||||
'Natural Language :: Bulgarian',
|
||||
'Natural Language :: Catalan',
|
||||
'Natural Language :: Chinese (Simplified)',
|
||||
'Natural Language :: Czech',
|
||||
'Natural Language :: Dutch',
|
||||
'Natural Language :: English',
|
||||
'Natural Language :: Finnish',
|
||||
'Natural Language :: French',
|
||||
'Natural Language :: German',
|
||||
'Natural Language :: Hungarian',
|
||||
'Natural Language :: Indonesian',
|
||||
'Natural Language :: Italian',
|
||||
'Natural Language :: Persian',
|
||||
'Natural Language :: Polish',
|
||||
'Natural Language :: Portuguese (Brazilian)',
|
||||
'Natural Language :: Romanian',
|
||||
'Natural Language :: Russian',
|
||||
'Natural Language :: Slovenian',
|
||||
'Natural Language :: Spanish',
|
||||
'Natural Language :: Turkish',
|
||||
'Natural Language :: Ukrainian',
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
'Programming Language :: Python :: 3.9',
|
||||
'Programming Language :: Python :: 3.10',
|
||||
'Programming Language :: Python :: Implementation :: CPython',
|
||||
'Topic :: Office/Business',
|
||||
],
|
||||
license='GPL-3',
|
||||
python_requires='>=3.7',
|
||||
install_requires=requires,
|
||||
extras_require={
|
||||
'test': tests_require,
|
||||
},
|
||||
dependency_links=dependency_links,
|
||||
zip_safe=False,
|
||||
entry_points="""
|
||||
[trytond.modules]
|
||||
purchase_request = trytond.modules.purchase_request
|
||||
""",
|
||||
)
|
||||
@@ -0,0 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
@@ -0,0 +1,290 @@
|
||||
=========================
|
||||
Purchase Request Scenario
|
||||
=========================
|
||||
|
||||
Imports::
|
||||
|
||||
>>> import datetime
|
||||
>>> from dateutil.relativedelta import relativedelta
|
||||
>>> from decimal import Decimal
|
||||
>>> from proteus import Model, Wizard
|
||||
>>> from trytond.tests.tools import activate_modules, set_user
|
||||
>>> from trytond.modules.company.tests.tools import create_company, \
|
||||
... get_company
|
||||
>>> from trytond.modules.account.tests.tools import (create_chart,
|
||||
... get_accounts)
|
||||
>>> today = datetime.date.today()
|
||||
|
||||
Activate modules::
|
||||
|
||||
>>> config = activate_modules(['purchase_request', 'stock_supply'])
|
||||
|
||||
Create company::
|
||||
|
||||
>>> _ = create_company()
|
||||
>>> company = get_company()
|
||||
|
||||
Create chart of accounts::
|
||||
|
||||
>>> _ = create_chart(company)
|
||||
>>> accounts = get_accounts(company)
|
||||
>>> expense = accounts['expense']
|
||||
|
||||
Create parties::
|
||||
|
||||
>>> Party = Model.get('party.party')
|
||||
>>> customer = Party(name='Customer')
|
||||
>>> customer.save()
|
||||
>>> supplier = Party(name='Supplier')
|
||||
>>> supplier.save()
|
||||
|
||||
Create stock admin user::
|
||||
|
||||
>>> User = Model.get('res.user')
|
||||
>>> Group = Model.get('res.group')
|
||||
>>> stock_admin_user = User()
|
||||
>>> stock_admin_user.name = 'Stock Admin'
|
||||
>>> stock_admin_user.login = 'stock_admin'
|
||||
>>> stock_admin_group, = Group.find([('name', '=', 'Stock Administration')])
|
||||
>>> stock_admin_user.groups.append(stock_admin_group)
|
||||
>>> stock_admin_user.save()
|
||||
|
||||
Create stock user::
|
||||
|
||||
>>> stock_user = User()
|
||||
>>> stock_user.name = 'Stock'
|
||||
>>> stock_user.login = 'stock'
|
||||
>>> stock_group, = Group.find([('name', '=', 'Stock')])
|
||||
>>> stock_group_admin, = Group.find([('name', '=', 'Stock Administration')])
|
||||
>>> stock_user.groups.extend([stock_group, stock_group_admin])
|
||||
>>> stock_user.save()
|
||||
|
||||
Create product user::
|
||||
|
||||
>>> product_admin_user = User()
|
||||
>>> product_admin_user.name = 'Product'
|
||||
>>> product_admin_user.login = 'product'
|
||||
>>> product_admin_group, = Group.find([
|
||||
... ('name', '=', "Account Product Administration")
|
||||
... ])
|
||||
>>> product_admin_user.groups.append(product_admin_group)
|
||||
>>> product_admin_user.save()
|
||||
|
||||
Create purchase user::
|
||||
|
||||
>>> purchase_user = User()
|
||||
>>> purchase_user.name = 'Purchase'
|
||||
>>> purchase_user.login = 'purchase'
|
||||
>>> purchase_groups = Group.find(['OR',
|
||||
... ('name', '=', "Purchase"),
|
||||
... ('name', '=', "Purchase Request"),
|
||||
... ])
|
||||
>>> purchase_user.groups.extend(purchase_groups)
|
||||
>>> purchase_user.save()
|
||||
|
||||
Create account category::
|
||||
|
||||
>>> ProductCategory = Model.get('product.category')
|
||||
>>> account_category = ProductCategory(name="Account Category")
|
||||
>>> account_category.accounting = True
|
||||
>>> account_category.account_expense = expense
|
||||
>>> account_category.save()
|
||||
|
||||
Create product::
|
||||
|
||||
>>> set_user(product_admin_user)
|
||||
>>> ProductUom = Model.get('product.uom')
|
||||
>>> ProductTemplate = Model.get('product.template')
|
||||
>>> unit, = ProductUom.find([('name', '=', 'Unit')])
|
||||
|
||||
>>> template = ProductTemplate()
|
||||
>>> template.name = 'Product'
|
||||
>>> template.default_uom = unit
|
||||
>>> template.type = 'goods'
|
||||
>>> template.list_price = Decimal('20')
|
||||
>>> template.purchasable = True
|
||||
>>> template.account_category = account_category
|
||||
>>> product, = template.products
|
||||
>>> product.cost_price = Decimal('8')
|
||||
>>> template.save()
|
||||
>>> product, = template.products
|
||||
|
||||
Get stock locations::
|
||||
|
||||
>>> set_user(stock_admin_user)
|
||||
>>> Location = Model.get('stock.location')
|
||||
>>> warehouse_loc, = Location.find([('code', '=', 'WH')])
|
||||
>>> supplier_loc, = Location.find([('code', '=', 'SUP')])
|
||||
>>> customer_loc, = Location.find([('code', '=', 'CUS')])
|
||||
>>> output_loc, = Location.find([('code', '=', 'OUT')])
|
||||
>>> storage_loc, = Location.find([('code', '=', 'STO')])
|
||||
|
||||
Create a need for missing product::
|
||||
|
||||
>>> set_user(stock_user)
|
||||
>>> ShipmentOut = Model.get('stock.shipment.out')
|
||||
>>> shipment_out = ShipmentOut()
|
||||
>>> shipment_out.planned_date = today
|
||||
>>> shipment_out.effective_date = today
|
||||
>>> shipment_out.customer = customer
|
||||
>>> shipment_out.warehouse = warehouse_loc
|
||||
>>> shipment_out.company = company
|
||||
>>> move = shipment_out.outgoing_moves.new()
|
||||
>>> move.product = product
|
||||
>>> move.uom = unit
|
||||
>>> move.quantity = 1
|
||||
>>> move.from_location = output_loc
|
||||
>>> move.to_location = customer_loc
|
||||
>>> move.company = company
|
||||
>>> move.unit_price = Decimal('1')
|
||||
>>> move.currency = company.currency
|
||||
>>> shipment_out.click('wait')
|
||||
|
||||
There is no purchase request::
|
||||
|
||||
>>> set_user(purchase_user)
|
||||
>>> PurchaseRequest = Model.get('purchase.request')
|
||||
>>> PurchaseRequest.find([])
|
||||
[]
|
||||
|
||||
Create the purchase request::
|
||||
|
||||
>>> set_user(stock_user)
|
||||
>>> create_pr = Wizard('stock.supply')
|
||||
>>> create_pr.execute('create_')
|
||||
|
||||
There is now a draft purchase request::
|
||||
|
||||
>>> set_user(purchase_user)
|
||||
>>> pr, = PurchaseRequest.find([('state', '=', 'draft')])
|
||||
>>> pr.product == product
|
||||
True
|
||||
>>> pr.quantity
|
||||
1.0
|
||||
|
||||
Create the purchase then cancel it::
|
||||
|
||||
>>> create_purchase = Wizard('purchase.request.create_purchase',
|
||||
... [pr])
|
||||
>>> create_purchase.form.party = supplier
|
||||
>>> create_purchase.execute('start')
|
||||
>>> pr.state
|
||||
'purchased'
|
||||
|
||||
>>> Purchase = Model.get('purchase.purchase')
|
||||
>>> purchase, = Purchase.find()
|
||||
>>> purchase.click('cancel')
|
||||
>>> pr.reload()
|
||||
>>> pr.state
|
||||
'exception'
|
||||
|
||||
Handle the exception::
|
||||
|
||||
>>> handle_exception = Wizard(
|
||||
... 'purchase.request.handle.purchase.cancellation', [pr])
|
||||
>>> handle_exception.execute('reset')
|
||||
>>> pr.state
|
||||
'draft'
|
||||
|
||||
Recreate a purchase and cancel it again::
|
||||
|
||||
>>> create_purchase = Wizard('purchase.request.create_purchase',
|
||||
... [pr])
|
||||
>>> pr.state
|
||||
'purchased'
|
||||
|
||||
>>> purchase, = Purchase.find([('state', '=', 'draft')])
|
||||
>>> purchase.click('cancel')
|
||||
>>> pr.reload()
|
||||
>>> pr.state
|
||||
'exception'
|
||||
|
||||
Handle again the exception::
|
||||
|
||||
>>> handle_exception = Wizard(
|
||||
... 'purchase.request.handle.purchase.cancellation', [pr])
|
||||
>>> handle_exception.execute('cancel_request')
|
||||
>>> pr.state
|
||||
'cancelled'
|
||||
|
||||
Re-create the purchase request::
|
||||
|
||||
>>> set_user(stock_user)
|
||||
>>> create_pr = Wizard('stock.supply')
|
||||
>>> create_pr.execute('create_')
|
||||
|
||||
Create a second purchase request manually::
|
||||
|
||||
>>> set_user(0) # root
|
||||
>>> pr_id, = PurchaseRequest.create([{
|
||||
... 'product': product.id,
|
||||
... 'quantity': 1,
|
||||
... 'uom': unit,
|
||||
... 'warehouse': warehouse_loc.id,
|
||||
... 'origin': 'stock.order_point,-1',
|
||||
... 'company': company.id,
|
||||
... }], config.context)
|
||||
>>> pr = PurchaseRequest(pr_id)
|
||||
|
||||
There is now 2 draft purchase requests::
|
||||
|
||||
>>> set_user(purchase_user)
|
||||
>>> prs = PurchaseRequest.find([('state', '=', 'draft')])
|
||||
>>> len(prs)
|
||||
2
|
||||
|
||||
Create the purchase with a unique line::
|
||||
|
||||
>>> create_purchase = Wizard('purchase.request.create_purchase', prs)
|
||||
>>> create_purchase.form.party = supplier
|
||||
>>> create_purchase.execute('start')
|
||||
>>> pr.state
|
||||
'purchased'
|
||||
|
||||
>>> Purchase = Model.get('purchase.purchase')
|
||||
>>> purchase, = Purchase.find([('state', '=', 'draft')])
|
||||
>>> len(purchase.lines)
|
||||
1
|
||||
>>> line, = purchase.lines
|
||||
>>> line.product == product
|
||||
True
|
||||
>>> line.quantity
|
||||
2.0
|
||||
>>> line.unit == unit
|
||||
True
|
||||
|
||||
Create a purchase request without product::
|
||||
|
||||
>>> set_user(0) # root
|
||||
>>> pr_id, = PurchaseRequest.create([{
|
||||
... 'description': "Custom product",
|
||||
... 'quantity': 1,
|
||||
... 'origin': 'stock.order_point,-1',
|
||||
... 'company': company.id,
|
||||
... }], config.context)
|
||||
>>> pr = PurchaseRequest(pr_id)
|
||||
>>> pr.save()
|
||||
|
||||
Create the purchase without product::
|
||||
|
||||
>>> create_purchase = Wizard('purchase.request.create_purchase', [pr])
|
||||
>>> create_purchase.form.party = supplier
|
||||
>>> create_purchase.execute('start')
|
||||
>>> pr.state
|
||||
'purchased'
|
||||
|
||||
>>> pr.purchase_line.product
|
||||
>>> pr.purchase_line.description
|
||||
'Custom product'
|
||||
>>> pr.purchase_line.quantity
|
||||
1.0
|
||||
>>> pr.purchase_line.unit
|
||||
>>> pr.purchase_line.unit_price
|
||||
Decimal('0.0000')
|
||||
|
||||
It's not possible to delete a purchase linked to a purchase_request::
|
||||
|
||||
>>> pr.purchase_line.purchase.delete() # doctest: +IGNORE_EXCEPTION_DETAIL
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
AccessError: ...
|
||||
@@ -0,0 +1,12 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.tests.test_tryton import ModuleTestCase
|
||||
|
||||
|
||||
class PurchaseRequestTestCase(ModuleTestCase):
|
||||
'Test Purchase Request module'
|
||||
module = 'purchase_request'
|
||||
|
||||
|
||||
del ModuleTestCase
|
||||
@@ -0,0 +1,8 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.tests.test_tryton import load_doc_tests
|
||||
|
||||
|
||||
def load_tests(*args, **kwargs):
|
||||
return load_doc_tests(__name__, __file__, *args, **kwargs)
|
||||
@@ -0,0 +1,17 @@
|
||||
[tox]
|
||||
envlist = {py37,py38,py39,py310}-{sqlite,postgresql}
|
||||
|
||||
[testenv]
|
||||
extras = test
|
||||
commands =
|
||||
coverage run --include=./**/purchase_request/* -m unittest discover -s tests
|
||||
coverage report --include=./**/purchase_request/* --omit=*/tests/*
|
||||
deps =
|
||||
coverage
|
||||
postgresql: psycopg2 >= 2.7.0
|
||||
setenv =
|
||||
sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
|
||||
postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}
|
||||
sqlite: DB_NAME={env:SQLITE_NAME::memory:}
|
||||
postgresql: DB_NAME={env:POSTGRESQL_NAME:test}
|
||||
install_command = pip install --pre --find-links https://trydevpi.tryton.org/?local_version={env:CI_JOB_ID:{env:CI_BUILD_NUMBER:}.{env:CI_JOB_NUMBER:}} {opts} {packages}
|
||||
@@ -0,0 +1,10 @@
|
||||
[tryton]
|
||||
version=6.7.0
|
||||
depends:
|
||||
ir
|
||||
purchase
|
||||
product
|
||||
xml:
|
||||
purchase_request.xml
|
||||
purchase.xml
|
||||
message.xml
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<image name="tryton-question" xexpand="0" xfill="0"/>
|
||||
<label string="Do you want to cancel the request or to reset it to draft?"
|
||||
id="question" yalign="0.0" xalign="0.0" xexpand="1"/>
|
||||
</form>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/form/notebook" position="inside">
|
||||
<page name="requests">
|
||||
<field name="requests"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form col="2" cursor="party">
|
||||
<label name="product"/>
|
||||
<field name="product"/>
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<label name="description"/>
|
||||
<field name="description" yexpand="0"/>
|
||||
<label name="party"/>
|
||||
<field name="party"/>
|
||||
</form>
|
||||
Loaded 100 of 5135 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user