Commit Graph
57470 Commits
Author SHA1 Message Date
Sergi Almacellas Abellana 02fb1de0fd Set gift card flag on periodificationes a corto plazo types of Spanish chart
Closes #12593
2023-10-21 14:43:35 +02:00
Cédric Krier e64dbbefa9 Test account reconcile scenario without party required 2023-10-11 18:35:03 +02:00
Cédric Krier caf654f1ec Set party clause to None when retrieve currencies to reconcile without party
Closes #12601
2023-10-11 18:34:32 +02:00
Cédric Krier ada6602717 Return None when date_trunc is called with NULL in SQLite
Closes #12649
2023-10-17 17:09:36 +02:00
Cédric Krier 7976c25985 Add parent_action as depends on event and on activity fields
It is needed otherwise non editable view displaying those fields will set the
value to None thanks to the domain inversion.

Closes #12646
2023-10-16 16:17:05 +02:00
Maxime Richez 37febc448c Remove duplicate party on invoice lines list
Since bd7b1e764e0b, party and description are added to invoice line list.

Closes #12638
2023-10-16 16:55:58 +02:00
Maxime Richez 9394d64c2a Allow to send email without files to attach
Closes #12645
2023-10-16 16:48:40 +02:00
Cédric Krier 2d88ad118c Use explicit Stripe API version
Since Stripe v6 the API version is set by the library instead of using the
configured default.

Closes #12641
2023-10-12 20:26:35 +02:00
Cédric Krier 80e19a25eb Remove EGG_MODULES to rely only on imported module path 2023-10-12 01:30:18 +02:00
Cédric Krier 058b8988a0 Use more explicit message for unknown column header when autodetecting CSV
Closes #12631
2023-10-11 11:54:27 +02:00
Cédric Krier 325c4866a6 Use distinct icons for save and download
Closes #12627
2023-10-09 14:41:24 +02:00
Sergi Almacellas Abellana d6c69503e6 Add access rules for customs models
Closes #12635
2023-10-15 20:44:10 +02:00
Cédric Krier f8a22e4fa6 Update link to CODA standard 2023-10-01 11:30:14 +02:00
Cédric Krier 57abf56b87 Use list comprehension to filter internal order point
It prevents to make a query to the database.
2023-10-07 19:53:00 +02:00
Cédric Krier f7bfe72e7f Filter search result of model with resource
The user needs to have read access to the resource target.

Closes #12588
2023-10-14 14:53:22 +02:00
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 0108d926c5 Ensure to set grid template after the widgets have been displayed 2023-10-02 17:29:19 +02:00
Cédric Krier d61e939339 Do not use .hidden class to mark cell in grid as hidden
In e5446fb8d4ce the .hidden class is added to cells to remove the padding of
empty but Boostrap defines the same class with display none.
So once a cell is marked as hidden, it stays hidden.
2023-10-02 17:28:01 +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 1436ea9b51 Add [x|y][expand|fill] attribute to button in form RNG
Closes #12617
2023-10-05 16:23:02 +02:00
Cédric Krier f2fe641927 Add preview of sequence
Closes #12609
2023-10-02 18:10:30 +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 ccf653da1d Support create record from autocomplete with default values 2023-09-26 23:45:07 +02:00
Cédric Krier 96c2cd16f1 Use defaults dictionary for new default values
Replace the rec_name argument by a dictionary of default values.
2023-09-26 14:55:34 +02:00
Cédric Krier d8530fc867 Support default value from context 2023-09-25 17:53:23 +02:00
Cédric Krier 92b3416d79 Add autocomplete method on ModelView 2023-09-25 17:22:40 +02:00
Cédric Krier 293214d231 Use likify in ModelStorage search_global 2023-09-25 16:37:07 +02:00
Cédric Krier a3877cadb3 Add likify tools 2023-09-25 16:42:04 +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