first commit
This commit is contained in:
2
modules/purchase_invoice_line_standalone/__init__.py
Normal file
2
modules/purchase_invoice_line_standalone/__init__.py
Normal file
@@ -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.
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
54
modules/purchase_invoice_line_standalone/locale/bg.po
Normal file
54
modules/purchase_invoice_line_standalone/locale/bg.po
Normal file
@@ -0,0 +1,54 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr "Покупка - Ред от фактура"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr "Покупка - Ред от фактура"
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr "Игнорирани редове от фактура"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Редове от фактура"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr "Игнорирани редове от фактура"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr "Ред от фактура"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Покупки"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Редове от фактура"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr "Покупка - Ред от фактура"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr "Покупка - Игнорирани редове от фактура"
|
||||
48
modules/purchase_invoice_line_standalone/locale/ca.po
Normal file
48
modules/purchase_invoice_line_standalone/locale/ca.po
Normal file
@@ -0,0 +1,48 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr "Lines de factura de compra per separat"
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr "Linies de factura de compra per separat"
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr "Tercer"
|
||||
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr "Línies de factura per separat"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Línies de factura"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr "Línies de factura ignorades"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr "Línia de factura"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Compra"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Línies de factura"
|
||||
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr "Tercer línies de factura de compra per separat"
|
||||
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr "Compra - Línia de factura ignorada"
|
||||
48
modules/purchase_invoice_line_standalone/locale/cs.po
Normal file
48
modules/purchase_invoice_line_standalone/locale/cs.po
Normal file
@@ -0,0 +1,48 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr ""
|
||||
48
modules/purchase_invoice_line_standalone/locale/de.po
Normal file
48
modules/purchase_invoice_line_standalone/locale/de.po
Normal file
@@ -0,0 +1,48 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr "Einkauf Separate Rechnungsposition"
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr "Einkauf Separate Rechnungsposition"
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr "Partei"
|
||||
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr "Separate Rechnungspositionen"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Rechnungspositionen"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr "Ignorierte Rechnungspositionen"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr "Rechnungsposition"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Einkauf"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Rechnungspositionen"
|
||||
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr "Partei Einkauf Separate Rechnungsposition"
|
||||
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr "Einkauf - Ignoriert - Rechnungsposition"
|
||||
48
modules/purchase_invoice_line_standalone/locale/es.po
Normal file
48
modules/purchase_invoice_line_standalone/locale/es.po
Normal file
@@ -0,0 +1,48 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr "Linea de factura de compra por separado"
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr "Lineas de factura de compra por separado"
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr "Tercero"
|
||||
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr "Líneas de factura por separado"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Líneas de factura"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr "Líneas de factura ignoradas"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr "Línea de factura"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Compra"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Líneas de factura"
|
||||
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr "Tercero lineas de factura de compra por separado"
|
||||
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr "Compra - Línea de factura ignorada"
|
||||
48
modules/purchase_invoice_line_standalone/locale/es_419.po
Normal file
48
modules/purchase_invoice_line_standalone/locale/es_419.po
Normal file
@@ -0,0 +1,48 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr ""
|
||||
54
modules/purchase_invoice_line_standalone/locale/et.po
Normal file
54
modules/purchase_invoice_line_standalone/locale/et.po
Normal file
@@ -0,0 +1,54 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr "Ost - ignoreeritud arve read"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr "Ost - ignoreeritud arve read"
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr "Ignoreeritud arve read"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Arve read"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr "Ignoreeritud arve read"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr "Arve read"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Ost"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Arve read"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr "Ost - ignoreeritud arve read"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr "Ost - ignoreeritud arve read"
|
||||
54
modules/purchase_invoice_line_standalone/locale/fa.po
Normal file
54
modules/purchase_invoice_line_standalone/locale/fa.po
Normal file
@@ -0,0 +1,54 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr "خرید - خط صورتحساب نادیده گرفته شده"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr "خرید - خط صورتحساب نادیده گرفته شده"
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr "خطوط صورتحساب نادیده گرفته شده"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "خطوط صورتحساب"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr "خطوط صورتحساب نادیده گرفته شده"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr "خط صورتحساب"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "خرید"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "خطوط صورتحساب"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr "خرید - خط صورتحساب نادیده گرفته شده"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr "خرید - خط صورتحساب نادیده گرفته شده"
|
||||
48
modules/purchase_invoice_line_standalone/locale/fi.po
Normal file
48
modules/purchase_invoice_line_standalone/locale/fi.po
Normal file
@@ -0,0 +1,48 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr ""
|
||||
48
modules/purchase_invoice_line_standalone/locale/fr.po
Normal file
48
modules/purchase_invoice_line_standalone/locale/fr.po
Normal file
@@ -0,0 +1,48 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr "Ligne de facture d'achat autonome"
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr "Lignes de facture d'achat autonome"
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr "Tiers"
|
||||
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr "Ligne de facture autonome"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Lignes de facture"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr "Lignes de facture ignorées"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr "Ligne de facture"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Achat"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Lignes de facture"
|
||||
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr "Ligne de facture d'achat autonome de tiers"
|
||||
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr "Achat - Ignorée - Ligne de facture"
|
||||
49
modules/purchase_invoice_line_standalone/locale/hu.po
Normal file
49
modules/purchase_invoice_line_standalone/locale/hu.po
Normal file
@@ -0,0 +1,49 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Vásárlás"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr ""
|
||||
53
modules/purchase_invoice_line_standalone/locale/id.po
Normal file
53
modules/purchase_invoice_line_standalone/locale/id.po
Normal file
@@ -0,0 +1,53 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr "Baris Faktur Diabaikan"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr "Baris Faktur Diabaikan"
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr "Baris Faktur Diabaikan"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Baris Faktur"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr "Baris Faktur Diabaikan"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr "Baris Faktur"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Pembelian"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Baris Faktur"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr "Baris Faktur Diabaikan"
|
||||
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr ""
|
||||
53
modules/purchase_invoice_line_standalone/locale/it.po
Normal file
53
modules/purchase_invoice_line_standalone/locale/it.po
Normal file
@@ -0,0 +1,53 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr "Acquisto - riga fattura"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr "Acquisto - riga fattura"
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr "Righe fattura non considerate"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Righe fattura"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr "Righe fattura non considerate"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr "Riga fattura"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Acquisto"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Righe fattura"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr "Acquisto - riga fattura"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr "Acquisto - riga fattura non considerata"
|
||||
55
modules/purchase_invoice_line_standalone/locale/lo.po
Normal file
55
modules/purchase_invoice_line_standalone/locale/lo.po
Normal file
@@ -0,0 +1,55 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr "ລາຍການ"
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr "ລາຍການ"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "ລາຍການເກັບເງິນ"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr "ລາຍການ"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "ສັ່ງຊື້"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "ລາຍການເກັບເງິນ"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr "ລາຍການ"
|
||||
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr ""
|
||||
54
modules/purchase_invoice_line_standalone/locale/lt.po
Normal file
54
modules/purchase_invoice_line_standalone/locale/lt.po
Normal file
@@ -0,0 +1,54 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr "Pirkimai - Sąskaitos faktūros ignoruota eilutė"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr "Pirkimai - Sąskaitos faktūros ignoruota eilutė"
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr "Sąskaitos faktūros ignoruotos eilutės"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Sąskaitos faktūros eilutės"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr "Sąskaitos faktūros ignoruotos eilutės"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr "Sąskaitos faktūros eilutė"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Sąskaitos faktūros eilutės"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr "Pirkimai - Sąskaitos faktūros ignoruota eilutė"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr "Pirkimai - Sąskaitos faktūros ignoruota eilutė"
|
||||
48
modules/purchase_invoice_line_standalone/locale/nl.po
Normal file
48
modules/purchase_invoice_line_standalone/locale/nl.po
Normal file
@@ -0,0 +1,48 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr "Losstaande Inkoop Factuur Regel"
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr "Losstaande Inkoop Factuur Regels"
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr "Relatie"
|
||||
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr "Losstaande Factuur Regel"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Factuurregels"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr "Factuurregels genegeerd"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr "Factuurregel"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Inkoop"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Factuurregels"
|
||||
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr "Relatie losstaande inkoop factuur regel"
|
||||
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr "Inkoop - Genegeerd - Factuurregel"
|
||||
54
modules/purchase_invoice_line_standalone/locale/pl.po
Normal file
54
modules/purchase_invoice_line_standalone/locale/pl.po
Normal file
@@ -0,0 +1,54 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr "Zakup - Zignorowany wiersz faktury"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr "Zakup - Zignorowany wiersz faktury"
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr "Wiersze faktury zignorowane"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Wiersze faktury"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr "Wiersze faktury zignorowane"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr "Wiersz faktury"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Zakup"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Wiersze faktury"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr "Zakup - Zignorowany wiersz faktury"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr "Zakup - Zignorowany wiersz faktury"
|
||||
54
modules/purchase_invoice_line_standalone/locale/pt.po
Normal file
54
modules/purchase_invoice_line_standalone/locale/pt.po
Normal file
@@ -0,0 +1,54 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr "Compra - Linha de Fatura"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr "Compra - Linha de Fatura"
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr "Linhas de Fatura Ignoradas"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Linhas de Fatura"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr "Linhas de Fatura Ignoradas"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr "Linha da Fatura"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Compra"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Linhas de Fatura"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr "Compra - Linha de Fatura"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr "Compra - Linha de Fatura Ignorada"
|
||||
54
modules/purchase_invoice_line_standalone/locale/ro.po
Normal file
54
modules/purchase_invoice_line_standalone/locale/ro.po
Normal file
@@ -0,0 +1,54 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr "Rând Factură de Achiziție Independentă"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr "Rând Facturi de Achiziție Independente"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr "Parte"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr "Rând Factură Independent"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Rânduri Factura"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr "Rânduri Factura Ignorate"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr "Rând Factura"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Achiziție"
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Rânduri Factura"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr "Achiziție - Rând Factură Ignorată"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr "Achiziție - Rând Factură Ignorată"
|
||||
55
modules/purchase_invoice_line_standalone/locale/ru.po
Normal file
55
modules/purchase_invoice_line_standalone/locale/ru.po
Normal file
@@ -0,0 +1,55 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr "Строка инвойса"
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr "Строка инвойса"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Строки инвойса"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr "Строка инвойса"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Покупки"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Строки инвойса"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr "Строка инвойса"
|
||||
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr ""
|
||||
54
modules/purchase_invoice_line_standalone/locale/sl.po
Normal file
54
modules/purchase_invoice_line_standalone/locale/sl.po
Normal file
@@ -0,0 +1,54 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr "Nabavni nalog - Postavka računa"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr "Nabavni nalog - Postavka računa"
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr "Prezrte postavke računa"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Postavke računov"
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr "Prezrte postavke računa"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr "Postavka računa"
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr "Nabavni nalogi"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr "Postavke računov"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr "Nabavni nalog - Postavka računa"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr "Nabavni nalog - Prezrta postavka računa"
|
||||
48
modules/purchase_invoice_line_standalone/locale/tr.po
Normal file
48
modules/purchase_invoice_line_standalone/locale/tr.po
Normal file
@@ -0,0 +1,48 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr ""
|
||||
48
modules/purchase_invoice_line_standalone/locale/uk.po
Normal file
48
modules/purchase_invoice_line_standalone/locale/uk.po
Normal file
@@ -0,0 +1,48 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr ""
|
||||
48
modules/purchase_invoice_line_standalone/locale/zh_CN.po
Normal file
48
modules/purchase_invoice_line_standalone/locale/zh_CN.po
Normal file
@@ -0,0 +1,48 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_line_standalone:"
|
||||
msgid "Purchase Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:party.party,purchase_invoice_lines_standalone:"
|
||||
msgid "Purchase Invoice Lines Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:party.party.purchase_invoice_line_standalone,party:"
|
||||
msgid "Party"
|
||||
msgstr ""
|
||||
|
||||
msgctxt ""
|
||||
"field:party.party.purchase_invoice_line_standalone,purchase_invoice_line_standalone:"
|
||||
msgid "Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines:"
|
||||
msgid "Invoice Lines"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase,invoice_lines_ignored:"
|
||||
msgid "Invoice Lines Ignored"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,invoice:"
|
||||
msgid "Invoice Line"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "field:purchase.purchase-ignored-account.invoice.line,purchase:"
|
||||
msgid "Purchase"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:ir.action,name:act_purchase_invoice_line_relate"
|
||||
msgid "Invoice Lines"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:party.party.purchase_invoice_line_standalone,string:"
|
||||
msgid "Party Purchase Invoice Line Standalone"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "model:purchase.purchase-ignored-account.invoice.line,string:"
|
||||
msgid "Purchase - Ignored - Account Invoice Line"
|
||||
msgstr ""
|
||||
32
modules/purchase_invoice_line_standalone/party.py
Normal file
32
modules/purchase_invoice_line_standalone/party.py
Normal file
@@ -0,0 +1,32 @@
|
||||
# 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.model import ModelSQL, ValueMixin, fields
|
||||
from trytond.pool import PoolMeta
|
||||
|
||||
|
||||
class Party(metaclass=PoolMeta):
|
||||
__name__ = 'party.party'
|
||||
|
||||
purchase_invoice_line_standalone = fields.MultiValue(
|
||||
fields.Boolean("Purchase Invoice Line Standalone"))
|
||||
purchase_invoice_lines_standalone = fields.One2Many(
|
||||
'party.party.purchase_invoice_line_standalone', 'party',
|
||||
"Purchase Invoice Lines Standalone")
|
||||
|
||||
@classmethod
|
||||
def default_purchase_invoice_line_standalone(cls, **pattern):
|
||||
model = cls.multivalue_model('purchase_invoice_line_standalone')
|
||||
return model.default_purchase_invoice_line_standalone()
|
||||
|
||||
|
||||
class PartyPurchaseInvoiceLineStandalone(ModelSQL, ValueMixin):
|
||||
__name__ = 'party.party.purchase_invoice_line_standalone'
|
||||
|
||||
party = fields.Many2One(
|
||||
'party.party', "Party", ondelete='CASCADE')
|
||||
purchase_invoice_line_standalone = fields.Boolean(
|
||||
"Invoice Line Standalone")
|
||||
|
||||
@classmethod
|
||||
def default_purchase_invoice_line_standalone(cls):
|
||||
return False
|
||||
12
modules/purchase_invoice_line_standalone/party.xml
Normal file
12
modules/purchase_invoice_line_standalone/party.xml
Normal file
@@ -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="party_view_form">
|
||||
<field name="model">party.party</field>
|
||||
<field name="inherit" ref="party.party_view_form"/>
|
||||
<field name="name">party_form</field>
|
||||
</record>
|
||||
</data>
|
||||
</tryton>
|
||||
104
modules/purchase_invoice_line_standalone/purchase.py
Normal file
104
modules/purchase_invoice_line_standalone/purchase.py
Normal file
@@ -0,0 +1,104 @@
|
||||
# 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 import backend
|
||||
from trytond.model import ModelSQL, fields
|
||||
from trytond.pool import Pool, PoolMeta
|
||||
|
||||
|
||||
class Purchase(metaclass=PoolMeta):
|
||||
__name__ = 'purchase.purchase'
|
||||
invoice_lines = fields.Function(fields.Many2Many(
|
||||
'account.invoice.line', None, None, "Invoice Lines"),
|
||||
'get_invoice_lines', searcher='search_invoice_lines')
|
||||
invoice_lines_ignored = fields.Many2Many(
|
||||
'purchase.purchase-ignored-account.invoice.line',
|
||||
'purchase', 'invoice', 'Invoice Lines Ignored', readonly=True)
|
||||
|
||||
@property
|
||||
def invoice_line_standalone(self):
|
||||
party = self.invoice_party or self.party
|
||||
return party.purchase_invoice_line_standalone
|
||||
|
||||
def get_invoice_lines(self, name):
|
||||
return list({il.id for l in self.lines for il in l.invoice_lines})
|
||||
|
||||
@classmethod
|
||||
def search_invoice_lines(cls, name, clause):
|
||||
return [('lines.' + clause[0],) + tuple(clause[1:])]
|
||||
|
||||
@classmethod
|
||||
def _save_invoice(cls, invoices):
|
||||
pool = Pool()
|
||||
InvoiceLine = pool.get('account.invoice.line')
|
||||
|
||||
lines = []
|
||||
non_standalone = {}
|
||||
for purchase, invoice in invoices.items():
|
||||
if purchase.invoice_line_standalone:
|
||||
for line in invoice.lines:
|
||||
if line.type == 'line':
|
||||
line.invoice = None
|
||||
line.party = invoice.party
|
||||
lines.append(line)
|
||||
else:
|
||||
non_standalone[purchase] = invoice
|
||||
InvoiceLine.save(lines)
|
||||
|
||||
super()._save_invoice(non_standalone)
|
||||
|
||||
def get_invoice_state(self):
|
||||
state = super().get_invoice_state()
|
||||
skips = set(self.invoice_lines_ignored)
|
||||
standalone_lines = [
|
||||
l for l in self.invoice_lines if l not in skips and not l.invoice]
|
||||
if standalone_lines:
|
||||
state = {
|
||||
'paid': 'partially paid',
|
||||
'none': 'pending',
|
||||
}.get(state, state)
|
||||
return state
|
||||
|
||||
@classmethod
|
||||
def copy(cls, purchases, default=None):
|
||||
if default is None:
|
||||
default = {}
|
||||
else:
|
||||
default = default.copy()
|
||||
default.setdefault('invoice_lines_ignored', None)
|
||||
return super().copy(purchases, default=default)
|
||||
|
||||
|
||||
class PurchaseIgnoredInvoiceLine(ModelSQL):
|
||||
__name__ = 'purchase.purchase-ignored-account.invoice.line'
|
||||
purchase = fields.Many2One(
|
||||
'purchase.purchase', "Purchase", ondelete='CASCADE', required=True)
|
||||
invoice = fields.Many2One(
|
||||
'account.invoice.line', "Invoice Line",
|
||||
ondelete='RESTRICT', required=True)
|
||||
|
||||
@classmethod
|
||||
def __register__(cls, module):
|
||||
# Migration from 7.0: rename to standard name
|
||||
backend.TableHandler.table_rename(
|
||||
'purchase_invoice_line_ignored_rel', cls._table)
|
||||
super().__register__(module)
|
||||
|
||||
|
||||
class HandleInvoiceException(metaclass=PoolMeta):
|
||||
__name__ = 'purchase.handle.invoice.exception'
|
||||
|
||||
def transition_handle(self):
|
||||
state = super().transition_handle()
|
||||
|
||||
invoice_lines = []
|
||||
for invoice_line in self.record.invoice_lines:
|
||||
if (invoice_line.invoice
|
||||
and invoice_line.invoice.state == 'cancelled'):
|
||||
invoice_lines.append(invoice_line.id)
|
||||
if invoice_lines:
|
||||
self.model.write([self.record], {
|
||||
'invoice_lines_ignored': [('add', invoice_lines)],
|
||||
})
|
||||
self.model.__queue__.process([self.record])
|
||||
return state
|
||||
20
modules/purchase_invoice_line_standalone/purchase.xml
Normal file
20
modules/purchase_invoice_line_standalone/purchase.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?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.action.act_window" id="act_purchase_invoice_line_relate">
|
||||
<field name="name">Invoice Lines</field>
|
||||
<field name="res_model">account.invoice.line</field>
|
||||
<field
|
||||
name="domain"
|
||||
eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('origin.purchase.id', '=', Eval('active_id'), 'purchase.line'), ('origin.purchase.id', 'in', Eval('active_ids'), 'purchase.line'))]"
|
||||
pyson="1"/>
|
||||
</record>
|
||||
<record model="ir.action.keyword" id="act_invoice_line_form_keyword1">
|
||||
<field name="keyword">form_relate</field>
|
||||
<field name="model">purchase.purchase,-1</field>
|
||||
<field name="action" ref="act_purchase_invoice_line_relate"/>
|
||||
</record>
|
||||
</data>
|
||||
</tryton>
|
||||
@@ -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.
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,81 @@
|
||||
=============================================
|
||||
Purchase Invoice Line Not Standalone Scenario
|
||||
=============================================
|
||||
|
||||
Imports::
|
||||
|
||||
>>> from decimal import Decimal
|
||||
|
||||
>>> from proteus import Model
|
||||
>>> from trytond.modules.account.tests.tools import (
|
||||
... create_chart, create_fiscalyear, get_accounts)
|
||||
>>> from trytond.modules.account_invoice.tests.tools import (
|
||||
... set_fiscalyear_invoice_sequences)
|
||||
>>> from trytond.modules.company.tests.tools import create_company
|
||||
>>> from trytond.tests.tools import activate_modules
|
||||
|
||||
Activate modules::
|
||||
|
||||
>>> config = activate_modules(
|
||||
... 'purchase_invoice_line_standalone', create_company, create_chart)
|
||||
|
||||
>>> Party = Model.get('party.party')
|
||||
>>> ProductCategory = Model.get('product.category')
|
||||
>>> ProductUom = Model.get('product.uom')
|
||||
>>> ProductTemplate = Model.get('product.template')
|
||||
>>> Purchase = Model.get('purchase.purchase')
|
||||
|
||||
Create fiscal year::
|
||||
|
||||
>>> fiscalyear = set_fiscalyear_invoice_sequences(create_fiscalyear())
|
||||
>>> fiscalyear.click('create_period')
|
||||
|
||||
Get accounts::
|
||||
|
||||
>>> accounts = get_accounts()
|
||||
|
||||
Create parties::
|
||||
|
||||
>>> supplier = Party(name="Supplier")
|
||||
>>> supplier.purchase_invoice_line_standalone = False
|
||||
>>> supplier.save()
|
||||
|
||||
Create account category::
|
||||
|
||||
>>> account_category = ProductCategory(name="Account Category")
|
||||
>>> account_category.accounting = True
|
||||
>>> account_category.account_expense = accounts['expense']
|
||||
>>> account_category.account_revenue = accounts['revenue']
|
||||
>>> account_category.save()
|
||||
|
||||
Create product::
|
||||
|
||||
>>> unit, = ProductUom.find([('name', '=', 'Unit')])
|
||||
|
||||
>>> template = ProductTemplate()
|
||||
>>> template.name = 'product'
|
||||
>>> template.default_uom = unit
|
||||
>>> template.type = 'goods'
|
||||
>>> template.purchasable = True
|
||||
>>> template.list_price = Decimal('10')
|
||||
>>> template.cost_price_method = 'fixed'
|
||||
>>> template.account_category = account_category
|
||||
>>> template.save()
|
||||
>>> product, = template.products
|
||||
|
||||
Purchase 5 products::
|
||||
|
||||
>>> purchase = Purchase()
|
||||
>>> purchase.party = supplier
|
||||
>>> line = purchase.lines.new()
|
||||
>>> line.product = product
|
||||
>>> line.quantity = 5.0
|
||||
>>> line.unit_price = Decimal('5.0000')
|
||||
>>> purchase.click('quote')
|
||||
>>> purchase.click('confirm')
|
||||
>>> purchase.click('process')
|
||||
>>> purchase.state
|
||||
'processing'
|
||||
>>> purchase.reload()
|
||||
>>> len(purchase.invoices)
|
||||
1
|
||||
@@ -0,0 +1,144 @@
|
||||
=========================================
|
||||
Purchase Invoice Line Standalone Scenario
|
||||
=========================================
|
||||
|
||||
Imports::
|
||||
|
||||
>>> from decimal import Decimal
|
||||
|
||||
>>> from proteus import Model
|
||||
>>> from trytond.modules.account.tests.tools import (
|
||||
... create_chart, create_fiscalyear, get_accounts)
|
||||
>>> from trytond.modules.account_invoice.tests.tools import (
|
||||
... create_payment_term, set_fiscalyear_invoice_sequences)
|
||||
>>> from trytond.modules.company.tests.tools import create_company
|
||||
>>> from trytond.tests.tools import activate_modules
|
||||
|
||||
Activate modules::
|
||||
|
||||
>>> current_config = activate_modules(
|
||||
... 'purchase_invoice_line_standalone', create_company, create_chart)
|
||||
|
||||
Create fiscal year::
|
||||
|
||||
>>> fiscalyear = set_fiscalyear_invoice_sequences(create_fiscalyear())
|
||||
>>> fiscalyear.click('create_period')
|
||||
|
||||
Get accounts::
|
||||
|
||||
>>> accounts = get_accounts()
|
||||
>>> receivable = accounts['receivable']
|
||||
>>> revenue = accounts['revenue']
|
||||
>>> expense = accounts['expense']
|
||||
|
||||
Create parties::
|
||||
|
||||
>>> Party = Model.get('party.party')
|
||||
>>> supplier = Party(name='Supplier')
|
||||
>>> supplier.purchase_invoice_line_standalone = True
|
||||
>>> supplier.save()
|
||||
>>> customer = Party(name='Customer')
|
||||
>>> customer.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.account_revenue = revenue
|
||||
>>> account_category.save()
|
||||
|
||||
Create product::
|
||||
|
||||
>>> ProductUom = Model.get('product.uom')
|
||||
>>> unit, = ProductUom.find([('name', '=', 'Unit')])
|
||||
>>> ProductTemplate = Model.get('product.template')
|
||||
|
||||
>>> template = ProductTemplate()
|
||||
>>> template.name = 'product'
|
||||
>>> template.default_uom = unit
|
||||
>>> template.type = 'goods'
|
||||
>>> template.purchasable = True
|
||||
>>> template.list_price = Decimal('10')
|
||||
>>> template.cost_price_method = 'fixed'
|
||||
>>> template.account_category = account_category
|
||||
>>> template.save()
|
||||
>>> product, = template.products
|
||||
|
||||
Create payment term::
|
||||
|
||||
>>> payment_term = create_payment_term()
|
||||
>>> payment_term.save()
|
||||
|
||||
Purchase 5 products::
|
||||
|
||||
>>> Purchase = Model.get('purchase.purchase')
|
||||
>>> PurchaseLine = Model.get('purchase.line')
|
||||
>>> purchase = Purchase()
|
||||
>>> purchase.party = supplier
|
||||
>>> purchase.payment_term = payment_term
|
||||
>>> purchase.invoice_method = 'order'
|
||||
>>> purchase_line = PurchaseLine()
|
||||
>>> purchase.lines.append(purchase_line)
|
||||
>>> purchase_line.product = product
|
||||
>>> purchase_line.quantity = 2.0
|
||||
>>> purchase_line.unit_price = Decimal('5.0000')
|
||||
>>> purchase_line = PurchaseLine()
|
||||
>>> purchase.lines.append(purchase_line)
|
||||
>>> purchase_line.product = product
|
||||
>>> purchase_line.quantity = 3.0
|
||||
>>> purchase_line.unit_price = Decimal('5.0000')
|
||||
>>> purchase_line = PurchaseLine()
|
||||
>>> purchase.lines.append(purchase_line)
|
||||
>>> purchase_line.product = product
|
||||
>>> purchase_line.quantity = 4.0
|
||||
>>> purchase_line.unit_price = Decimal('5.0000')
|
||||
>>> purchase_line = PurchaseLine()
|
||||
>>> purchase.lines.append(purchase_line)
|
||||
>>> purchase_line.type = 'subtotal'
|
||||
>>> purchase_line.description = 'Subtotal'
|
||||
>>> purchase.click('quote')
|
||||
>>> purchase.click('confirm')
|
||||
>>> purchase.click('process')
|
||||
>>> purchase.state
|
||||
'processing'
|
||||
>>> purchase.reload()
|
||||
>>> len(purchase.moves)
|
||||
3
|
||||
>>> len(purchase.shipment_returns)
|
||||
0
|
||||
>>> len(purchase.invoices)
|
||||
0
|
||||
>>> len(purchase.invoice_lines)
|
||||
3
|
||||
|
||||
|
||||
Create a supplier invoice::
|
||||
|
||||
>>> Invoice = Model.get('account.invoice')
|
||||
>>> invoice = Invoice()
|
||||
>>> invoice.type = 'in'
|
||||
>>> invoice.party = supplier
|
||||
>>> len(invoice.lines.find())
|
||||
3
|
||||
>>> line1 = invoice.lines.find()[0]
|
||||
>>> invoice.lines.append(line1)
|
||||
>>> invoice.save()
|
||||
|
||||
Create a supplier invoice with an accountant::
|
||||
|
||||
>>> Invoice = Model.get('account.invoice')
|
||||
>>> Partner = Model.get('party.party')
|
||||
>>> supplier, = Partner.find([('name', '=', 'Supplier')])
|
||||
|
||||
>>> invoice = Invoice()
|
||||
>>> invoice.type = 'in'
|
||||
>>> invoice.party = supplier
|
||||
>>> len(invoice.lines.find())
|
||||
2
|
||||
>>> _ = [invoice.lines.append(l) for l in invoice.lines.find()]
|
||||
>>> invoice.save()
|
||||
|
||||
>>> _ = invoice.lines.pop()
|
||||
>>> invoice.save()
|
||||
@@ -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 PurchaseInvoiceLineStandaloneTestCase(ModuleTestCase):
|
||||
'Test PurchaseInvoiceLineStandalone module'
|
||||
module = 'purchase_invoice_line_standalone'
|
||||
|
||||
|
||||
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)
|
||||
19
modules/purchase_invoice_line_standalone/tryton.cfg
Normal file
19
modules/purchase_invoice_line_standalone/tryton.cfg
Normal file
@@ -0,0 +1,19 @@
|
||||
[tryton]
|
||||
version=7.8.0
|
||||
depends:
|
||||
account_invoice_line_standalone
|
||||
ir
|
||||
party
|
||||
purchase
|
||||
xml:
|
||||
party.xml
|
||||
purchase.xml
|
||||
|
||||
[register]
|
||||
model:
|
||||
party.Party
|
||||
party.PartyPurchaseInvoiceLineStandalone
|
||||
purchase.Purchase
|
||||
purchase.PurchaseIgnoredInvoiceLine
|
||||
wizard:
|
||||
purchase.HandleInvoiceException
|
||||
@@ -0,0 +1,9 @@
|
||||
<?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/page[@id='supplier']" position="inside">
|
||||
<label name="purchase_invoice_line_standalone"/>
|
||||
<field name="purchase_invoice_line_standalone"/>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user