Commit Graph
108 Commits
Author SHA1 Message Date
Cédric Krier 466f2114b6 Reset cancelled invoice to posted when unpaid
Closes #13509
(grafted from cbb381841768cf91419c43df93794c593d61ac8b)

--HG--
branch : 7.0
2024-09-13 15:30:26 +02:00
Cédric Krier 0c7d6650ca Increase version number
--HG--
branch : 7.0
2024-10-05 18:17:36 +02:00
Cédric Krier 135632657e Prepare release account_invoice-7.0.9
--HG--
branch : 7.0
2024-10-05 18:17:27 +02:00
Sergi Almacellas Abellana 2dab614b8b Clear employee fields when duplicating invoices
Closes #13471
(grafted from 2ee778466a0b0fd54426404cec4088425d0b028a)

--HG--
branch : 7.0
2024-09-28 15:19:35 +02:00
Cédric Krier e18d53e99c Test if origin id is greater or equals to 0 before accessing the target record
Closes #13498
(grafted from 497490225779fc8dc210c9cee997cd5ce4b4381e)

--HG--
branch : 7.0
2024-09-09 12:46:16 +02:00
Cédric Krier 7914f569c2 Increase version number
--HG--
branch : 7.0
2024-09-01 14:08:45 +02:00
Cédric Krier ff5c903a01 Prepare release account_invoice-7.0.8
--HG--
branch : 7.0
2024-09-01 14:08:35 +02:00
Cédric Krier 2578569a76 Fix message ID when creating invoice tax on non draft invoice
Closes #13402
(grafted from 82a29d5623e2e56037048cd1df73a52df1c59c4a)

--HG--
branch : 7.0
2024-07-27 10:22:32 +02:00
Cédric Krier 846a6a8549 Increase version number
--HG--
branch : 7.0
2024-08-01 22:09:35 +02:00
Cédric Krier 80559edd0d Prepare release account_invoice-7.0.7
--HG--
branch : 7.0
2024-08-01 22:09:24 +02:00
Cédric Krier f9194b5879 Included nested fields when searching invoice payments on move line
Closes #13377
(grafted from c8737b0603235c15e1dd0429f14cea9a585eee3b)

--HG--
branch : 7.0
2024-06-30 13:04:45 +02:00
Cédric Krier 1ddd2c38e8 Sum only invoice lines of type line to update untaxed amount
Closes #13357
(grafted from 2256d42c0b40b1a47de88ca0c5f96b11f177b2dc)

--HG--
branch : 7.0
2024-06-22 16:46:54 +02:00
Cédric Krier 0c6dafa6a0 Increase version number
--HG--
branch : 7.0
2024-06-02 19:06:06 +02:00
Cédric Krier 28332585a1 Prepare release account_invoice-7.0.6
--HG--
branch : 7.0
2024-06-02 19:05:52 +02:00
Cédric Krier c2091befaa 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
(grafted from 979cd092ea24f04328af5f4ff315c418e1c5b3e6)

--HG--
branch : 7.0
2024-04-30 19:15:44 +02:00
Cédric Krier 92365f83df Test if cache amount is null to include tax amount when searching for amount
Closes #13219
(grafted from e9640ffe7241f00606dcbf71ef55622fbf372563)

--HG--
branch : 7.0
2024-04-28 17:30:17 +02:00
Cédric Krier c21be5b719 Increase version number
--HG--
branch : 7.0
2024-05-01 14:22:16 +02:00
Cédric Krier e3ab6edff1 Prepare release account_invoice-7.0.5
--HG--
branch : 7.0
2024-05-01 14:22:05 +02:00
Cédric Krier 5623f2bcf6 Use id as default payee value on pay invoice wizard
Closes #13140
(grafted from 1a12707bd33d013f3f1853e7843742727018abf6)

--HG--
branch : 7.0
2024-04-21 15:33:42 +02:00
Cédric Krier a6e822f877 Depends on xxx2many fields when they are assigned by a change function
Closes #13099
(grafted from 4a24c323d44a3b5ab440b1bafc4b3b9005500642)

--HG--
branch : 7.0
2024-04-22 08:59:48 +02:00
Cédric Krier e7b10d1406 Increase version number
--HG--
branch : 7.0
2024-04-17 12:45:47 +02:00
Cédric Krier b6ee288b05 Prepare release account_invoice-7.0.4
--HG--
branch : 7.0
2024-04-17 12:45:37 +02:00
Cédric Krier 0a30314a89 Set posting employee only when using button
As the posted by employee field can not be modified once the invoice is
posted, the employee must be set only when it is an action of the user.
On processing the invoice, it is the internal posting method that must be used
so no employee is set nor any other warning checks.

Closes #13124
(grafted from 361b4624d10c7173ce439329d72e37d7fa02d00b)

--HG--
branch : 7.0
2024-03-25 10:17:35 +01:00
Cédric Krier 443a0cc5a5 Increase version number
--HG--
branch : 7.0
2024-04-04 09:51:35 +02:00
Cédric Krier b3cd9f4825 Prepare release account_invoice-7.0.3
--HG--
branch : 7.0
2024-04-04 09:51:23 +02:00
Cédric Krier b6409b7598 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
(grafted from cfd02fdbd6781576e47fd92a9720049c01a1e498)

--HG--
branch : 7.0
2024-03-08 12:29:03 +01:00
Cédric Krier c4d4951525 Remove readthedocs
(grafted from 2f67994e59b0bca29d7b0632a51540774b109140)

--HG--
branch : 7.0
2024-02-18 18:35:54 +01:00
Cédric Krier a124a54658 Increase version number
--HG--
branch : 7.0
2024-02-15 19:39:59 +01:00
Cédric Krier 13a76fa70f Prepare release account_invoice-7.0.2
--HG--
branch : 7.0
2024-02-15 19:39:47 +01:00
Cédric Krier 599c8ba9ad 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
(grafted from aea01e3d595a526f7a093b0f7cef59ad215cab2a)

--HG--
branch : 7.0
2023-11-27 12:43:31 +01:00
Cédric Krier 54c4ec52dd Increase version number
--HG--
branch : 7.0
2024-01-16 00:22:39 +01:00
Cédric Krier e9c7b73f26 Prepare release account_invoice-7.0.1
--HG--
branch : 7.0
2024-01-16 00:22:27 +01:00
Cédric Krier 305747d8ab 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
(grafted from 208637c2d94be75b4c795eb56c0c4405c15bc29d)

--HG--
branch : 7.0
2023-12-27 13:33:10 +01:00
Cédric Krier ace6906d28 Do not rely on invoice state to compute reconciliation lines
Closes #12864
(grafted from 94018bd6531aa5943e5044d925b24c04fc5ecb8c)

--HG--
branch : 7.0
2023-12-22 18:43:55 +01:00
Cédric Krier bf55f9310d Use correct id for error message when creating invoice line not draft
Closes #12863
(grafted from b052e8902bb286b6b1d84333e9b2bacd46970384)

--HG--
branch : 7.0
2023-12-22 18:34:45 +01:00
Cédric Krier 6c91d493b6 Increase version number
--HG--
branch : 7.0
2023-10-30 18:49:03 +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