Commit Graph

581 Commits

Author SHA1 Message Date
lreficent
2a905209e7 [9.0][FIX] rma_account: refund wizard 2023-02-22 11:16:02 +01:00
lreficent
83e01d640d [9.0][FIX] wizards need to specify partner. 2023-02-22 11:16:02 +01:00
lreficent
aeeba9db8d [9.0][IMP] rma: add constrains 2023-02-22 11:16:02 +01:00
lreficent
c136af8755 [9.0][REW] rma_account: adapt. 2023-02-22 11:16:02 +01:00
lreficent
3545cf83fd pylint 2023-02-22 11:16:02 +01:00
lreficent
e2b2e0a622 [9.0][IMP] rma_account:
* remove unneded copy attributes.
* simplify action_view methods.
* fix wrong naming.
* fix misplaced views.
* fix wrong count and view actions for rma.orders in invoices.
* fix error when installing the module.
* remove unneded data update when preparing rma lines from invoice lines.
* minor extra fixes.
2023-02-22 11:16:02 +01:00
aheficent
7e290b9a9a [IMP] default operation in product and product_categ for customer and supplier
[IMP]Separate menus for customer and supplier operations
* Add active field to rma operation
* Added tests
* Fix travis
* Fix create supplier rma from customer rma
2023-02-22 11:16:02 +01:00
lreficent
73a4369c39 [9.0][FIX] rma:
* fix assignment of moves.
* default qty in rma lines.
* remove account dependency.
* test and flake8 fixes.
2023-02-22 11:16:02 +01:00
Jordi Ballester
6ebe757d5a init branch 2023-02-22 11:16:02 +01:00
DavidJForgeFlow
7a88abb7f4 [IMP] rma: limit state statusbar 2023-02-22 11:10:02 +01:00
Lois Rilo
eb7ea39299 Merge pull request #394 from ForgeFlow/16.0-fp-390
[16.0][FIX] rma: in multi step routes, only reserve first step
2023-02-21 15:10:47 +01:00
Lois Rilo
37088edc47 [FIX] rma: in multi step routes, only reserve first step
We shoul not force reservation on next steps on a multi step
route, oherwise a inconsistency is generated and the transfers
cannot be processed or cancel so the user gets stuck ("it is
not possible to unreserve more products that you have in stock"
error).
2023-02-21 15:06:38 +01:00
Lois Rilo
54ebbedf83 Merge pull request #372 from ForgeFlow/16.0-fp-367
[16.0][FIX] rma: add stock move in supplier group
2023-02-21 14:51:35 +01:00
DavidJForgeFlow
341fe67390 [IMP] rma: cancel rma_lines 2023-02-20 20:43:41 +01:00
Lois Rilo
7d10c1dddd Merge pull request #380 from ForgeFlow/16.0-upd-repo-template
[16.0][UPD] repo template
2023-02-17 09:54:29 +01:00
Lois Rilo
8f9140cb01 [UPD] repo template 2023-02-17 09:51:09 +01:00
Lois Rilo
41541b4f10 Merge pull request #339 from akretion/16.0-fix-migration
[16][FIX] rma: Refactor onchange fields to computed fields (partial)
2023-02-17 09:39:26 +01:00
Florian da Costa
71df4774e8 [FIX] Move some field from onchange to compute fields to avoid issues in views 2023-02-17 09:29:11 +01:00
DavidJForgeFlow
00730ce592 [14.0][FIX] rma: add stock move in supplier group 2023-02-10 11:52:42 +01:00
Lois Rilo
6ef71a8b8f Merge pull request #362 from ForgeFlow/16.0-fp-359
[16.0][IMP] rma: rma groups improvements (add description, clean views, add lots to reports)
2023-01-09 17:23:11 +01:00
Lois Rilo
88cf15ffba [FIX] rma: remove "Add new line" in RMA group.
This was not the intended way to add RMA lines to a group.
Users are supposed to use the wizards to do so (add from stock
move, add from serial, etc.). Having the option to use "add
new line" was only leading to errors and confusion.
2023-01-09 17:19:51 +01:00
Lois Rilo
b15c796dcb [IMP] rma: print serial/lot number in RMA group report 2023-01-09 17:19:43 +01:00
Lois Rilo
76f57a08c9 [IMP] rma: order by id desc 2023-01-09 17:19:34 +01:00
Lois Rilo
79e1c5c2eb [IMP] rma: add description to rma order and copy it over to new lines 2023-01-09 17:19:24 +01:00
Lois Rilo
15f5819a8f [IMP] rma: rma group supplier form view as a inherited view.
The goal is to simplify view defintion and do not duplicate
things, requiring to do view changes in two places.

