Sergi Almacellas Abellana
d36ee557ff
Fix typo in set_context call when computing sale cash rounded amounts
...
Closes #12800
2023-12-05 09:34:46 +01:00
Sergi Almacellas Abellana
a23879f25c
Delete points when deleting quality control
...
Closes #12942
2024-01-22 16:28:16 +01:00
Cédric Krier
f5fc52577f
Use today as planned date for assigned move
...
The inclusion of the assigned move in the computation must be coherent between
quantity and delta.
Closes #12914
2024-01-09 19:42:05 +01:00
Cédric Krier
78abed9f25
Allow selecting blanket agreement line without supplier/customer product
...
When the order line as a supplier/customer product, we should allow to select
blanket agreement line with the same product or without any product. Because
the supplier/customer product may be added after the blanket agreement is
running.
Closes #12909
2024-01-08 14:28:38 +01:00
Cédric Krier
88b26a7eb6
Display the actual wrong ids in domain rule error message
...
Closes #12907
2024-01-07 19:11:58 +01:00
Cédric Krier
d3e086aace
Order cancelled document without number last
...
Closes #12899
2024-01-05 15:33:57 +01:00
Cédric Krier
9d4aee14f2
Use the same separator between account configuration and create chart wizard
...
The separator for the default category accounts should be the same between
configuration and the wizard.
Closes #10910
2024-01-05 09:14:19 +01:00
Cédric Krier
276fc2a55d
Group the creation of advance payment invoices from sale
...
It is faster to save the invoices all at once.
2024-01-03 13:47:46 +01:00
Cédric Krier
f38c760c2d
Append recalled lines from sale advance payment to invoice
...
This prevents extra save of the invoice and lines by taking advantage of the
process decomposition of bdbd8ba02e94.
2024-01-03 13:40:01 +01:00
Cédric Krier
4841c130de
Save invoice before adding recalled lines from sale advance payment
...
Closes #12889
2024-01-03 13:30:22 +01:00
Cédric Krier
821be7e6dc
Return test suite when loading proteus README
2023-12-31 16:59:39 +01:00
Cédric Krier
406092be4d
Check doctest files
...
They are converted to python files before running checks.
2024-01-14 19:21:56 +01:00
Cédric Krier
b913ad45d8
Add assert methods to test tools
...
Closes #12879
2023-12-29 19:02:08 +01:00
Cédric Krier
f15e7a901f
Strip trailing 0 when checking Decimal in doctest output of SQLite
...
Closes #12878
2023-12-30 19:45:32 +01:00
Cédric Krier
2fce630dd6
Test expected output instead of comparison in doctest
2023-12-29 19:03:10 +01:00
Cédric Krier
72f5012be5
Set ELLIPSIS option flag on doctest
...
Closes #12877
2023-12-28 23:00:52 +01:00
Cédric Krier
2743dc7a06
Set IGNORE_EXCEPTION_DETAIL option flag on doctest
...
Closes #12877
2023-12-28 14:39:39 +01:00
Cédric Krier
10a513babd
Use defaultdict to compute amount to pay of invoice
2023-12-29 14:34:06 +01:00
Cédric Krier
a443bbe466
Round amount with currency digits in commission reporting
2023-12-29 15:01:25 +01:00
Cédric Krier
840b1d7c30
Round revenue with currency digits in sale reporting
2023-12-29 14:16:30 +01:00
Cédric Krier
a32876e1b0
Set currency exchange account for account cash scenario
...
Since 1c698e656c02 such account is needed if there is a difference due to
exchange rate.
Closes #12935
2024-01-14 23:34:48 +01:00
Cédric Krier
6760a897eb
Fill second currency fields of exchange move line
...
account_cash_rounding module expect that all move lines from Invoice.get_move
has the fields filled.
Closes #12935
2024-01-14 23:33:40 +01:00
Cédric Krier
92c9626008
Cancel only staging moves when purchase request is cancelled
...
Otherwise when the exception is handled and new stock moves are created for
the line, they are cancelled the next time the sale is processed.
Closes #12934
2024-01-14 22:30:26 +01:00
Cédric Krier
2e08be99c7
Return list of instance as result of test recurrence rule wizard
...
Since 0db956eb2505 the on_change_with for xxx2Many must return a list of
instances.
Closes #12885
2024-01-11 22:02:48 +01:00
Cédric Krier
f8e095826d
Do not translate quantity placeholder in sale and purchase messages
...
Closes #12919
2024-01-10 14:15:52 +01:00
Cédric Krier
5f3df70bd9
Return children length only if children field is loaded
...
Closes #12906
2024-01-06 22:56:46 +01:00
Cédric Krier
5a24591cd5
Use account end date of AEB43 as statement date
...
It is useful to have statement ordered correctly to have the start balance
filled by default.
2024-01-02 17:04:33 +01:00
Cédric Krier
bfee808b02
Search first journal by client account code from AEB43
...
We fallback to IBAN search if no journal is found.
2024-01-02 12:24:34 +01:00
Cédric Krier
d64d54c13e
Do not include account number in AEB43 statement name
...
The account number should already by in the journal name.
2024-01-02 12:22:08 +01:00
Cédric Krier
ba7e60e9a3
Replace csb43 by aeb43 package to parse AEB43 statement
...
Closes #12881
2024-01-02 12:22:58 +01:00
Cédric Krier
779ece7045
Use transaction date for accounting date when importing AEB43 statement
...
Closes #12886
2024-01-02 17:02:23 +01:00
Cédric Krier
8d35781825
Permit to use deposit account for payment
...
97281a746606 removed this option that was available since 3255a31c30a2.
Closes #12910
2024-01-08 17:29:26 +01:00
Sergi Almacellas Abellana
44c73a2118
Fix typo in invoice post exchange credit account message
2024-01-10 10:04:24 +01:00
Cédric Krier
a71d7b3ebf
Book currency exchange amount of invoice in dedicated account
...
Closes #1302
2023-12-23 23:15:47 +01:00
Cédric Krier
f6d8247263
Use AccountMissing and JournalMissing exception for reconciliation
2023-12-23 23:12:41 +01:00
Cédric Krier
61e1b18e76
Compute remaining quantity of sale and purchase order following their method
...
Ignored quantities must be deduced from the remaining quantity.
Closes #12698
2023-12-17 17:07:41 +01:00
Cédric Krier
d3264484c4
Update sale based on purchase request update state
...
It is simpler if the purchase triggers the update of the request and the
update of the request triggers the process of the sale.
2023-12-21 12:33:00 +01:00
Cédric Krier
956040bca9
Test resetting purchase request exception
...
#12853
2023-12-21 13:14:18 +01:00
Cédric Krier
f6254471f2
Set supply state of sale line to cancelled only if the purchase request is also cancelled
...
Closes #12853
2023-12-21 12:01:31 +01:00
Cédric Krier
5cda753f9f
Allow assigned move of 0 quantity using view location and delete them
...
This is needed to be able to ignore assignation of move from a view location,
and to delete them before all moves are set to done.
Closes #12870
2023-12-26 16:00:06 +01:00
Cédric Krier
d9782d97aa
Do not hard-code invoice report action in refresh report wizard
...
This prevents customization of the report by deactivating the report action as
documented.
Closes #12872
2023-12-27 13:33:10 +01:00
Cédric Krier
a241eb3f96
Group only customer shipment by cost method
...
The return shipment does not have this field.
Closes #12842
2024-01-06 01:32:52 +01:00
Nicolas Évrard
e66e35a0bd
Sort correclty eager and lazy fields when calling Form.display
...
Closes #12890
2023-12-22 14:48:49 +01:00
Cédric Krier
4cbcfc4a4c
Remove shipment cost method on sale without carrier
...
Since 34a5debdca00 a domain enforce an empty shipment cost method when no
carrier is selected. So former order must be updated to still be valid.
Closes #12753
2023-12-23 18:42:46 +01:00
Cédric Krier
aa20b2de71
Update planned date of assigned move from shipment and production
...
Closes #12867
2023-12-23 02:32:43 +01:00
Cédric Krier
435e3a0c59
Do not copy drop moves when copying move
...
Closes #12848
2023-12-20 13:12:32 +01:00
Cédric Krier
14596be0b8
Add CompanyTestMixin to sale advance payment tests
...
Closes #12845
2023-12-19 18:09:12 +01:00
Cédric Krier
d67158f723
Inherit access from sale for advance payment condition
2023-12-19 18:05:28 +01:00
Cédric Krier
6188d35854
Add missing company context to line of advance payment term line account
2023-12-19 18:03:19 +01:00
Cédric Krier
7b1b686603
Ensure to use the same connection when connecting
...
Closes #10154
2023-12-17 00:38:43 +01:00