I am using Odoo 9 with different unit of mesure for my products.
My goal is to sell product by sqm, buy it by pieces and manage my inventory by pieces with a visualization by sqm ; pieces cannot be divide. Let me illustrate the expected behavior by an example.
I purchase 400 pieces of 140mm x 2000mm, ie. 0.28 sqm ; then in my inventory I have now 400 pieces for a total of 112 sqm. I sell 12 sqm, ie. 42.86 pieces but my pieces cannot be divide then I sell 43 pieces. I validate the picking operation and now I have 357 pieces for a total of 99.96 sqm in my inventory.
This is my setup :
Unit of Measure : m2
Purchase Unit of Measure : piece
Unit m2 and piece are on the same unit category
Unit piece is the reference unit of measure for this category with rounding precision = 1.00000
Unit m2 is a unit smaller than the reference unit of measure with a rounding precision = 0.00100 and a ratio of 0.28
Everything look like to work as expected ; I can make a purchase order by pieces ; receive products and validate quantity by pieces ; picking use pieces unit also. In my inventory I can see the valuation by sqm and I can proceed inventory adjustments by pieces. I can also sell my product by sqm with a small side effect about rounding.
The problem is that the picking operation for transfert (delivery to my client) is in sqm and I want to use pieces unit.
Did I make a mistake in my setup ? Or is it a feature not supported by Odoo ? Did you know some module I can use ? Or some clues for starting to develop a new module for my purpose ?