Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[11.0] [MIG] Migrate donation_base #45

Merged
merged 23 commits into from
Oct 28, 2018

Conversation

nikul-serpentcs
Copy link
Member

Donation Base

  • This is the base module for donations. This module doesn't do anything in itself ; it just adds some properties on products and partners and adds the donation.tax.receipt object.

@JayVora-SerpentCS Could you please review it?

alexis-via and others added 22 commits October 10, 2018 15:39
Move from YAML tests to unittest in most modules
Use commercial_partner_id for tax receipts (to group tax receipts for a company or a familly)
On donation.line, tax_receipt_ok and in_kind are now related stored fields
XML code cleanup (remove fields for which he give the default value)
Adapt the code of other modules for the introduction of donation_sale
'Account' decimal precision doesn't exist in v10 -> use currency precision
Add Eligible tax receipt amount in donation report
Add print button on donation tax receipt form view
Remove @api.multi when not needed
PEP8 fixes
Replace openerp by odoo
@coveralls
Copy link

coveralls commented Oct 11, 2018

Coverage Status

Coverage remained the same at 84.0% when pulling 42cfa52 on nikul-serpentcs:11-donation_base into 02f96a1 on OCA:11.0.

@nikul-serpentcs nikul-serpentcs force-pushed the 11-donation_base branch 2 times, most recently from 4cf3f36 to b396136 Compare October 11, 2018 09:18
self.env['donation.tax.receipt'].update_tax_receipt_annual_dict(
tax_receipt_annual_dict, self.start_date, self.end_date,
precision_rounding)
# {commercial_partner: {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove dead code

@nikul-serpentcs
Copy link
Member Author

@JayVora-SerpentCS @pedrobaeza @tafaRU Could you please review it?

@alexis-via
Copy link
Contributor

I made a rapid review, that's fine for me. There has been several improvements in the 10.0 branch in the meantime, which would be great to up-port, but this can be done in a later PR, I don't want to post-pone this for an up-port.

@alexis-via alexis-via merged commit d06dc1a into OCA:11.0 Oct 28, 2018
@nikul-serpentcs nikul-serpentcs deleted the 11-donation_base branch October 29, 2018 04:46
@nikul-serpentcs nikul-serpentcs restored the 11-donation_base branch October 29, 2018 04:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants