Commit Graph
927 Commits
Author SHA1 Message Date
Adrià Tarroja Caubet 0b08c2e786 Change currency exchange account order in form
Closes #12585
2023-09-20 17:41:09 +02:00
Adrià Tarroja Caubet 8b53bb97d5 Fix wrong eval domain field on sale line actual_quantity
Close #12568
2023-09-14 16:15:12 +02:00
Adrià Tarroja Caubet be23068f23 Do not set default value for removed consumed field when copying subscription
The field consumed has been replaced by consumed until since 3ddf6d1eab0d.

Closes #12577
2023-09-24 19:07:58 +02:00
Cédric Krier 87c1089584 Add document_incoming_ocr_typless module 2023-09-14 13:10:13 +02:00
Cédric Krier 5bbbbca9c4 Add document_incoming_ocr module 2023-09-14 13:10:20 +02:00
Cédric Krier 380fd29cd9 Add document_incoming_invoice module 2023-09-14 13:10:30 +02:00
Cédric Krier f7faf6935c Add document_incoming module 2023-09-14 13:10:41 +02:00
Cédric Krier c5a3340851 Update taxes when create invoices 2023-07-25 15:34:01 +02:00
Cédric Krier 11f1aa1b30 Add inbound email module 2023-09-06 13:19:11 +02:00
Cédric Krier b889a23fda Return promotion unit price as None if it is evaluated to Null
Closes #12591
2023-09-26 09:48:13 +02:00
Cédric Krier 5de4f639db Store original planned date of shipments to compute delay 2023-09-10 21:27:51 +02:00
Cédric Krier a20b805f16 Store original planned date of stock move and compute delay 2023-09-10 21:28:51 +02:00
Cédric Krier 9f30d0056d Add test for changing type of analytic account with lines 2023-09-12 18:39:48 +02:00
Cédric Krier 50171f58c8 Use analytic move line to check move domain
Closes #12560
2023-09-12 18:39:15 +02:00
Cédric Krier b0ea6003e9 Fallback to original copied value of assigned stock move
The default values used by 9d4aff3c72e2 to group copy calls may contains keys
that are not in the modified values because of the union.
In order to keep the copy call grouped as much, we just need to fallback to
the original data value for the fields that are not modified.

Closes #12290
2023-09-17 19:55:50 +02:00
Cédric Krier 0cfc78cdad Do not fail to set default fiscal year when context value is None
We can not compare contextual fiscalyear or period as positive if their values
have been set to None.

Closes #12502
2023-09-17 19:19:17 +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 1b939269dd Define when set or reset employee field 2023-09-17 09:58:08 +02:00
Cédric Krier b6828e820d Fill unit price for purchase line in test scenario
Since 2f25450e11f6 the unit price of purchase line is not filled for the first
purchase.
2023-09-24 16:51:08 +02:00
Cédric Krier ec93032df8 Restore get purchase unit price
2f25450e11f6 removes it but it is needed for purchase_price_list module.
2023-09-24 16:49:52 +02:00
Cédric Krier 2ed89ae14c Rename uom into unit in customer return restocking list report
Since 7129f417a22c uom on stock move is renamed into unit.
2023-09-19 10:15:03 +02:00
Cédric Krier 034a402b59 Prevent user to modify clearing reconciled field on payment
Closes #12454
2023-08-05 19:32:59 +02:00
Cédric Krier ef1405dda7 Update documentation of account_payment_clearing 2023-08-05 19:54:57 +02:00
Cédric Krier e9db5f0234 Update documentation of account_payment 2023-08-05 15:41:00 +02:00
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