Commit Graph
826 Commits
Author SHA1 Message Date
Cédric Krier d6a92dc606 Add default price list line to test sale extra
Since d632eee3c4c3 the price list returns None as unit price if no matching
line is found.

Closes #12505
2023-08-21 09:57:28 +02:00
Adrià Tarroja Caubet 4fffd30011 Fix pallet typo on docs
Closes #12520
2023-08-24 13:04:02 +02:00
Cédric Krier ac86331140 Use only stock move with cost price for product cost price history
The cost price on stock move is only required by validation so we can not
ensure over time that all the stock moves selected have a cost price.

Closes #12468
2023-08-12 20:10:06 +02:00
Cédric Krier 0fe7228d58 Try to post only clearing move of journals from the contextual company
Closes #12453
2023-08-05 00:27:11 +02:00
Cédric Krier 69c88b6a8a Do not apply unaccent when searching on number fields
Closes #12435
2023-08-03 15:54:33 +02:00
Cédric Krier 9c2a9623e4 Delete on cascade account receivable rules
When company, account or journal are deleted, the rules using them should not
prevent the deletion and should be deleted as well.
2023-08-07 11:19:24 +02:00
Cédric Krier ad0b2411c8 Order number fields first by length
This is more natural for incremental field.
2023-08-03 15:53:18 +02:00
Cédric Krier 6daca5a307 Rename stock package code to number 2023-08-03 15:58:57 +02:00
Cédric Krier 7502b9d26d Merge account dunning email logs into email archives
Closes #12214
2023-07-28 00:54:49 +02:00
Cédric Krier 4d3b90faea Add missing ending dot in project invoice error message 2023-08-02 22:42:26 +02:00
Cédric Krier 2b96ba7428 Add access rights to stock lots by locations
Closes #12348
2023-07-29 23:25:26 +02:00
Cédric Krier 10d42631b0 Fix path for sphinx configuration in readthedocs configuration 2023-08-12 12:20:34 +02:00
Cédric Krier e5d264a7ee Add product_price_list_cache module 2023-08-12 09:06:26 +02:00
Cédric Krier 9dfcabf8c5 Update documentation of product_price_list_dates 2023-03-30 19:28:15 +02:00
Cédric Krier 5a23012694 Remove unit price to compute price list
Instead the value of unit price comes from the product and is defined on the
price list.
2023-03-30 19:11:27 +02:00
Cédric Krier 024a6bf0a3 Remove party to compute price list 2023-03-29 13:41:04 +02:00
Cédric Krier 8eb77eb3c5 Add a button to create shipment manually from sale
Closes #12412
2023-07-19 15:26:39 +02:00
Cédric Krier 6b4c649367 Add a button to create invoices manually from sale
#12412
2023-07-19 13:27:34 +02:00
Cédric Krier 3dac1d819d Add a button to create invoices manually from purchase
#12412
2023-07-19 11:26:33 +02:00
Cédric Krier f86cd2c6d4 Drop notification email log table after migration
And use the configured table name if set.

Closes #12438
2023-07-28 01:03:10 +02:00
Cédric Krier 14c0d66b11 Generate invoices and consumptions only for contextual company
Closes #12345
2023-07-24 23:51:00 +02:00
Cédric Krier d41cb4d14a Call the same search method in super call when extending for components
Closes #12434
2023-07-25 11:02:09 +02:00
Cédric Krier 301cb13dca Evaluate also parent shipment to make readonly dates and buttons of stock move
Closes #12404
2023-07-23 21:07:34 +02:00
Sergi Almacellas Abellana 1ae7c02f97 Use proper module for message when checking shipment cost for sale quotation
Closes #12458
2023-08-09 23:20:03 +02:00
Adrià Tarroja Caubet 83220a6076 Reuse cumulate per party from context as default value for general ledger line
Closes #12367
2023-07-05 16:32:56 +02:00
Cédric Krier a1118902e0 Skip promotion based on categories if line has no product
Closes #12351
2023-08-02 19:09:51 +02:00
Cédric Krier ad44d043ad Remove empty modules
The directories have been wrongly created by ffef63a3959b
2023-08-06 19:27:32 +02:00
Sergio Hervas dc9edffff4 Add window tab for quotation and received states of purchase requests
Closes #12323
2023-08-07 19:42:18 +02:00
Cédric Krier 36618628dd Set next party after next account only on initial filling of accounts
When the next account method is called from the while loop, the next party is
always called by the upper loop.
If next party is called also in next account then the first party is skipped.

