Cédric Krier
e8f39a33b8
Remove deprecation warning
...
- remove invalid escape sequence
- use read_file instead of read_fp
- use importlib instead of imp and __import__
- use callable instead of instance of collections.Callable
- fix silent file closing
- replace SafeConfigParser by ConfigParser
- replace decodestring by decodebytes
- replace encodestring by encodebytes
issue7666
issue7390
review53361004
2018-09-01 17:06:28 +02:00
Cédric Krier
a04143efc6
Improve ModelStorage.copy
...
* Allow callable in copy default
* Support dotted notation in copy default
* Use setdefault in copy
* Copy default when needed
* Do not set default state in copy
* Use callable and dotted notation in copy default
issue5576
issue7648
review72291002
2018-09-01 01:02:04 +02:00
Cédric Krier
04690f6a59
Use material design icons
...
issue474
review60291002
2018-08-19 20:02:58 +02:00
Cédric Krier
31f96f8c38
Remove migration before 3.0
...
issue6470
review52421002
2018-08-09 20:43:51 +02:00
Cédric Krier
f15a5a206b
Use sqlite3.backup when available
...
issue7212
review44131002
2018-08-06 19:05:44 +02:00
Cédric Krier
e68b9fe937
Add support for Python 3.7
...
issue7547
2018-07-28 16:44:10 +02:00
Cédric Krier
e5852ab668
Add count wizard on inventory
...
issue7515
review49461002
2018-07-27 17:07:31 +02:00
Cédric Krier
973dd92330
Add __table_handler__ to ModelSQL
...
issue7581
review48531002
2018-07-24 22:01:08 +02:00
Cédric Krier
d8aaad50dc
Add index on move for join on period
...
issue7342
review51441002
2018-07-24 19:27:45 +02:00
Cédric Krier
5061618d5b
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:55 +02:00
Cédric Krier
823f549182
Prevent delete lines if inventory is not draft or canceled
...
issue7478
review47451002
2018-06-04 18:55:40 +02:00
Cédric Krier
c4adaf7cda
Fallback to the default configured language in report
...
issue7449
review46461002
2018-05-23 23:14:05 +02:00
Cédric Krier
11c758ef4e
Update missing translations
...
issue7414
2018-05-21 23:13:43 +02:00
Cédric Krier
85048e3cca
Use tree mixin
...
issue7383
review50291002
2018-05-12 00:51:33 +02:00
Cédric Krier
42595dcce0
Manage same input and storage location in customer return shipment
...
issue7401
review51261002
2018-05-10 20:19:23 +02:00
Cédric Krier
dbcd7b5dd8
Increase version number
2018-04-23 17:29:57 +02:00
Cédric Krier
35e39fd090
Added tag 4.8.0 for changeset 697136ec8274
2018-04-23 17:29:40 +02:00
Cédric Krier
cef47d0c0f
Prepare release 4.8.0
2018-04-23 17:29:40 +02:00
Cédric Krier
d622ae1e32
Update translations
2018-04-21 13:06:37 +02:00
Cédric Krier
df8c27aba6
Do not browse records at a datetime before they were created
...
If user tries to get the cost price of a product before it was created, it
should return None instead of raising an access error.
issue7334
review49281002
2018-04-20 18:36:25 +02:00
Cédric Krier
fd622d7953
Replace "Shipment Out" by "Customer Shipment"
...
issue7346
2018-04-14 19:07:36 +02:00
Cédric Krier
3ddac8bf77
Replace "Shipment Out" by "Customer Shipment"
...
issue7346
2018-04-14 18:02:56 +02:00
Sergi Almacellas Abellana
d0dadba0c1
Add missing space on pending shipment error message
...
issue7340
review44961002
2018-04-14 17:49:02 +02:00
Cédric Krier
27bc851aef
Add Persian
...
issue7311
2018-04-14 17:23:50 +02:00
Cédric Krier
a44552b6c4
Add viewBox attribute to SVG
...
issue7320
review47291002
2018-04-09 10:56:59 +02:00
Cédric Krier
64108233a9
Add _stock_move_split in context to copy move for split
...
issue7152
review36121002
2018-04-09 10:40:13 +02:00
Cédric Krier
633f776f7a
Use subdivision instead of active in party address tree
...
issue4340
2018-04-05 11:59:04 +02:00
Cédric Krier
549c71e642
Add tests for products_by_location on 2nd level flat_childs
...
issue7162
review44871003
2018-04-03 16:40:31 +02:00
Cédric Krier
d2befe114e
Do not include flat location children from child_of search
...
If the flat location children are not explicitly in the requested locations,
they should not be included because the quantity is already included in the
parent location and they will be added twice if a single location is requested
(because of the quick loop).
issue7162
review44871003
2018-04-03 16:40:00 +02:00
Cédric Krier
101eaecb89
Check no stock move also on Product
...
As fields can be redefined on Product, we must check both Models.
issue7253
review41981002
2018-03-27 10:51:36 +02:00
Sergi Almacellas Abellana
2c840d7490
Use deactivable mixin
...
issue4341
review38401002
2018-03-26 14:15:09 +02:00
Cédric Krier
2dd7a53fda
Complete CHANGELOG entry
...
issue6892
2018-03-25 01:03:30 +01:00
Sergi Almacellas Abellana
70cd9d81c2
Manage same input and storage location
...
In this case there is no need to create inventory moves
issue6892
review42801002
2018-03-24 12:01:58 +01:00
Cédric Krier
225fefc37c
Check pending shipment to erase party
...
issue7169
review44051002
2018-03-24 00:10:37 +01:00
Cédric Krier
4ee60ddb42
Make empty quantity not required
...
As None is a valid option.
2018-03-19 16:14:01 +01:00
Cédric Krier
b7a0a0525a
Fix typo in missing_empty_quantity message
2018-03-19 16:12:09 +01:00
Sergi Almacellas Abellana
65c1429178
Do not fill inventory quantity automatically
...
issue6977
review44571002
2018-03-19 09:56:45 +01:00
Cédric Krier
d7bc616a43
Always raise exception in table handler
...
issue7175
review40161002
2018-03-15 00:46:59 +01:00
Cédric Krier
a289e86cc9
Assign supplier return shipment using children when location is a view
...
But also allow external customization.
issue7158
review41111002
2018-03-15 00:30:15 +01:00
Cédric Krier
181156bf66
Prevent to compare datetime.date to NoneType
...
This may happen if stock_date_end is not set in the context.
2018-03-09 19:41:13 +01:00
Cédric Krier
1e617e284b
Improve location browsing
...
- Add childs field on the form view
- Duplicate "Locations Quantity" into tree and list
- Allow to search on quantity and forecast_quantity on location
issue7151
review43141002
2018-03-09 19:17:58 +01:00
Sergi Almacellas Abellana
a9ae8afd36
Register all buttons are registered in ir.model.button
...
issue6389
review36621002
2018-03-01 12:45:35 +01:00
Cédric Krier
f632a9cc67
Remove product_ids from products_by_location for grouping_filter
...
issue7141
review44651002
2018-02-28 18:25:18 +01:00
Cédric Krier
88302f5437
Ensure grouping has no duplicate fields
...
Otherwise it generates ambiguous SQL query.
issue7141
2018-02-21 14:34:58 +01:00
Cédric Krier
8c326b8ae0
Ensure grouping_filter has the right length
...
issue7141
review40111002
2018-02-20 17:58:12 +01:00
Sergi Almacellas Abellana
94e9d784fb
Add depends on Button
...
issue6919
review40811002
2018-02-19 11:41:53 +01:00
Albert Cervera i Areny
a0b8974ea4
Do not delete inventory line of inactive product
...
On the first run, inactive products with stock quantity are created, so we
must not delete them on the second call.
issue6931
review38931002
2018-02-13 19:26:25 +01:00
Cédric Krier
55082d76a6
Allow to group per product columns to compute quantity
...
This is needed to add the quantity relates on the template form.
issue7068
review40031002
2018-02-11 14:38:33 +01:00
Cédric Krier
ae3358481d
Remove MySQL backend
...
issue7017
2018-01-24 20:14:38 +01:00
Cédric Krier
f2216d96b2
Improve dependency links
...
issue7049
2018-01-21 19:58:07 +01:00