Cédric Krier
c03dff9352
Support instances as default value
...
Closes #13694
2024-11-20 12:08:20 +01:00
Cédric Krier
b26ff9757e
Add metadata columns to ModelSQL with table query
...
Closes #9414
2024-10-25 00:24:39 +02:00
Udo Spallek
8b252472c4
Replace usage of docstring of Model by __string__ attribute
...
Closes #8402
2024-11-19 10:09:52 +01:00
Cédric Krier
0e0f5f0ec6
Do not convert invoiced quantity if sale or purchase has not unit
...
Closes #13593
2024-10-27 19:41:19 +01:00
Cédric Krier
ab3fecb282
Increase version number
2024-11-04 18:51:20 +01:00
Cédric Krier
dc470fe1f4
Prepare release 7.4.0
2024-11-04 18:23:40 +01:00
Cédric Krier
015c68f2c6
Update translations
2024-11-02 16:10:36 +01:00
Cédric Krier
afb909aa41
Fix missing target field in operand of domain
2024-10-28 21:23:57 +01:00
Cédric Krier
7f9d1ff68e
Fix typo in the handle exception wizards of sale and purchase
2024-10-23 09:38:35 +02:00
Cédric Krier
d967356c7e
Return location instance in getter of sale and purchase
...
If the location field is empty, it prevents to raise an attribute error when
accessing the id.
Closes #13544
2024-10-11 15:59:18 +02:00
Cédric Krier
a3ada4ef98
Replace minimal by universal chart of account
...
Closes #9642
2024-10-13 23:55:37 +02:00
Cédric Krier
e16889a592
Use sparkline tools instead of pygal
2024-09-29 11:46:53 +02:00
Cédric Krier
d3cca51abc
Create company and chart of account when activate modules in test scenario
2024-09-11 19:05:12 +02:00
Cédric Krier
a87be1db6a
Do not return empty for planned deliver date of purchase line when it is in the past
...
Closes #13298
2024-09-07 14:00:50 +02:00
Nicolas Évrard
6907ea5b7b
Add warning when using implicit rec_name target for relational domain
2024-09-07 00:39:55 +02:00
Cédric Krier
8523552c12
Test invoice of invoice line before using it to compute remaining quantity
...
Closes #13534
2024-09-19 19:14:31 +02:00
Cédric Krier
6e798f98fc
Test if origin id is greater or equals to 0 before accessing the target record
...
Closes #13498
2024-09-09 12:46:16 +02:00
Cédric Krier
62b079225f
Remove $ before series in formatted document URL without base URL
2024-09-03 17:55:42 +02:00
Cédric Krier
c47fc79f06
Link stock moves with invoice lines only for the same quantity sign as the order line
...
When invoice lines are created to correct invoices quantity, it should not be
linked to stock moves because it comes from a stock move being cancelled.
Closes #12972
2024-08-27 13:24:29 +02:00
Cédric Krier
cae99922de
Group numbering purchases
2024-08-25 12:16:12 +02:00
Cédric Krier
b222ab29f9
Improve exception handling wizard
...
We use two Many2Many fields to let the user explicitly fill them with the
records to ignore or recreate.
Any cancelled records that have not been added to one of the fields, will stay
in exception to be proceeded later.
Closes #8142
2024-08-21 17:33:14 +02:00
Cédric Krier
f350adcee3
Remove "Parties associated to Purchases" menu entry
...
Closes #6935
2024-08-06 16:51:57 +02:00
Cédric Krier
a2dfc4455b
Refine index definition
...
- Set low and high cardinality to index usage
- Use Range usage for numerical expression instead of Equality
2024-07-27 18:36:14 +02:00
Cédric Krier
01574e6700
Add searcher to summary fields
...
Closes #13401
2024-07-18 10:12:04 +02:00
Cédric Krier
be68d7ad69
Use a separate browse list to compute amounts from non cached states
...
The browse record list loops over the ids of the list to complete the read
batch. So move the record without cache at the end does not prevent to read
the lines of the first records with cache. A separate browse list must be used
for the records without cache to prevent to read lines from record with cache.
Closes #13396
2024-07-27 10:16:51 +02:00
Cédric Krier
48ad8ebb02
Add filtered One2Many fields on sale, purchase and invoice
...
This allows to create only instances for the lines of type line when only
those lines are needed.
This mainly avoid to compute amount for subtotal lines when accessing the
amount of instance of type line.
2024-06-22 16:50:48 +02:00
Cédric Krier
07f5e3faaa
Allow only sale and purchase lines of type line as origin of stock move
2024-06-22 16:51:52 +02:00
Cédric Krier
4fd13555f4
Add movable field on sale and purchase line
2023-11-18 00:24:33 +01:00
Cédric Krier
e8acbc6a8c
Index invoice and shipment state partially on their own state
...
Closes #13365
2024-06-26 18:37:26 +02:00
Cédric Krier
376dbeddb5
Clear cached amount when resetting to draft sale, purchase and purchase requisition
...
Closes #13296
2024-06-13 12:34:50 +02:00
Cédric Krier
09985de225
Always clear cached amount before storing it
...
This is safer as if for some reason the cache is filled with wrong data, the
values will be fixed instead of keep propagating it.
2024-06-13 12:32:08 +02:00
Cédric Krier
347a161353
Do not copy cached amounts of sale, purchase and purchase requisition
...
Closes #13336
2024-06-13 12:11:51 +02:00
Cédric Krier
f0b1c9d590
Align label in the middle of image
2024-06-25 12:28:11 +02:00
Cédric Krier
575d1d0132
Change _changed_values and _save_values properties to method
...
Closes #13317
2024-06-09 19:54:52 +02:00
Cédric Krier
01c1966ba8
Add relate from sale and purchase lines to stock moves and invoice lines
2024-06-03 13:14:03 +02:00
Cédric Krier
2244c964fe
Add "Stock" prefix to stock move labels
2024-06-03 10:48:34 +02:00
Cédric Krier
97796eacd1
Use purchases field to relate from purchase to invoices
2024-05-02 18:47:16 +02:00
Cédric Krier
06270e6a7a
Use decimal 0 without digits as default value
...
If the digits of the field is 0, than using '0.0' trigger the validation error
introduced by 2be02f249a1d.
Closes #13197
2024-04-30 19:15:44 +02:00
Cédric Krier
0442c7475b
Update reports to display company logo
2024-04-19 23:30:05 +02:00
Cédric Krier
cd8777277a
Update translations [skip ci]
...
Closes #13225
2024-04-30 13:09:39 +02:00
Cédric Krier
38a3a8e68e
Increase version number
2024-04-29 18:03:56 +02:00
Cédric Krier
2fc668b9f7
Prepare release 7.2.0
2024-04-29 17:31:11 +02:00
Cédric Krier
b443997044
Update translations [skip ci]
2024-04-27 18:44:57 +02:00
Cédric Krier
787595125a
Depends on xxx2many fields when they are assigned by a change function
...
Closes #13099
2024-04-22 08:59:48 +02:00
Cédric Krier
3a25fc0df9
Always return float for invoice or moves progress
...
The fields are Float so they must return a float.
2024-04-04 15:12:21 +02:00
Cédric Krier
8666e82b80
Rename 'done' buttons to 'do' and label them as "Complete"
...
Closes #13039
2024-02-17 17:50:49 +01:00
Cédric Krier
d6515743cc
Display invoices and moves progress on sale and purchase lines
...
Closes #13025
2024-02-08 16:58:46 +01:00
Cédric Krier
80b61a9f63
Store model on ir.rule.group
2024-02-25 13:45:21 +01:00
Cédric Krier
5448a91bf7
Store model on ir.model.button
2024-04-06 10:48:45 +02:00
Cédric Krier
122a45b167
Store model and field name on ir.model.field.access
2024-04-06 11:04:15 +02:00