Commit Graph
57399 Commits
Author SHA1 Message Date
Cédric Krier d87effab7b Allow customizing context per model for rule 2023-09-24 13:59:00 +02:00
Cédric Krier d2908701c6 Use dedicated method to skip user warning 2023-09-24 13:23:53 +02:00
Cédric Krier 01b47f30c8 Remove own view search access rules
Instead we use dedicated get/set/unset methods which enforce access rights.
2023-09-21 17:55:29 +02:00
Cédric Krier 0dfb4dc591 Remove own export access rules
Instead we use dedicated get/set/unset methods which enforce access rights.
2023-09-21 17:55:40 +02:00
Cédric Krier e47cee2065 Remove own favorite access rule
The favorites are managed by dedicated get/set/unset methods which enforce
same user.
So we can just restrict modification to administrator group.
2023-09-21 14:51:42 +02:00
Cédric Krier 6ade5351fb Remove own session access rules
They are useless because session models CRWD methods are not available for
RPC.
2023-09-21 14:07:51 +02:00
Cédric Krier 1b44371641 Remove unnecessary clear of caches when groups are modified
It is the link between group and user that matters for the caches.
2023-09-22 13:42:59 +02:00
Cédric Krier e3c2c10460 Remove unused name parameter from User.get_groups 2023-09-21 14:05:03 +02:00
Cédric Krier 76c442aa20 Use user groups instead of user id in key of access cache
This increases the cache hint as it should be less group combinations than
users.
2023-09-22 11:04:29 +02:00
Cédric Krier 498bb5ff54 Return an ordered tuple for groups of current user
So the tuple can be easily compared and used as key.
2023-09-20 10:15:28 +02:00
Cédric Krier 0ff2fb5651 Add user to get keyword cache
Since d41d48d68cdf model access is checked for window actions. So the returned
keywords depend on the user access rights.

Closes #12580
2023-09-20 09:59:02 +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
Nicolas Évrard 3f8c74138f Reset state of records when a sibling is in exception on node collapse
When loading a record raises an error, the record stays in error forever.
With the node resetted to an unloaded state another opening of the parent node
will trigger a reread which solves the transient errors

Closes #12463
2023-08-14 17:57:19 +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 e65b98524e Do not store in transaction cache instances of Reference fields
If the target of the Reference field is deleted, the transaction cache is not
cleared because there is no "ON DELETE" support for Reference field. Instead
the ids are checked in the Reference.get method.

Closes #12599
2023-09-28 17:44:29 +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
Cédric Krier e7e53ff049 Add warning when receiving too much goods from sale return
Closes #12521
2023-08-24 18:25:32 +02:00
Cédric Krier ba2772f504 Add warning when receiving too much component goods from purchase
Closes #12521
2023-08-24 18:26:05 +02:00
Cédric Krier 10525611df Add warning when receiving too much goods from purchase
Closes #12521
2023-08-24 18:18:15 +02:00
Cédric Krier 8034578805 Check customer lot quantities for drop shipment 2023-08-23 19:56:48 +02:00
Cédric Krier 7a4c627da7 Check customer product quantities for drop shipment 2023-08-23 19:56:35 +02:00
Cédric Krier a4b2fbb3c4 Check outgoing lot quantities for internal shipment 2023-08-23 19:45:46 +02:00
Cédric Krier f4f4a9cec1 Check outgoing product quantities for internal shipment 2023-08-23 19:45:33 +02:00
Cédric Krier ea6575e93b Check inventory lot quantities for customer return shipment 2023-08-23 19:37:24 +02:00
Cédric Krier 85712761dc Check inventory product quantities for customer return shipment 2023-08-23 19:37:13 +02:00
Cédric Krier bac493a487 Check outgoing lot quantities of customer shipment 2023-08-23 19:30:16 +02:00
Cédric Krier da8f2d7c2d Check outgoing product quantities of customer shipment 2023-08-24 09:36:16 +02:00
Cédric Krier 742725d333 Do not prevent to pack customer shipment with cancelled inventory moves 2023-08-23 18:18:20 +02:00
Cédric Krier 914d87ff78 Check inventory lot quantities of supplier shipment
Closes #4545
2023-08-23 19:04:20 +02:00
Cédric Krier 9b2564145e Check inventory quantity of supplier shipment
Closes #4545
2023-08-23 19:04:28 +02:00
Cédric Krier 4268b22ad2 Require unit price only for confirmed purchase
This allows to send quotation to supplier without prices and fill them when
the quotation is received.

Closes #12498
2023-08-17 19:19:51 +02:00
Nicolas Évrard 583d911bc8 Use grid layout to implement form container in sao
Closes #11966
2023-10-02 12:54:03 +02:00
Maxime Richez fa5ae37c46 Always allow editing invoice reference, description and comment by accounting administrator 2023-09-19 14:17:33 +02:00