Albert Cervera i Areny
42217d0cbb
Add required value for unit_price.
2023-09-13 15:41:31 +02:00
Albert Cervera i Areny
b814879c49
Rename Uom to Unit for bill of material
2023-09-13 15:31:46 +02:00
Raimon Esteve
28e6d81552
Increase version number
2023-05-10 17:31:26 +02:00
Raimon Esteve
527f2b7168
Increase version number
2022-08-17 14:23:35 +02:00
Albert Cervera i Areny
9a9c50273e
Fix line break in message.xml
2022-07-09 23:47:51 +02:00
Jared Esparza
b828131be1
Add company global rule
2022-05-04 13:36:49 +02:00
Jared Esparza
3b51a5ca66
Replace test setuptools command by unittest discover
2022-04-26 13:24:29 +02:00
Raimon Esteve
652cba56f2
Increase version number
2021-06-01 10:29:47 +02:00
Raimon Esteve
855f2d374d
Increase version number
2021-04-26 15:45:16 +02:00
Albert Cervera i Areny
b0d1441d17
Store directly sequence type to sequence
2021-03-20 13:58:48 +01:00
Albert Cervera i Areny
51a6db39f9
Pyflakes fixes.
2021-03-20 13:58:42 +01:00
Albert Cervera i Areny
2d868b0504
Save original moves when the distribution is done.
...
Problem detected by the scenario: if the move to be distributed had 10
units and it had to be split into two moves (of 8 and 2 units for
example), the original move was not saved and so 12 units where received
from the supplier.
2020-11-25 23:41:20 +01:00
Albert Cervera i Areny
a69316acf1
Raise an error when a move has not been assigned.
...
The system already detected problems when the quantity of the move was
split by assignation but if non of the units of the move could be
assigned the system did not raise an error.
That was detected by the test scenario which was not working.
2020-11-25 23:41:14 +01:00
Albert Cervera i Areny
b536da1c84
Add missing _parent_move.distribution to on_change_with methods.
2020-11-25 23:41:07 +01:00
Albert Cervera i Areny
fba31dfdb8
Fix scenario check for old unicode strings.
2020-11-25 23:41:02 +01:00
Àngel Àlvarez
55d92ea7a5
Modify tox and add Jenkisfile
2020-04-11 18:25:07 +02:00
Juanjo Garcia
a307ad662b
Fix context tag.
2020-02-25 10:45:52 +01:00
Juanjo Garcia
3963303d5b
Position new record based on order
...
We sent an order to the client for action and xxx2Many so its screen has
always a default order set.
To position a new record on non editable tree, we use the order of the 'id'
column if presents.
2020-01-22 15:54:22 +01:00
?ngel ?lvarez
54382bd137
increase version
2019-11-14 11:01:56 +01:00
?ngel ?lvarez
f2137d4416
increase version
2019-11-14 10:56:56 +01:00
Juanjo Garcia
2bd9e10556
Fix test.
2019-10-25 09:18:54 +02:00
Juanjo Garcia
e2f2aea951
Code refactoring.
2019-10-03 15:27:20 +02:00
Juanjo Garcia
31c42ed279
Use grouped attribute on message.xml
2019-09-04 12:36:09 +02:00
Carlos G?lvez
ed8868f455
Fix UserError
2019-05-16 17:45:03 +02:00
?ngel ?lvarez
5f90237ada
increase version
2019-05-06 23:27:44 +02:00
?ngel ?lvarez
fbac15c424
fix graft issue
2019-04-25 14:55:42 +02:00
Carlos G?lvez
15197833bc
Doesn't finalize the movements of the distribution and
...
those of the production at the same time.
#036901
2019-03-28 10:38:15 +01:00
Sim? Albert i Beltran
fd3fdb52e5
Do the input moves when do the distribution
...
#034205
2018-11-27 09:01:46 +01:00
?ngel ?lvarez
787a332965
increase version
2019-04-13 09:38:53 +02:00
?ngel ?lvarez
02867e8c9b
adapt to ir.message
2019-04-13 09:35:39 +02:00
?ngel ?lvarez
8d1eca8d2d
rename locales
2018-10-25 12:51:33 +02:00
Albert Cervera i Areny
cc02e4dac0
Migrate to python 3.
2018-09-04 00:50:40 +02:00
Albert Cervera i Areny
82ad59a5c4
Remove accounts from products
2018-09-04 00:50:27 +02:00
Albert Cervera i Areny
d570956f4e
Create branch 4.8.
2018-09-02 11:44:39 +02:00
Bernat Brunet Torruella
392b5ccd57
Update movements creation on distributions
2018-06-11 14:49:13 +02:00
Albert Cervera i Areny
854dc9bd1a
In distribute(), do not crash if there are no target moves for one of the
...
products.
2018-03-12 08:50:41 +01:00
Albert Cervera i Areny
cd04aab1b8
On distribute, ensure we don't stop distributing before there are some units to
...
be spread.
After completely 'filling' the first target move, we could get a quantity <= 0
without remaining quantity to be completely distributed. So I changed the checks
to ensure we check all target moves before moving remaining units to a storage
location.
2018-03-12 02:48:54 +01:00
Albert Cervera i Areny
125beb1aca
Change calculation of target moves in distribution process.
...
Previously we created a distribution line for each target move but this meant
that we could put two lines with the same target production which is not
appropriate.
So we fix that situation by grouping quantities per product and production.
As we're using an SQL query to compute that, instead of searching for stock
moves for each purchase move this is also probably faster for large
distributions.
2018-03-12 02:29:43 +01:00
Albert Cervera i Areny
4a54b6bb41
In distribute() cumulate quantities already assigned to targets to ensure we
...
the algorithm works correctly when there are two move lines to be spread with
the same product.
2018-03-05 01:49:47 +01:00
Albert Cervera i Areny
056289513b
In production's distribution_products field, show information from the current
...
distribution only.
2018-03-05 01:46:00 +01:00
Raimon Esteve
83a882dfb8
Locales
2018-03-02 10:36:14 +01:00
Raimon Esteve
4718d7a63c
pyflakes
2018-03-02 10:06:41 +01:00
Raimon Esteve
06d8a6c130
Style register class and XML header
2018-02-08 14:47:08 +01:00
Albert Cervera i Areny
1eb986f450
Fix bug that prevented distributions from being deleted because parent was not called.
2017-12-14 23:33:44 +01:00
Albert Cervera i Areny
97fa8ade56
Ensure distributions can be duplicated.
2017-12-14 23:33:08 +01:00
Albert Cervera i Areny
7db148691b
Merge to lines into one, removing an unnecessary variable.
2017-12-14 23:32:41 +01:00
Albert Cervera i Areny
d526a30e3b
Ensure that there cannot be two draft distributions for the same warehouse.
2017-12-14 23:32:07 +01:00
Albert Cervera i Areny
f5212fdb0d
Use product's rec_name instead of code in production's summary fields.
2017-12-14 23:07:28 +01:00
Albert Cervera i Areny
69c0271293
Add 'state' field to production tree view.
2017-12-14 01:17:39 +01:00
Albert Cervera i Areny
5ea71fb003
Fix production input moves assignment.
2017-12-14 01:17:21 +01:00