Compare commits

..

No commits in common. "a6395787cd9dff22ef19e80a6bb3936f05f2869f" and "24679f5aebfec0e81a3a09e1f2520581822ad775" have entirely different histories.

2 changed files with 0 additions and 275613 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,18 +0,0 @@
from proteus import Model, config
from random import randint
database = 'tryton'
config_file = '/app/.dev/trytond.cfg'
config.set_trytond(database, config_file=config_file)
Stock = Model.get('stock.inventory')
stock, = Stock.find([('state', '=', 'draft')])
for line in stock.lines:
line.quantity = randint(0, 50)
line.save()