[IMP] purchase: replace invoice status string 'Bills Received' by 'No Bill to Receive' on PO

PURPOSE
=======

The status "Bills received" on the PO simply means that  there are no bills to receive for now, not that you have really received bills. This is confusing for users.

SPECIFICATION
=============

Replace the invoice status string on PO "Bills received" by "No Bill to Receive"
This commit is contained in:
Dhaval Panchal
2017-06-13 15:55:47 +02:00
committed by Yannick Tivisse
parent 75df823347
commit ae9e5bb13e
+1 -1
View File
@@ -136,7 +136,7 @@ class PurchaseOrder(models.Model):
invoice_status = fields.Selection([
('no', 'Nothing to Bill'),
('to invoice', 'Waiting Bills'),
('invoiced', 'Bills Received'),
('invoiced', 'No Bill to Receive'),
], string='Billing Status', compute='_get_invoiced', store=True, readonly=True, copy=False, default='no')
picking_count = fields.Integer(compute='_compute_picking', string='Receptions', default=0, store=True)