The same change was done from rma lines some time ago.
2023-01-09 17:19:13 +01:00
Lois Rilo
676068a65d Merge pull request #358 from ForgeFlow/16.0-fp-355
[16.0][FIX] rma: Ensure that configuration on the operation is applied
2023-01-02 11:18:54 +01:00
Lois Rilo
c975fb1464 [FIX] rma: Ensure that configuration on the operation is applied
Without this, some policies are not being copied from the
operation selected when creating new rma line from a rma group.

In v16 this patch and the usage of such onchange can be removed
in favor of (pre)computed stored editable fields for all policies
and configuration in the RMA operation.
2023-01-02 08:55:59 +01:00
Florian da Costa
f3958f33fc [FIX] count produced products going to customer as out pickings 2022-12-27 17:32:41 +01:00
Lois Rilo
ff5dc092c9 Merge pull request #354 from ForgeFlow/16.0-fp-340
[16.0][IMP] rma: add lot/serial in report
2022-12-27 10:03:55 +01:00
DavidJForgeFlow
f7c37239f8 [14.0][IMP] rma: add lot/serial in report 2022-12-27 09:57:11 +01:00
Lois Rilo
56330c13fc Merge pull request #332 from ForgeFlow/16.0-fp-330
[16.0][IMP] rma: pass product in create lot
2022-12-27 09:18:49 +01:00
Lois Rilo
6d0d733adc Merge pull request #349 from ForgeFlow/16.0-fp-318
[16.0][IMP] rma: add translations
2022-12-27 09:08:23 +01:00
AnnaPForgeFlow
6fc4a0e759 [IMP] rma: add translations 2022-12-27 09:04:32 +01:00
Lois Rilo
6ffa438ad6 Merge pull request #345 from ForgeFlow/16.0-upd-repo-template
[16.0][UPD] repo template
2022-12-20 11:27:34 +01:00
Lois Rilo
6cceed95b1 [FIX] ci: disable makepot 2022-12-20 11:23:27 +01:00
Lois Rilo
f8a922f82c [UPD] repo template 2022-12-20 11:22:48 +01:00
Jordi Ballester Alomar
e9fdac75d3 Merge pull request #335 from ForgeFlow/16.0-empty_partner_on_rma_picking
[16.0][FIX] fix empty parter on rma picking
2022-11-30 17:02:36 +01:00
Jordi Ballester Alomar
5c423eddcb [FIX] fix empty parter on rma picking 2022-11-30 16:54:54 +01:00
DavidJForgeFlow
2a815d1f31 [14.0][IMP] rma: pass product in create lot 2022-11-30 13:25:51 +01:00
Jordi Ballester Alomar
d08463673a Merge pull request #322 from akretion/16.0-mig-rma
[16][MIG] rma
2022-11-29 16:03:19 +01:00
Florian da Costa
2559cb4660 [16.0][MIG] Migrate rma module to v16 2022-11-28 16:24:49 +01:00
Florian da Costa
419ab65b14 [IMP] rma: black, isort, prettier 2022-11-28 16:11:07 +01:00
Jordi Ballester Alomar
d991e034cb [IMP] centralize the logic to get the correct cost of the RMA. 2022-11-28 16:11:02 +01:00
Jordi Ballester Alomar
577ded734a [FIX] include anglo-saxon price unit calculation in refunds.
Otherwise the anglo saxon entries won't be correct.
For example, the Interim (Delivered) account should balance
after receiving and triggering a refund on a customer rma.
2022-11-28 16:11:02 +01:00
Jordi Ballester
35681709e8 [IMP] rma_sale: introduce new config settings.
- auto_confirm_rma_sale
- free_of_charge_rma_sale
2022-11-28 16:11:02 +01:00
DavidJForgeFlow
284891c09b [15.0][FIX] rma_sale: fixup of procurement 2022-11-28 16:11:02 +01:00
Stefan Rijnhart
60a9d6decb [IMP] rma: prevent the creation of zero qty moves 2022-11-28 16:11:02 +01:00
Florian da Costa
c778c1db67 [IMP] Make rma order view cleaner for user
Hide button and fields depending on the policy chosen on the rma line
2022-11-28 16:11:02 +01:00
Florian da Costa
b933569cae Hide smart button when empty 2022-11-28 16:11:02 +01:00
Stefan Rijnhart
a4e20f6abb [FIX] rma: improve check on rule selection during procurement
Fixes #274

Thanks to @florian-dacosta for suggesting this approach.
2022-11-28 16:11:02 +01:00