20
20
# You should have received a copy of the GNU Affero General Public License
21
21
# along with this program. If not, see <http://www.gnu.org/licenses/>.
23
23
from openerp.tools.translate import _
25
25
from openerp.osv import osv, fields
26
26
import decimal_precision as dp
28
29
class account_move_line(osv.Model):
29
30
_inherit = 'account.move.line'
32
33
'quantity': fields.float('Quantity', digits_compute=dp.get_precision('Product UoM'), help="The optional quantity expressed by this line, eg: number of product sold. The quantity is not a legal requirement but is very useful for some reports."),