Cédric Krier
4e8dc3c54e
Prepend payment group with Payment
...
This displays a more meaningful tab name in the client.
2023-08-04 23:52:47 +02:00
Cédric Krier
a8a39fd36d
Replace tree open on group by a link and relate on the form
2023-08-04 23:51:48 +02:00
Cédric Krier
8f92935054
Limit account on payment to receivable or payable
...
It is the same constraint as for the line.
2023-08-04 23:32:33 +02:00
Cédric Krier
d32abf6d36
Ensure payment line and account are not filled both
...
If there are filled both, we must display them so user can clear one.
2023-08-04 21:32:15 +02:00
Cédric Krier
86dae30d70
Fill receivable payment account when selecting party
...
By default a receivable payment should be cleared with the receivable account
of the party.
2023-08-04 21:31:27 +02:00
Cédric Krier
15baadf36e
Remove fail an succeed button from payment list
...
Since the state is always updated by statement, those buttons are less useful
on a list view.
2023-08-04 21:24:49 +02:00
Cédric Krier
7433569b5b
Mark Payment as succeeded or failed when imported in statement
...
The state of the payment is modified by statement even if there is no
clearing.
2023-08-04 19:44:55 +02:00
Cédric Krier
70ebb98abb
Replace payment wizard confirmation by button
...
A button is easier for the user to discover than a keyword action.
There is a small risk that user does not group the processing of payments but
it existed also wizard the keyword action and it is compensated largely by the
benefit of discoverability.
2023-08-04 18:29:30 +02:00
Cédric Krier
ca06d3ddb8
Create different menu entries for receivable and payable payments
2023-08-04 17:38:37 +02:00
Wolfgang Schröder
de7bb13e1e
Support RFC2255 definition of scope for ldap authentication
...
Closes #12150
2023-07-18 19:10:20 +02:00
Cédric Krier
9e7bbb97cf
Update documentation of account french chorus
2023-08-15 12:32:19 +02:00
Cédric Krier
6dde3d7eb5
Add workflow on chorus invoice
2023-08-14 19:00:13 +02:00
Cédric Krier
d5b575e0b0
Add invoice test scenario for Chorus integration
2023-07-22 16:53:03 +02:00
Cédric Krier
60541ba7b1
Store the data send to Chorus
2023-07-22 16:52:15 +02:00
Cédric Krier
4452f906b7
Update Chrorus connection to use PISTE API
...
Closes #9009
2023-07-22 16:44:22 +02:00
Cédric Krier
a5f46ed059
Use SIRET code as legal ID
...
Since f5c2c4885143, the siret field is an Indetifier instance instead of the
code.
Closes #12427
2023-07-22 16:42:42 +02:00
Cédric Krier
7309e38115
Test also the amount of invoice lines without product to compute the UNCEFACT type
...
Closes #12426
2023-07-22 16:37:00 +02:00
Cédric Krier
604ae9aa31
Use empty string if street is None when rendering UNCEFACT 16B-CII
...
Closes #12425
2023-07-22 16:31:25 +02:00
Cédric Krier
6b1dacb441
Select only SEPA mandates of the same company as the payment
...
Since ce8d7a19766a record rules (and especially company rules) are no more
enforced without check access. So the mandate selection should test explicitly
for the same company.
For that a new generator method is added to party to yield mandates that can
be used for a payment so this method can be easily extended to add more
constraints.
Closes #12324
2023-08-27 14:02:57 +02:00
Cédric Krier
26c431a686
Make account type on line unique per budget
...
Closes #12527
2023-08-25 13:35:31 +02:00
Cédric Krier
8a7aaeb278
Do not invoice non order line
...
As we can only ensure to keep the layout for the first invoice, it is less
astonishing for the user that we never invoice the non lines.
2023-08-26 14:59:59 +02:00
Cédric Krier
ccfd9e0797
Create invoice line for not line only if it is for the first invoice
...
This is the only case where we are sure that the layout will be conserved.
Closes #12320
2023-08-25 22:37:22 +02:00
Cédric Krier
60e3544d81
Convert shipment costs in company currency when they have been generated
...
For shipment cost from the shipment, the effective date of the shipment is
used.
And for shipment cost from the sale order, the sale date is used.
2023-08-21 15:58:05 +02:00
Cédric Krier
d03ff8f1de
Deduce sold shipment cost from shipment once sale is shipped
...
When the shipment cost method is by order, the sold shipment cost is
dispatched between shipments once the sale is shipped.
The amount is stored on the shipment for each sale (in case the shipments have
been grouped) and deduced from the shipment cost when it is set on the stock
moves.
Closes #12506
2023-08-21 15:34:26 +02:00
Cédric Krier
237b3b3e49
Reuse shipment cost readonly to set carriage cost readonly
2023-08-21 15:30:53 +02:00
Sergi Almacellas Abellana
694243293b
Set taxes date on recall invoice lines
...
Closes #12513
2023-08-23 09:42:20 +02:00
Cédric Krier
61aceb4f19
Use One2Many for searching advance and recalled invoice line
...
The method get_recall_lines is called by create_invoice which is called from
the processing loop on the sales. So it is better to use relation fields
instead of triggering search query on each iteration.
2023-08-29 17:35:58 +02:00
Cédric Krier
5f42fb244a
Add test scenario for sale advance payment with invoice on shipment
...
#12319
2023-08-29 17:07:45 +02:00
Cédric Krier
203fd3a1cf
Recall advance line only for the amount not yet recalled
...
The method get_recall_lines is called each time an invoice is created so it
should consider the amount previously recalled.
Closes #12319
2023-08-29 17:06:55 +02:00
Cédric Krier
e2e767fae2
Rename Uom to Unit for move
...
Closes #12561
2023-09-13 09:42:02 +02:00
Cédric Krier
270ee0f8cb
Remove Weight UoM Digits on carrier price list
2023-08-20 12:50:27 +02:00
Cédric Krier
2df68915d8
Remove quantity UoM digits on stock location
2023-08-20 12:49:38 +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
780e781d69
Rename Lot Unit to Lot UoM for product
...
Closes #2221
2023-08-20 11:31:15 +02:00
Cédric Krier
3a6e278b39
Rename UOM to Unit for purchase request
...
Closes #2221
2023-08-21 09:31:27 +02:00
Cédric Krier
cd9dcfd84c
Rename Uom to Unit for bill of material
...
Closes #2221
2023-08-20 01:39:36 +02:00
Cédric Krier
38e87b12f8
Rename UOM to Unit for forecast line
...
Closes #2221
2023-08-20 01:24:32 +02:00
Cédric Krier
cb08557fad
Rename Uom to Unit for move and inventory
...
Closes #2221
2023-08-22 13:18:33 +02:00
Cédric Krier
d44297eae6
Rename UOM to Unit for product supplier
...
Closes #2221
2023-08-21 09:30:21 +02:00
Cédric Krier
b494a58475
Rename Uom to Unit for production
...
Closes #2221
2023-08-19 15:22:30 +02:00
Cédric Krier
a44c520de8
Fill unit price of purchase line in test scenario
...
Since 2f25450e11f6 the unit price is no more filled if there is no supplier
price or previous purchase.
2023-09-11 22:07:13 +02:00
Cédric Krier
919e6b13fa
Fill unit price of purchase line created automatically
...
Since 2f25450e11f6 the on_change_product does not always set a unit price for
purchase line. But as the field is required, it must be filled for line
created.
2023-09-11 22:06:11 +02:00
Cédric Krier
0a6e049de2
Pre-validate invoice address when confirming purchase
...
The invoice address is only required from confirmation.
Closes #12499
2023-08-17 19:29:48 +02:00
Cédric Krier
536d95a219
Do not require purchase date when pre-validate on quotation
...
The purchase date is filled by default on confirmation.
Closes #12499
2023-08-17 19:24:03 +02:00
Cédric Krier
297a9f4f1d
Use price from last purchase as product price
...
The cost price is not really relevant as purchase price because it may include
extra cost like landed cost.
Closes #12494
2023-08-17 16:26:09 +02:00
Cédric Krier
3cbb0efb43
Order by descending id to get the last 10 purchases
...
Closes #12497
2023-08-17 16:18:21 +02:00
Cédric Krier
2df45a15d4
Ensure to always have a unit price on purchase line created from request
2023-08-17 16:16:56 +02:00
Cédric Krier
d44f20599a
Keep the existing purchase price if the price from the product is empty
2023-08-17 16:16:17 +02:00
Cédric Krier
4430198462
Set only once date when computing purchase and sale prices
2023-08-17 16:13:40 +02:00
Cédric Krier
4deaaf59a2
Round price returned by get_purchase_price
2023-08-17 17:57:11 +02:00