diff --git a/__tryton__.py b/__tryton__.py
index 4babef218e..b6e11e5de9 100644
--- a/__tryton__.py
+++ b/__tryton__.py
@@ -18,7 +18,7 @@ With the possibilities:
- to define invoice method:
- Manual
- Based On Order
- - Based On Packing
+ - Based On Shipment
''',
'description_de_DE': ''' - Dient der Erstellung von Einkaufsvorgängen (Entwurf, Angebot, Auftrag).
- Fügt den Artikeln Lieferanten und Einkaufsinformationen hinzu.
diff --git a/purchase.py b/purchase.py
index 55be0aded1..b99a811ecc 100644
--- a/purchase.py
+++ b/purchase.py
@@ -62,7 +62,7 @@ class Purchase(ModelWorkflow, ModelSQL, ModelView):
invoice_method = fields.Selection([
('manual', 'Manual'),
('order', 'Based On Order'),
- ('packing', 'Based On Packing'),
+ ('packing', 'Based On Shipment'),
], 'Invoice Method', required=True, states=_STATES)
invoice_state = fields.Selection([
('none', 'None'),
@@ -87,15 +87,15 @@ class Purchase(ModelWorkflow, ModelSQL, ModelView):
('waiting', 'Waiting'),
('received', 'Received'),
('exception', 'Exception'),
- ], 'Packing State', readonly=True, required=True)
+ ], 'Shipment State', readonly=True, required=True)
packings = fields.Function('get_function_fields', type='many2many',
- relation='stock.packing.in', string='Packings')
+ relation='stock.packing.in', string='Shipments')
moves = fields.Function('get_function_fields', type='many2many',
relation='stock.move', string='Moves')
packing_done = fields.Function('get_function_fields', type='boolean',
- string='Packing Done')
+ string='Shipment Done')
packing_exception = fields.Function('get_function_fields', type='boolean',
- string='Packings Exception')
+ string='Shipments Exception')
def __init__(self):
super(Purchase, self).__init__()
@@ -1769,7 +1769,7 @@ OpenSupplier()
class HandlePackingExceptionAsk(ModelView):
- 'Packing Exception Ask'
+ 'Shipment Exception Ask'
_name = 'purchase.handle.packing.exception.ask'
_description = __doc__
@@ -1808,7 +1808,7 @@ class HandlePackingExceptionAsk(ModelView):
HandlePackingExceptionAsk()
class HandlePackingException(Wizard):
- 'Handle Packing Exception'
+ 'Handle Shipment Exception'
_name = 'purchase.handle.packing.exception'
states = {
'init': {
diff --git a/purchase.xml b/purchase.xml
index a7e3b25b81..8877c8073e 100644
--- a/purchase.xml
+++ b/purchase.xml
@@ -21,7 +21,7 @@ this repository contains the full copyright notices and license terms. -->
sequence="0" icon="tryton-preferences" active="0"/>
- Handle Packing Exception
+ Handle Shipment Exception
purchase.handle.packing.exception
purchase.purchase
@@ -103,7 +103,7 @@ this repository contains the full copyright notices and license terms. -->
states="{'invisible': '''invoice_state != 'exception' or state == 'cancel' ''', 'readonly': '''%(group_purchase)d not in groups'''}"
icon="tryton-go-next"/>
@@ -140,7 +140,7 @@ this repository contains the full copyright notices and license terms. -->
-
+
@@ -189,7 +189,7 @@ this repository contains the full copyright notices and license terms. -->
- Packings
+ Shipments
stock.packing.in
form
[("id", "in", packings)]
@@ -421,47 +421,47 @@ this repository contains the full copyright notices and license terms. -->
- Waiting Packing
+ Waiting Shipment
function
write({'packing_state': 'waiting'})
create_move()
- Packing Exception
+ Shipment Exception
function
write({'packing_state': 'exception'})
- Invoice Packing Method
+ Invoice Shipment Method
OR
- Invoice Packing
+ Invoice Shipment
function
create_invoice()
write({'invoice_state': 'waiting'})
- Waiting Invoice Packing
+ Waiting Invoice Shipment
function
write({'invoice_state': 'waiting', 'packing_state': 'received'})
- Invoice Packing Exception
+ Invoice Shipment Exception
write({'invoice_state': 'exception'})
- Invoice Packing Done
+ Invoice Shipment Done
function
write({'invoice_state': 'paid'})
- Invoice Packing Method Done
+ Invoice Shipment Method Done
function
write({'packing_state': 'received'})