~akretion-team/stock-logistic-flows/70-product_serial-plus-plus

« back to all changes in this revision

Viewing changes to product_serial_sale_stock/__openerp__.py

  • Committer: Alexis de Lattre
  • Date: 2014-03-20 00:59:55 UTC
  • Revision ID: alexis@via.ecp.fr-20140320005955-4q3gb233y7531g1y
Use monkey-patching in product_serial_sale_stock, as suggested by Alexandre Fayolle.
[FIX] Copy splitted qty to product_uos_qty, because this field is used for invoicing !

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
The module *product_serial* only depends on stock, not on procurements. If you only have the module *product_serial* and the move lines are automatically split, the procurements associated with the move lines are not split, so the split stock moves don't automatically switch from *Waiting Availability* to *Ready to Transfer* when the products are available in the stock. This module handles this.
34
34
 
35
 
WARNING : this module inherit the method _create_pickings_and_procurements() of the sale_order class without calling super, so it can create issues with modules that also inherit this method. If you have other modules that inherit this method, they should depend on this module.
 
35
This module uses the monkey-patching method to replace the code of the method _create_pickings_and_procurements() by a different code.
36
36
 
37
37
Please contact Alexis de Lattre from Akretion <alexis.delattre@akretion.com> for any help or question about this module.
38
38
    """,