Commit Graph
994 Commits
Author SHA1 Message Date
Cédric Krier e2e05b146c Use purchase line unit when invoice line has no unit
Closes #12462
2023-10-09 18:31:37 +02:00
Cédric Krier 33be950d8b Use sale line unit when invoice line has no unit
Closes #12462
2023-10-09 18:31:27 +02:00
Cédric Krier 9cff1e0b62 Do not compute account party for general ledger line without party
Closes #12570
2023-10-05 23:18:51 +02:00
Cédric Krier 2d6c34db34 Always fill product and template of cost price revision
If an error is raised when computing the new cost price, the management tries
to display the product name. So the product and the template must be set
explicitly because the revision is not yet saved in the database.

Closes #12616
2023-10-05 13:06:22 +02:00
Cédric Krier b3786c07e3 Add missing button decorator to POS cash transfer
Closes #12623
2023-10-07 20:05:38 +02:00
Cédric Krier cc53f0bd4b Make purchase request description always readonly
The changeset 3a0931d04904 added a readonly states but the description is a
substitut to the product so it should be readonly like the product.

Closes #12555
2023-10-07 19:22:06 +02:00
Cédric Krier a82578054c Do not allow user to create or delete payment group
The payment groups are only created by the processing of payments.
2023-09-04 16:30:47 +02:00
Cédric Krier e2ffc7d981 Do not apply cost sale to cancelled shipments
Closes #12621
2023-10-07 12:04:12 +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 b356dc2276 Search for invoice and purchase lines from the same company as the invoice 2023-10-06 15:05:47 +02:00
Cédric Krier 88d91e9b92 Assign id instead of instance when filling invoice from document incoming
This ensures that the instances have the right context from the field
definition.

Closes #12619
2023-10-06 15:04:39 +02:00
Cédric Krier 83d817309c Add scenario to test default taxes for purchase without product 2023-10-04 17:19:01 +02:00
Cédric Krier bf71a702c9 Compute taxes when purchase is changed on line
Closes #12612
2023-10-04 17:18:47 +02:00
Cédric Krier 120c0f745e Add scenario to test default taxes for sale without product 2023-10-04 17:18:23 +02:00
Cédric Krier 93d8d997df Compute taxes when sale is changed on line
Closes #12612
2023-10-04 17:17:51 +02:00
Cédric Krier 639ead79a6 Add number and reference fields to ShipmentMixin 2023-10-07 17:17:32 +02:00
Sergi Almacellas Abellana a22de3c794 Make shipment reference not readonly
Closes #11879
2023-05-17 09:04:54 +02:00
Cédric Krier b19f1b51e1 Add shipping reference in replacement of reference 2023-10-07 17:27:42 +02:00
Maxime Richez ea052f9930 Set inventory moves readonly for picked customer shipment
Closes #12613
2023-10-05 13:33:29 +02:00
Maxime Richez 76921bfccc Add menu entry to list warehouses
Closes #12608
2023-10-09 12:43:39 +02:00
Maxime Richez 0416811b33 Grant read access for account group to stock move
Closes #12602
2023-10-02 13:39:00 +02:00
Cédric Krier 6714a94b28 Autocomplete party from European VAT number 2023-09-30 16:14:33 +02:00
Cédric Krier 4bdad83247 Use vat alias for party identifier 2023-09-26 23:46:13 +02:00
Cédric Krier 66e460b97d Do not consider purchase as done when invoice or shipment state are none
If there are still line to invoice or to receive, the purchase should not be
done.

Closes #12594
2023-09-27 12:30:12 +02:00
Cédric Krier 7f341ec3ed Do not consider sale as done when invoice or shipment state are none
If there are still line to invoice or to ship, the sale should not be done.

Closes #12594
2023-09-27 12:29:36 +02:00
Sergi Almacellas Abellana b5ae87d422 Post move when posting sale point transfer
Closes #12563
2023-10-07 19:55:15 +02:00
Cédric Krier 655eafe328 Display optional company on lines to pay list 2023-10-02 12:05:42 +02:00
Cédric Krier a2ba60730b Set origin on shipment cost invoice line earlier
The origin must be set before calling on_change_product such that module like
account_tax_rule_country can fill the tax rule pattern.

Closes #12507
2023-08-29 14:11:32 +02:00
Cédric Krier cea1fcad74 Remove employee and employees from evaluation context of rule domain
Closes #12581
2023-09-24 13:56:20 +02:00
Cédric Krier d87effab7b Allow customizing context per model for rule 2023-09-24 13:59:00 +02:00
Cédric Krier 3333a35bda Remove carriage return in search domain to give access to purchase 2023-09-20 09:52:02 +02:00
Cédric Krier 8c36e148e9 Register admin in purchase request group next to the group definition 2023-09-20 09:50:53 +02:00
Cédric Krier 8d7158fc89 Remove readonly access to attendance sheet
Since 5870e7a5b3ee models based on table query are readonly by default.
2023-09-20 09:50:15 +02:00
Cédric Krier a30ff416a2 Remove group access on action window
Since d41d48d68cdf the read access to the target model of action window is
checked.
2023-09-20 09:48:14 +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 c34add03ad Do not copy account statement descriptions to moves nor lines
Since 73fda56fc994 the description of the origin is used as fallback.

Closes #12615
2023-10-05 12:55:43 +02:00
Cédric Krier 98de8467ce Do not sum empty cost used to create sale shipment cost
Closes #12610
2023-10-02 18:39:14 +02:00
Cédric Krier bdb43b84b2 Remove trailing comma on time_series definition on purchase reporting per product
Closes #12605
2023-10-02 09:44:26 +02:00
Cédric Krier c6ac00261d Convert ImmutableDict points value from quality inspection before modify it
Closes #12551
2023-09-24 23:59:20 +02:00
Cédric Krier 11caf1d821 Fix wording of description help of move template 2023-09-30 22:18:47 +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
Cédric Krier a28213e137 Warn when submitting, approving or proceeding payment with reconciled line 2023-09-11 12:47:13 +02:00
Cédric Krier 42c9ffb209 Warn when cancelling, grouping, rescheduling or delegating move line with payment 2023-09-08 20:52:32 +02:00
Cédric Krier 8cf114cc27 Add comment about the ISO 20022 Intellectual Property Right Policy
Closes #12304
2023-08-27 13:45:32 +02:00
Cédric Krier 555102f942 Display shipment state on internal shipment report
Closes #12501
2023-08-26 12:54:44 +02:00
Cédric Krier 8eb0fb4ecf Display shipment state on supplier restocking list
Closes #12501
2023-10-03 13:01:59 +02:00
Cédric Krier bf84ee262b Display shipment state on customer return restocking list
Closes #12501
2023-08-26 12:53:42 +02:00
Cédric Krier 65e1180d34 Display shipment state on picking list
Closes #12501
2023-08-26 12:52:53 +02:00
Cédric Krier 7cc2b40942 Display shipment state and warehouse country on delivery note
Closes #12501
Closes #5224
2023-08-26 12:51:51 +02:00
Cédric Krier fb6b49156a Add warning when receiving too much component goods from sale return
Closes #12521
2023-08-24 18:25:55 +02:00