Closes #12327
2023-07-17 23:05:11 +02:00
Cédric Krier 1aa704e18f Update link to signing secret documentation of Stripe
Closes #12442
2023-08-01 09:07:01 +02:00
Cédric Krier fa29b69761 Replace progressbar by tqdm 2023-07-22 19:36:08 +02:00
Cédric Krier adc26533da Add .readthedocs.yaml configuration [skip ci]
This is required by Read the Docs service:
https://blog.readthedocs.com/migrate-configuration-v2/

Closes #12344
2023-08-06 11:06:08 +02:00
Cédric Krier 8ac07169a3 Cancel cancelling move instead of delete in test scenario
Since efdb98eb55e5 cancel move is posted of the cancelled move is already
posted. So the cancelling move can no more be deleted, instead it must be
cancelled without reversal to have the same effect.
2023-08-06 01:04:24 +02:00
Blaž Bregar c4fb1ee148 Add new identifiers up to python-stdnum 1.18
Closes #12275
2023-08-05 18:29:01 +02:00
Cédric Krier 8d537cca60 Show expiration date on lot if filled
Even if the product has the expiration date state to 'none', if the date is
filled we should show it to let the user clear it.

Closes #12414
2023-07-23 18:48:01 +02:00
Cédric Krier 6fa765b291 Compute stock quantity based on shipping date
Since 199376009ebb we have a shipping date on the sale line which should be
used instead of the sale date to check stock quantity.

Closes #12388
2023-07-12 11:27:25 +02:00
Cédric Krier 2be6515fa6 Start remainder with all lines for amount to pay invoice
This is the worst case before finding a better one with a lower remainder.

Closes #12403
2023-07-15 01:05:48 +02:00
Cédric Krier 852741ae54 Set overpayment by default when amount is greater than the amount to pay 2023-07-14 12:02:49 +02:00
Cédric Krier 03e0455e75 Do not allow overpayment of invoice when write-off amount is negative
When paying less than the amount to pay, there is no overpayment.
2023-07-14 12:01:05 +02:00
Cédric Krier c3da634f9f Require lines when paying invoice with write-off or overpayment
This is needed ensure that at least one line to pay of the invoice is
reconciled.
The lines and payment lines are also shown for overpayment.

Closes #12403
2023-07-14 11:59:19 +02:00
Nicolas Évrard 768e44bc8a Return period end date as default date for account move
When period is before today, the default date of the account move must be set
with the period end date.

Closes #12408
2023-08-02 22:05:22 +02:00
Maxime Richez c7cb91e369 Sync secondary unit on supplier and internal shipments
When synchronize the outgoing or incoming move, the secondary unit must be
copied from the template.

Closes #12301
2023-08-02 19:28:47 +02:00
Cédric Krier 84b2c346b5 Remove unnecessary group on menu
Menu with an action window do not anymore to be hidden by group for access
since #12322
2023-06-23 14:51:59 +02:00
Sergi Almacellas Abellana 58c7f8c517 Inherit marketing campaing opportunity abstract models in right order
Abstract models should be always the last in inheritance because
they are object when optional dependencies are not activated
PoolMeta shold be added because all classes in the pool must inherit from it

Closes #12375
2023-07-05 14:50:34 +02:00
Maxime Richez 5a97280814 Always compute product quantities for sales with children
with_childs is set to True by default only when one location is in the context.
But for the product list in sales, we want to have the quantities with children
also if more than one warehouse is selected.

Closes #12377
2023-07-07 16:20:56 +02:00
Cédric Krier 6acffaf048 Replace on_change_with_planned_start_date of production
Since 74c33f2fe011, the method has been replaced by set_planned_start_date,
the pattern has been remove to stay only on compute_lead_time.

Closes #12423
2023-07-22 18:55:46 +02:00
Cédric Krier 0dbfe051e8 Copy pattern of production lead time before modification
We should not modify the caller mutable structure.
2023-07-22 18:53:50 +02:00
Sergi Almacellas Abellana add6afeaed Avoid duplicated total amount on SII invoices with multiple taxes per line 2023-07-21 11:47:38 +02:00
Sergi Almacellas Abellana 23a95054f8 Group sii taxes detail based on tax rate
Closes #12420
2023-07-21 10:36:43 +02:00
Cédric Krier f2ebadf1da Test company header is not empty before using its id
Closes #12363
2023-07-18 22:58:23 +02:00