Commit Graph
57312 Commits
Author SHA1 Message Date
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 684c8c9444 Use more meaningful label for buttons on window form
The label of each button depends on its behavior defined by the configuration.
It is implies that all buttons close the dialog so it is omitted.

Closes #12369
Closes #12372
2023-08-31 12:27:08 +02:00
Cédric Krier a72acf0402 Do not use save button for readonly screen
Even if save_current is set, a readonly screen is never saved on response.

Closes #12538
2023-08-30 15:50:30 +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 b90baa9fac Do not set automatically as value the unique record found
As search is fuzzy (done with ilike) we need to ensure that the user validate
the value by selecting it.

Closes #11840
2023-07-03 22:52:19 +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 208ac87281 Add support for scanning code 2023-07-04 17:50:50 +02:00
Cédric Krier d3b553bf23 Reject deferred with the error as argument 2023-07-03 19:42:55 +02:00
Cédric Krier d47163be93 Add unittest for MatchMixin 2023-08-18 17:06:44 +02:00
Cédric Krier b7432a677d Convert pattern values into boolean when matching boolean field
Closes #12504
2023-08-18 17:06:26 +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 c583528ca8 Do not set rec_name for unsaved record
Since 0db956eb2505 _changed_value is used for on_change_with calls, so it can
have to deal with unsaved Many2One value if it is the parent of a One2Many.
2023-09-11 22:02:27 +02:00