Cédric Krier
0f06ca9142
Raise a warning when validating invoice with non default taxes
...
Closes #3818
2024-02-19 12:43:52 +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
9193a425d1
Store model name on ir.model.access
2024-04-06 14:10:01 +02:00
Cédric Krier
40d4fe61ac
Set invoice line state to paid when invoice is cancelled with cancel move
...
Such invoice line should be considered as booked for example to compute the
invoiced quantity of stock move.
Closes #13085
2024-03-08 12:29:03 +01:00
Cédric Krier
88ac130d2f
Remove readthedocs
2024-02-18 18:35:54 +01:00
Cédric Krier
ce530c6c0b
Remove custom table names
2023-12-26 12:18:00 +01:00
Cédric Krier
b4608428fb
Compute name of the product for sale, purchase and invoice lines
...
Instead of having the code in the report templates, we use a property that can
be extended without updating the template.
Closes #12892
2024-01-04 23:55:09 +01:00
Cédric Krier
bfbab59ebf
Use usage from context for default contact mechanism on party
2024-01-04 18:48:14 +01:00
Cédric Krier
5181591ed7
Use template substitution for company header/footer
...
Closes #12699
2024-01-04 18:55:06 +01:00
Cédric Krier
69bdce8b29
Use include directive for subdirectory documentation
...
Closes #12822
2023-12-24 10:48:07 +01:00
Cédric Krier
40b8cf0eca
Support linkcheck ignore per module documentation
...
If a linkcheck_ignore.json exists in the doc folder, it is loaded to extend
the linkcheck_ignore configuration of Sphinx.
2024-01-01 13:43:49 +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
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
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
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
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
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
e3be4a5897
Do not rely on invoice state to compute reconciliation lines
...
Closes #12864
2023-12-22 18:43:55 +01:00
Cédric Krier
3d0512ed89
Use correct id for error message when creating invoice line not draft
...
Closes #12863
2023-12-22 18:34:45 +01:00
Cédric Krier
eb681a2ece
Document that payment method is needed to run pay invoice wizard
2023-12-15 10:12:14 +01:00
Cédric Krier
8d9156df84
Add ondelete RESTRICT on Many2One of party ValueMixin
...
Closes #12809
2023-12-07 23:24:37 +01:00
Cédric Krier
e70d24d375
Return values instead of changed result when testing payment term
...
Since 0db956eb2505 the returned value of on_change_with is set on the field.
Closes #12775
2023-11-27 12:43:31 +01:00
Cédric Krier
1b5fa9a892
Clear tax identifiers on invoice when they are no more valid
...
Closes #12748
2023-11-15 11:09:44 +01:00
Cédric Krier
5d2bc18e3d
Display fields of payment term delta in application order
...
The user may not know the order in which the relativedelta operations are
applied.
2023-11-02 16:21:25 +01:00
Cédric Krier
38da6a0451
Increase version number
2023-10-30 18:51:13 +01:00
Cédric Krier
65f477f731
Prepare release 7.0.0
2023-10-30 18:17:32 +01:00
Cédric Krier
04af335284
Copy alternative payees of invoice if it is the only party on lines to pay
...
Only one alternative payee is permitted on draft invoice so we can copy it
only if there is only one and it is the one that was already set when posting
the invoice (only party that appears in the lines to pay).
Closes #12528
2023-10-28 14:04:23 +02:00
Cédric Krier
7105268094
Do not display in invoice report lines to pay that have been reconciled
...
Since f880d0a6315f the invoice report can be refreshed so only the actual
lines to pay should be displayed.
Closes #12675
2023-10-28 10:47:37 +02:00
Cédric Krier
c577fad900
Update translations [skip ci]
2023-10-28 14:15:23 +02:00
Cédric Krier
4e010a988f
Add support for Python 3.12
2023-10-22 19:40:55 +02:00
Cédric Krier
b037f93b77
Prevent changing company of invoice with lines filled
...
Closes #12620
2023-10-07 08:47:30 +02:00
Cédric Krier
96a24bcaf6
Remove extra button group access
...
Since ab05d05bb811 there is no need to have access defined on button if they
are the same as the write access on the model.
Closes #12578
2023-09-20 09:45:20 +02:00
Cédric Krier
590fbe3aa8
Use origin description as fallback description for account move and line
...
Closes #12571
2023-09-16 10:30:44 +02:00
Maxime Richez
fa5ae37c46
Always allow editing invoice reference, description and comment by accounting administrator
2023-09-19 14:17:33 +02:00
Maxime Richez
d603d56f71
Allow refreshing invoice report cache
...
Closes #12091
2023-09-19 14:12:42 +02:00
Cédric Krier
c5a3340851
Update taxes when create invoices
2023-07-25 15:34:01 +02:00
Sergi Almacellas Abellana
24a4abc6ba
Set employee who validates and posts invoices
...
Closes #9678
2023-07-06 16:27:53 +02:00
Cédric Krier
a4cb3f9f61
Normalize Unit of Measure labels
...
For short label, we only use UoM with an help text showing with capital letter
the meaning of UoM.
2023-08-20 12:17:27 +02:00
Cédric Krier
523bcd4011
Use module name to build path for readthedocs requirements
2023-09-03 12:03:49 +02:00
Cédric Krier
6a06579e13
Use Sphinx book theme for documentation
2023-09-01 09:44:09 +02:00
Cédric Krier
14bc5d2a6c
Use selection widget for journal fields
...
It is expected to have only a small number of journals.
But also it is uncommon to create of a new journal from a form.
So it provides a better user experience to use a selection widget.
2023-08-06 00:34:16 +02:00
Cédric Krier
91fb1e7c24
Use OR-ed domain when composing clauses from exclusive join
...
When a searcher of a Function field compose a domain using mutually exclusive
joins, the boolean operator must always be OR because only one clause is not
NULL.
Closes #12291
2023-08-02 20:35:13 +02:00
Cédric Krier
adc26533da
Add .readthedocs.yaml configuration [skip ci]
...
This is required by Read the Docs service:
https://blog.readthedocs.com/migrate-configuration-v2/
Closes #12344
2023-08-06 11:06:08 +02:00
Cédric Krier
2be6515fa6
Start remainder with all lines for amount to pay invoice
...
This is the worst case before finding a better one with a lower remainder.
Closes #12403
2023-07-15 01:05:48 +02:00