Cédric Krier pushed to branch branch/6.0 at Tryton / Tryton


Commits:
dfb8e30a by Cédric Krier at 2023-09-24T11:23:22+02:00
Recall advance line only for the amount not yet recalled

The method get_recall_lines is called each time an invoice is created so it
should consider the amount previously recalled.

Closes #12319
(grafted from e29bfa6cb09fce837d5f01b20468e42bbfce5def)
- - - - -
b3973979 by Sergi Almacellas Abellana at 2021-09-30T13:12:24+02:00
Avoid future invoice date in test scenario

issue10759
review360191002
(grafted from 56e9772f8b27a489677e37e2dd82e7b6e40c5bc1)
- - - - -
d93c02e3 by Sergi Almacellas Abellana at 2023-08-23T09:42:20+02:00
Set taxes date on recall invoice lines

Closes #12513
(grafted from 685de7d55b0723526b5e5b3731e4d29f169007f3)
- - - - -
0f468c4f by Cédric Krier at 2023-08-25T22:37:22+02:00
Create invoice line for not line only if it is for the first invoice

This is the only case where we are sure that the layout will be conserved.

Closes #12320
(grafted from fd07f6017e8154dbb5740c296e48d4c974eaf3e8)
- - - - -
bc224209 by Cédric Krier at 2023-08-27T14:02:57+02:00
Select only SEPA mandates of the same company as the payment

Since ce8d7a19766a record rules (and especially company rules) are no more
enforced without check access. So the mandate selection should test explicitly
for the same company.
For that a new generator method is added to party to yield mandates that can
be used for a payment so this method can be easily extended to add more
constraints.

Closes #12324
(grafted from 632676e2c4244cba2ced1fa6d455219deaeefae5)
- - - - -
55193e34 by Cédric Krier at 2023-08-30T15:50:30+02:00
Do not use save button for readonly screen

Even if save_current is set, a readonly screen is never saved on response.

Closes #12538
(grafted from 557766ce97feda3facfdfee7eb88da2692b9f559)
- - - - -
b0271205 by Cédric Krier at 2023-07-22T16:31:25+02:00
Use empty string if street is None when rendering UNCEFACT 16B-CII

Closes #12425
(grafted from 63941b9cb66f1c97c8fa242702baf3cd07f17203)
- - - - -
8479fb66 by Cédric Krier at 2023-07-22T16:37:00+02:00
Test also the amount of invoice lines without product to compute the UNCEFACT 
type

Closes #12426
(grafted from ba2ab66f19af216c4a780dd678d55ea743dfb89a)
- - - - -


10 changed files:

- modules/account_payment_sepa/party.py
- modules/account_payment_sepa/payment.py
- modules/edocument_uncefact/edocument.py
- modules/edocument_uncefact/template/16B-CII/CrossIndustryInvoice.xml
- modules/purchase/purchase.py
- modules/sale/sale.py
- modules/sale_advance_payment/sale.py
- modules/sale_advance_payment/tests/scenario_advance_payment.rst
- sao/src/window.js
- tryton/tryton/gui/window/win_form.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/e0737a64337a635642065ff69eea7526236f68a3...8479fb6685c9e8743dba12494865fb637adba1cb

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/e0737a64337a635642065ff69eea7526236f68a3...8479fb6685c9e8743dba12494865fb637adba1cb
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to