As the inventory creates and do the moves in the same transaction, the warning about effective date in future can not be ignored (the ids change). Also the warning name should be based on an ordered list of record to ensure to generate always the same name. issue9707 review328441002
97 lines
5.9 KiB
XML
97 lines
5.9 KiB
XML
<?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_product_change_default_uom">
|
|
<field name="text">You cannot change the default UOM of a product which is associated with stock moves.</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_product_change_type">
|
|
<field name="text">You cannot change the type of a product which is associated with stock moves.</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_product_change_cost_price">
|
|
<field name="text">You cannot change the cost price of a product which is associated with stock moves.
|
|
You must use the "Modify Cost Price" wizard.</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_invalid_cost_price">
|
|
<field name="text">Invalid cost price "%(cost_price)s" for product "%(product)s" with exception "%(exception)s".</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_location_invalid_type_for_moves">
|
|
<field name="text">You cannot change the type of location "%(location)s" to "%(type)s"
|
|
because the type does not support moves and location has existing moves.</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_location_child_of_warehouse">
|
|
<field name="text">To set location "%(location)s" as storage/input/output of warehouse "%(warehouse)s", it must be in the warehouse.</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_location_inactive_not_empty">
|
|
<field name="text">To inactivate location "%(location)s", you must empty it.</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_period_close_date">
|
|
<field name="text">You cannot close periods with a date in the future or today.</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_period_close_assigned_move">
|
|
<field name="text">You cannot close periods with assigned moves in it.</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_shipment_delete_cancel">
|
|
<field name="text">To delete shipment "%(shipment)s" you must cancel it.</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_inventory_delete_cancel">
|
|
<field name="text">To delete inventory "%(inventory)s" you must cancel it.</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_inventory_missing_empty_quantity">
|
|
<field name="text">To confirm the inventory "%(inventory)s" you must select an option for empty quantity.</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_inventory_location_missing_lost_found">
|
|
<field name="text">To confirm the inventory "%(inventory)s" you must set a lost and found on a parent of location "%(location)s".</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_inventory_line_unique">
|
|
<field name="text">Inventory line "%(line)s" is not unique on inventory "%(inventory)s".</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_inventory_line_quantity_positive">
|
|
<field name="text">Inventory line quantity must be positive.</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_inventory_line_delete_cancel">
|
|
<field name="text">To delete inventory line "%(line)s" you must cancel inventory "%(inventory)s".</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_inventory_count_create_line">
|
|
<field name="text">No existing line found for "%(search)s".</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_erase_party_shipment">
|
|
<field name="text">You cannot erase party "%(party)s" while they have pending shipments with company "%(company)s".</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_move_delete_draft_cancel">
|
|
<field name="text">To delete stock move "%(move)s" you must cancel it or reset its state to draft.</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_move_modify_period_close">
|
|
<field name="text">To modify stock move "%(move)s" you must reopen period "%(period)s".</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_move_modify_assigned">
|
|
<field name="text">To modify stock move "%(move)s" you must reset its state to draft.</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_move_modify_done">
|
|
<field name="text">You cannot modify stock move "%(move)s" because it is done.</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_move_modify_cancel">
|
|
<field name="text">You cannot modify stock move "%(move)s" because it is cancelled.</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_move_no_origin">
|
|
<field name="text">Stock moves "%(moves)s" have no origin.</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_move_quantity_positive">
|
|
<field name="text">Move quantity must be positive.</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_move_internal_quantity_positive">
|
|
<field name="text">Internal move quantity must be positive.</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_move_from_to_location">
|
|
<field name="text">The source and destination of stock move must be different.</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_move_effective_date_in_the_future">
|
|
<field name="text">The moves "%(moves)s" have effective dates in the future.</field>
|
|
</record>
|
|
<record model="ir.message" id="msg_inventory_date_in_the_future">
|
|
<field name="text">The inventories "%(inventories)s" have dates in the future.</field>
|
|
</record>
|
|
</data>
|
|
</tryton>
|