Impovements to the module "product expiry"

Registered by Numérigraphe on 2009-06-30

Simple improvements to be made for the tracking of expiry dates on products and lots.

Blueprint information

Status:
Complete
Approver:
OpenERP Manufacturing Experts
Priority:
Undefined
Drafter:
Numérigraphe
Direction:
Needs approval
Assignee:
Numérigraphe
Definition:
Review
Series goal:
Proposed for trunk
Implementation:
Implemented
Milestone target:
None
Started by
Numérigraphe on 2009-07-01
Completed by
Numérigraphe on 2010-01-04

Whiteboard

I'm going to make the following changes to the module "product_expiry" on a dedicated branch.

API CHANGES - CHANGES WHICH WILL BREAK INHERITED MODULES AND WILL REQUIRE MIGRATION
- rename the field lot.dlc (a French term) to lot.life_date to match the name of product.lifetime
- rename the field lot.dluo (a French term) to lot.use_date

BEHAVIOR CHANGES - CHANGES THAT MAKE THE MODULE BEHAVE ANOTHER WAY
- when expiry times are 0 on the product, calc_date returns the current date which is wrong in most cases. It should instead return False.

CHANGES THAT MAY UPSET EXISTING USERS
- product.dlc was erroneously described as "Product usetime" when it is actualy computed from the product life time (not use time), so data may have been entered in the wrong column.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.