Correct phrasing

This commit is contained in:
Matthieu Dietrich
2016-05-25 09:55:16 +02:00
parent da73f15cd0
commit 41040f03fd
2 changed files with 6 additions and 5 deletions

View File

@@ -8,15 +8,16 @@ Permanent Lock Move
This module extends the functionality of the basic "lock date"
functionality in invoicing, in order to add a more definitive
lock date (which does not allow to be set at a previous date,
or emptied, and only accepts unposted moves)
lock date (which cannot be empty or set in the past, and only
accepts unposted moves)
Configuration
=============
To configure this module, you need to:
* Go to Invoicing -> Settings, and set the Permanent Lock Date.
#. Go to Invoicing -> Settings
#. Set the Permanent Lock Date.
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot

View File

@@ -28,8 +28,8 @@ class PermanentLockDateWizard(models.TransientModel):
('state', '=', 'draft')])
if moves:
raise UserError(
_("You cannot permanently lock since entries "
"are still unposted before this date.")
_("You cannot set the permanent lock date since entries are "
"still unposted before this date.")
)
company.permanent_lock_date = self.lock_date