Cédric Krier
4bc74de579
Remove check against move when deleting account period
...
The period on the move restrict on delete of the foreign key.
2023-11-06 15:46:25 +01:00
Cédric Krier
592edc13dd
Allow modifying account period dates with account moves
...
As long as the existing moves has still a date inside the new period dates.
Closes #12667
2023-11-06 15:44:47 +01:00
Cédric Krier
91f4c6b2b8
Check dates of periods when changing fiscal year dates
...
Closes #12667
2023-11-06 16:19:33 +01:00
Cédric Krier
6b2aa74ce5
Preserve product image ratio
...
Closes #12744
2023-11-14 14:18:56 +01:00
Adrià Tarroja Caubet
ad9c41be26
Fix typo in comment of test scenario for stock supply production
2023-11-13 00:30:34 +01:00
Cédric Krier
f8a6d08b20
Test extension of invoice and shipment grouping fields
2023-11-08 11:37:38 +01:00
Cédric Krier
84318913c7
Incoterm tests depend on sale shipment grouping not sale invoice group
2023-11-08 11:36:58 +01:00
Cédric Krier
b1a3e23951
Extend grouping fields with a list
...
4e84027dbc2e updated the grouping fields method to receive the grouped
instance but it did not adapt to the returned type which is a list.
Closes #12718
2023-11-08 00:09:37 +01:00
Cédric Krier
7fb5a0c6b8
Do not compute internal quantity for stock move created without product nor unit
...
Closes #12716
2023-11-06 18:02:23 +01:00
Cédric Krier
d35d519ea1
Do not try to compute promotion quantity for lines without type line
...
Closes #12351
2023-11-02 16:42:45 +01:00
Cédric Krier
3e49835516
Update documentation link for UNECE Recommendation N° 20
...
Closes #12695
2023-11-01 10:06:00 +01:00
Cédric Krier
783e4364af
Do not translate data type of inbound email
2023-10-21 23:21:28 +02:00
Cédric Krier
ea16e4e071
Use secondary instead of second in help of Purchase Secondary UoM
2023-10-21 17:21:27 +02:00
Cédric Krier
f20e941597
Display Braintree transaction ID for refund on the form
2023-10-18 13:13:27 +02:00
Cédric Krier
294f666b0d
Display Stripe refund ID on the form
2023-10-18 13:12:57 +02:00
Cédric Krier
816dd6f549
Do not union empty dict as payments when creating moves without statements
...
Closes #12689
2023-10-30 23:45:52 +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
c9836a6b9b
Do not test multiple partial payments in test scenario
...
The feature is now limited to Shopify Plus organizations.
Closes #12684
2023-10-28 18:55:23 +02:00
Cédric Krier
76c00d3133
Update amount when changing unit or taxes of purchase line
...
Closes #12648
2023-10-29 14:23:34 +01:00
Cédric Krier
5b27ea26ce
Update amount when changing unit or taxes of sale line
...
Closes #12648
2023-10-29 14:23:10 +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
71771568e3
Apply dualmethod decorator to post method of account move
...
Since efdb98eb55e5 the original method is a dualmethod.
Closes #12682
2023-10-28 10:56:33 +02:00
Cédric Krier
87013b68f9
Make end amount read only on non open cash session
...
Closes #12677
2023-10-28 14:20:52 +02:00
Cédric Krier
1f73ac4d03
Make transfers read only on non open cash session
...
Closes #12677
2023-10-28 14:20:35 +02:00
Cédric Krier
d9307d006e
Hide payment buttons for line reconciled and of payment kind
...
It is not allowed to make a draft payment for a line that is reconciled.
Closes #12681
2023-10-28 10:52:41 +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
35cff3c11c
Update statement lines amount from invoice when changing origins
...
2b9a72775e4c made the change for on_change_lines but forgot to also update
on_change_origins.
Closes #12672
2023-10-26 17:58:18 +02:00
Cédric Krier
33de40f77b
Test to_date in context to get dates for general ledger
...
1b3d9d7a758f added the wrong test to exclude period and dates.
Closes #12629
2023-10-21 16:21:40 +02:00
Cédric Krier
c577fad900
Update translations [skip ci]
2023-10-28 14:15:23 +02:00
Maxime Richez
b6db068130
Prevent changing party, template and product on product supplier
...
Closes #12607
2023-10-26 22:53:18 +02:00
Maxime Richez
5774bd2c32
Prevent changing party, template and product on product customer
...
Closes #12607
2023-10-26 22:52:55 +02:00
Cédric Krier
88edde8e69
Depend on product supplier unit to compute unit on price
...
The initial implementation 6a6b4ef53946 wrongly define the depends for the
function.
Closes #12653
2023-10-22 12:37:04 +02:00
Cédric Krier
cf0b20da58
Do not change line type when calling on_change_product
...
The wizard to modify header calls on_change_product on all lines but their
type must not change.
Closes #12633
2023-10-22 10:36:20 +02:00
Cédric Krier
8e8cd1274e
Update existing initiator ID from 'es_nif' to 'es_vat'
...
Since 5493c9eca111 the identifiers use the vat alias.
Closes #12624
2023-10-21 15:43:14 +02:00
Cédric Krier
ff079187c5
Deduce from credit amount only sales from the user's company
...
Since #4080 the record rules are no more enforced on getter of Function
fields.
Closes #12586
2023-10-21 13:08:50 +02:00
Cédric Krier
d10a47f7d1
Do not fail when reconciling an empty list
...
Closes #12626
2023-10-21 15:46:53 +02:00
Cédric Krier
993586497f
Do not test active clause of dunning being in a set
...
The clause may contain unhashable types.
Closes #12590
2023-10-21 14:29:59 +02:00
Cédric Krier
ce75be407a
Allow to search on default UoM of stock lot
...
Since e49aaf8553e1, default UoM of "Lots by Locations" has a searcher using
the default UoM of the stock lot.
Closes #12583
2023-10-21 01:03:21 +02:00
Cédric Krier
420e0a48d6
Add pairwise_longest tools
2023-10-18 23:11:07 +02:00
Cédric Krier
7e2c1f8cbd
Do not raise StopIteration when calling pairwise with empty iterable
...
Closes #12652
2023-10-18 18:28:04 +02:00
Cédric Krier
0f145266e9
Defer invoice line only once
...
The post method can be called multiple times for an invoice by process but
only one deferral is allowed by line.
Also the initial draft deferral may be delete in case of mistake so we must
not create automatically a new one later.
Closes #12567
2023-10-21 00:48:14 +02:00
Cédric Krier
39d419259c
Do not fail to sum cost when move has not cost price for allocation by cost
...
Since b1d0590ca501 set_shipment_cost can be called on shipment that are not
yet done.
Closes #12643
2023-10-13 15:07:29 +02:00
Cédric Krier
4e010a988f
Add support for Python 3.12
2023-10-22 19:40:55 +02:00
Cédric Krier
2231ffc366
Cancel and recreate shipment after testing over shipping
...
The first shipment is already picked so it can not be reset to draft to update
the inventory moves.
Closes #12661
2023-10-24 10:25:32 +02:00
Sergi Almacellas Abellana
3f97d298b0
Add detail for each tax in purchase intracomunitary tax rule
...
Closes #12654
2023-10-19 12:36:33 +02:00
Adrià Tarroja Caubet
ac1ebd441d
Add missing workflow transition to open method
...
Closes #12658
2023-10-22 17:25:25 +02:00
Adrià Tarroja Caubet
a20253fc41
Update grouping fields methods to receive grouped instance
...
f6e6e1921a54 changed the property into a method with the grouped instance as
parameter. So other modules extending the method must be updated.
Closes #12634
2023-10-22 10:43:36 +02:00
Sergi Almacellas Abellana
02fb1de0fd
Set gift card flag on periodificationes a corto plazo types of Spanish chart
...
Closes #12593
2023-10-21 14:43:35 +02:00
Cédric Krier
e64dbbefa9
Test account reconcile scenario without party required
2023-10-11 18:35:03 +02:00