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

[16.0][MIG][l10n_br_sale] #2911

Merged
merged 943 commits into from
Aug 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
943 commits
Select commit Hold shift + click to select a range
db72707
[UPD] README.rst
OCA-git-bot Sep 23, 2020
a56fc05
Update translation files
oca-transbot Oct 3, 2020
fe99966
Adapting demo data for multi company
renatonlima Oct 22, 2020
3c8a7dd
[ADD] l10n_br_sale hook to adapt multi company sale orders
renatonlima Oct 22, 2020
c9adcc7
Translated using Weblate (Portuguese (Brazil))
ananiasfilho Oct 26, 2020
1412524
Translated using Weblate (Portuguese (Brazil))
britoederr Nov 5, 2020
ee4ac55
[FIX] Invoice quantity from sale order
gabrielcardoso21 Nov 4, 2020
130cbf2
l10n_br_sale 12.0.1.0.1
OCA-git-bot Nov 10, 2020
3fd769e
[FIX] l10n_br_sale fiscal_document_type
marcelsavegnago Oct 23, 2020
c908705
[FIX] Runbot: Two fields (quantity, product_qty) of sale.order.line()…
mileo Dec 8, 2020
cf5a6c8
[UPD] Update l10n_br_sale.pot
oca-travis Dec 8, 2020
2162295
Update translation files
oca-transbot Dec 8, 2020
0cb44a2
Translated using Weblate (Portuguese (Brazil))
britoederr Dec 22, 2020
644ab1f
[REF] sale order view
renatonlima Jan 9, 2021
bad10a2
[UPD] Update l10n_br_sale.pot
oca-travis Jan 11, 2021
97f0f1b
l10n_br_sale 12.0.1.1.0
OCA-git-bot Jan 11, 2021
50d48ea
[FIX] sale order line view
renatonlima Jan 30, 2021
07332ae
[REF] explicit account.tax sale user_type
renatonlima Jan 30, 2021
838b852
[FIX] Sale section and notes required fields
mileo Sep 8, 2020
e65a9bd
l10n_br_sale 12.0.1.2.0
OCA-git-bot Feb 1, 2021
a216167
[IMP] l10n_br_sale: imp city_taxation_code_id
marcelsavegnago Jan 18, 2021
7e0cfbd
l10n_br_sale 12.0.1.3.0
OCA-git-bot Feb 1, 2021
f3de15b
[REF] Replaced Tax field and included Total Amounts used in Brazilian…
mbcosta Jan 11, 2021
061153e
[REF] Changed fields from Float to Monetary to show R$ in report.
mbcosta Jan 13, 2021
1d38236
[FIX] Replaced taxes fields only when the company are from Brazil.
mbcosta Feb 16, 2021
bd9a621
Add journal properties data for demo companies in sale
renatonlima Feb 5, 2021
3cedc0b
[REF] l10n_br_sale: demo fiscal operation
renatonlima Feb 22, 2021
1a13feb
[REF] split fiscal operation info
renatonlima Feb 22, 2021
380b327
[UPD] Update l10n_br_sale.pot
oca-travis Feb 22, 2021
aff6108
[FIX] l10n_br_sale hook: wrong module name
renatonlima Feb 22, 2021
60a42d4
[IMP] Sale Report Hide Freight/Insurance/Costs fields
mileo Mar 1, 2021
6f5a963
[REF] Sale Report Tax multiple lines
mileo Mar 1, 2021
abf6834
[REF] Sale Report: Hide tax and gross in some cases
mileo Mar 2, 2021
72e7122
[IMP] Sale Report: x.value_amount
mileo Mar 2, 2021
fa74009
[REF] Changed product used for test Service because invoice_policy ar…
mbcosta Mar 5, 2021
2185f7c
[IMP] Test Sale Order with Product and Service.
mbcosta Mar 5, 2021
a1f2066
l10n_br_sale 12.0.1.4.0
OCA-git-bot Mar 6, 2021
9e0d20d
fixed Comparing apples and oranges
rvalyi Mar 10, 2021
75afef0
l10n_br_sale: faster CI with SavepointCase
rvalyi Mar 10, 2021
6aa0b79
Remove fiscal document button from sale order
renatonlima Feb 24, 2021
8ef1efb
[REF] Open Invoice or Fiscal Document
renatonlima Feb 25, 2021
481a6a6
[FIX] Fiscal invoice action in sale order
renatonlima Feb 26, 2021
e4d9c2d
[FIX] l10n_br_sale: flake8
marcelsavegnago Mar 3, 2021
dd199ca
[FIX] Allows create invoice line display_type
renatonlima Mar 6, 2021
66a20d6
Comment invoice action method
renatonlima Mar 8, 2021
f33bea4
[UPD] Update l10n_br_sale.pot
oca-travis Mar 12, 2021
fc73fef
l10n_br_sale 12.0.2.0.0
OCA-git-bot Mar 12, 2021
213b245
[ADD] Change discount in sent quotation
gabrielcardoso21 Feb 9, 2021
db22d7f
[FIX] Onchange when discount go back to zero
gabrielcardoso21 Feb 10, 2021
e8e52fa
[FIX] Division by zero
gabrielcardoso21 Feb 10, 2021
4ad04a8
l10n_br_sale 12.0.2.1.0
OCA-git-bot Mar 19, 2021
b06bc82
[IMP] Total Discount
gabrielcardoso21 Feb 9, 2021
4fa45ef
[REF] Rename Fiscal Taxes (IPI, PIS and COFINS) with CST Others
renatonlima Mar 23, 2021
0d2f910
l10n_br_sale 12.0.3.0.0
OCA-git-bot Mar 24, 2021
2b8f2c4
[REF] Using computed fields and methods from mixin
renatonlima Mar 3, 2021
ca26b22
[REF] update renamed fields in views
renatonlima Mar 3, 2021
c596aec
[ADD] l10n_br_sale: migration file
renatonlima Mar 3, 2021
a790a01
Update sale order line compute
renatonlima Mar 3, 2021
58bb069
[REF] l10n_br_sale: compute fields, methods to use fiscal mixin
renatonlima Mar 8, 2021
2d4153d
[REF] rename fields im sale order report
renatonlima Mar 8, 2021
d6913dc
pep8
renatonlima Mar 8, 2021
2f7268c
[FIX] fields in sale order report
renatonlima Mar 8, 2021
a36f7f0
l10n_br_sale: rename costs_value to other_value
renatonlima Mar 10, 2021
52cf19d
[UPD] Update l10n_br_sale.pot
oca-travis Mar 26, 2021
a2b36f9
l10n_br_sale 12.0.4.0.0
OCA-git-bot Mar 26, 2021
672bd91
[ADD] Discount fixed
gabrielcardoso21 Mar 3, 2021
54e1683
[REF] Allows create fiscal document lines based on delivery quantities
renatonlima Jan 29, 2021
4915302
[IMP] Fields to demo tests for product sale w/ discount
ygcarvalh Mar 30, 2021
43667be
[IMP] Make the user join in the correct group for discount
ygcarvalh Mar 30, 2021
78b8554
[IMP] Set the group for the user (discount per line)
ygcarvalh Mar 30, 2021
1ce69fd
[IMP] Call the function 'onchange_discount_rate' in tests
ygcarvalh Mar 31, 2021
87714b6
[IMP] Call _onchange_discount_percent method on tests
luismalta Mar 31, 2021
a9c4e63
[UPD] Update l10n_br_sale.pot
oca-travis Apr 1, 2021
aca969b
l10n_br_sale 12.0.4.1.0
OCA-git-bot Apr 1, 2021
0943703
[ADD] Taxes grouping
gabrielcardoso21 Feb 17, 2021
379e6a0
[FIX] Sum values
gabrielcardoso21 Feb 18, 2021
c6b2ca5
[FIX] Update function for new prototype
gabrielcardoso21 Mar 19, 2021
b24209f
[FIX] pep8
mileo Mar 26, 2021
df342cf
[FIX] Don't display zero total taxes
mileo Apr 1, 2021
70c8161
[FIX] Sale Order Float is Zero
mileo Apr 1, 2021
05f904e
l10n_br_sale 12.0.4.2.0
OCA-git-bot Apr 2, 2021
448a25f
Remove amount_gross
renatonlima Apr 14, 2021
0d81431
[ADD] l10n_br_sale migration script
renatonlima Apr 14, 2021
aa34fcf
rename amount_gross to amount_price_gross in l10n_br_sale report
renatonlima Apr 14, 2021
910637a
[UPD] Update l10n_br_sale.pot
oca-travis Apr 15, 2021
7e42090
l10n_br_sale 12.0.5.0.0
OCA-git-bot Apr 15, 2021
637a13d
[REF] l10n_br_sale: tests
renatonlima Apr 16, 2021
3075c34
l10n_br_sale 12.0.5.1.0
OCA-git-bot Apr 17, 2021
d7a8f4c
[FIX] Reports not finding field fiscal_operation_line_id
gabrielcardoso21 Apr 19, 2021
b246fd6
[UPD] Update l10n_br_sale.pot
oca-travis May 6, 2021
86a362c
l10n_br_sale 12.0.5.2.0
OCA-git-bot May 6, 2021
1d529ec
[IMP] Add comments to explain changes
gabrielcardoso21 May 10, 2021
86a3fac
[UPD] Update l10n_br_sale.pot
oca-travis May 10, 2021
bec4c68
l10n_br_sale 12.0.5.3.0
OCA-git-bot May 10, 2021
c19b7e0
[ADD] l10n_br_sale 12.0.1.0.0 script migration
renatonlima May 16, 2021
c85b84a
more flexible xpath extension point issue #1199
rvalyi May 24, 2021
088cde4
[REF] l10n_br_sale lint - group
mileo May 24, 2021
70d4f11
remove useless default @api.multi
rvalyi May 16, 2021
2ab65c1
lint: sed -i 's/assertEquals/assertEqual/g'
rvalyi May 25, 2021
4ac63f9
[IMP] Included CFOP in Sale Report.
mbcosta May 28, 2021
2734c26
[UPD] Update l10n_br_sale.pot
oca-travis May 28, 2021
8bbdba0
l10n_br_sale 12.0.5.4.0
OCA-git-bot May 28, 2021
a7dfa16
[REF] Standard OCA website l10n_br_sale
mileo May 30, 2021
08e5caa
[IMP] l10n_br_sale: black, isort, prettier
rvalyi Jun 7, 2021
88d415f
E741 ambiguous variable name 'l'
rvalyi Jun 9, 2021
06f13b4
B902 Invalid 1st arg 'self' used for class method
rvalyi Jun 9, 2021
776ab28
[REF] l10n_br_sale: rename amount_financial to amount_financial_total
renatonlima Jul 2, 2021
430b67c
l10n_br_sale 12.0.6.0.0
OCA-git-bot Jul 4, 2021
7f4a370
[fix] manual additional data in views and demo
antoniospneto Jul 27, 2021
a1a6610
l10n_br_sale 12.0.6.1.0
OCA-git-bot Jul 27, 2021
a822985
[REF] l10n_br_sale: pylint:disable=file-not-used
renatonlima Jul 27, 2021
4ff7a7b
[FIX] l10n_br_sale: get document_serie_id
marcelsavegnago Aug 3, 2021
ff14b2d
[MOV] Moved fields Freight, Insurance and Other Costs to l10n_br_sale…
mbcosta Apr 16, 2021
5ab9195
[IMP] Created an Parameter to define if Delivery Costs should be info…
mbcosta Apr 16, 2021
a7d7867
[FIX] PEP8 and test.
mbcosta Apr 19, 2021
1dcb683
[FIX] Recursive error when Delivery Costs By Line.
mbcosta Apr 30, 2021
6ee17b5
[FIX] Related Field can be reference another related field.
mbcosta Apr 30, 2021
8031a02
[FIX] Pre commit.
mbcosta Jun 10, 2021
e13f153
[UPD] Update l10n_br_sale.pot
oca-travis Aug 24, 2021
22f15bf
[FIX] l10n_br_sale: fix ipi tax for taxes simples
marcelsavegnago Jul 30, 2021
7763d9b
[IMP] Included BR fields in the sales report.
mbcosta Sep 13, 2021
67e362a
[REF] Demo data, method _onchange_product_id_fiscal need to be call t…
mbcosta Sep 13, 2021
5ccb583
[UPD] Update l10n_br_sale.pot
oca-travis Sep 14, 2021
91e0636
[FIX] When create invoices from sale order without fiscal operation i…
renatonlima Oct 13, 2021
7ec9d20
fix taxes in sales
antoniospneto Nov 29, 2021
e6307f4
l10n_br_sale 12.0.6.1.1
OCA-git-bot Nov 30, 2021
8524fcd
[MIG] l10n_br_sale: Migration to 13.0
mbcosta Jan 12, 2022
095afb9
[MIG] Security Group has changed module.
mbcosta Jan 12, 2022
0c5b62a
[MIG] Injection Brazilian Fiscal fields in View.
mbcosta Jan 12, 2022
f317b50
[MIG] Name of method to create invoice has changed.
mbcosta Jan 12, 2022
cab3329
[MIG] Fields compute need parameter compute_sudo and method used to c…
mbcosta Jan 12, 2022
58ff2ac
[UPD] History migration.
mbcosta Jan 13, 2022
9577f37
[IMP] l10n_br_sale: black, isort, prettier
marcelsavegnago Apr 2, 2022
d8c2a59
[MIG] l10n_br_sale: Migration to 14.0
marcelsavegnago Apr 2, 2022
6b1dc83
[MIG] self.env.company in sale
felipemotter Jun 1, 2022
ab4b445
[MIG] Warning tax_framework selection related
felipemotter Jun 2, 2022
a4520dd
[IMP] l10n_br_sale: override cnae_id domain
marcelsavegnago Apr 11, 2022
2be8c25
[IMP] l10n_br_sale: add cnae_id on l10n_br_sale_order_form
marcelsavegnago Apr 11, 2022
b738c8e
[IMP] l10n_br_sale: add no_create on city_taxation_code and cnae_id
marcelsavegnago Apr 14, 2022
7d10cb9
[IMP] l10n_br_sale: add page amounts on sale order
marcelsavegnago May 30, 2022
380a371
[IMP] l10n_br_sale: Hide fields if company is not in Brazil
marcelsavegnago Apr 2, 2022
7c646ec
[FIX] l10n_br_sale: force calculation of fiscal_qty_delivered
marcelsavegnago Jun 3, 2022
f6c2e86
[UPD] Update l10n_br_sale.pot
oca-travis Jun 6, 2022
9c153e4
[UPD] README.rst
OCA-git-bot Jun 6, 2022
ae46687
[IMP] l10n_br_sale: add ind_final on sale view
antoniospneto Jun 4, 2022
b91aae2
l10n_br_sale 14.0.1.0.1
OCA-git-bot Jun 8, 2022
e241345
[UPD] Update l10n_br_sale.pot
oca-travis Jun 11, 2022
4c80ec3
Update translation files
oca-transbot Jun 11, 2022
e309179
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Jul 28, 2022
61ee0e9
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Jul 29, 2022
ce0a6d1
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Aug 5, 2022
147bc66
Fix: partner access to sales user
JorgeJuarezCasai Aug 8, 2022
69087af
fix line
JorgeJuarezCasai Aug 8, 2022
594a2e4
l10n_br_sale 14.0.1.1.0
OCA-git-bot Aug 9, 2022
59a455a
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Aug 12, 2022
3657121
Translated using Weblate (Portuguese (Brazil))
douglascstd Aug 19, 2022
805d3c0
[FIX] l10n_br_sale: fix _create_invoices method
marcelsavegnago Sep 2, 2022
73f435d
l10n_br_sale 14.0.1.1.1
OCA-git-bot Sep 4, 2022
0cc1546
[REF] to Beta to please manifestoo
rvalyi Sep 16, 2022
51527df
[UPD] README.rst
OCA-git-bot Sep 16, 2022
c596809
Translated using Weblate (Portuguese (Brazil))
douglascstd Sep 16, 2022
e59e352
[REF] l10n_br_sale: Parameter to define Delivery Costs moved to l10n_…
mbcosta Sep 27, 2022
121984e
[REF] l10n_br_sale: Expanded size of fields to better view.
mbcosta Sep 27, 2022
132e336
[UPD] Update l10n_br_sale.pot
Oct 8, 2022
469ea5f
l10n_br_sale 14.0.2.0.0
OCA-git-bot Oct 8, 2022
bf5b772
Update translation files
oca-transbot Oct 8, 2022
1df1304
[IMP] l10n_br_sale: add force_compute_delivery_costs_by_total field o…
marcelsavegnago Oct 14, 2022
90e27f4
[UPD] Update l10n_br_sale.pot
Oct 22, 2022
7aafb25
Update translation files
weblate Oct 22, 2022
b57ebf4
[REF] do not import tests l10n_br_sale
mileo Oct 21, 2022
026ec23
[REF] attribute-string-redundant l10n_br_sale
mileo Oct 21, 2022
a51d3c4
[UPD] Update l10n_br_sale.pot
Oct 22, 2022
766ee02
l10n_br_sale 14.0.2.0.1
OCA-git-bot Oct 22, 2022
f66e43b
Update translation files
weblate Oct 22, 2022
7848faf
[REF] missing-return l10n_br_sale
mileo Oct 22, 2022
d401b44
[REF] dangerous-qweb-replace-wo-priority l10n_br_sale
mileo Oct 22, 2022
ae8a31d
l10n_br_sale 14.0.2.0.2
OCA-git-bot Oct 22, 2022
6e9c7b2
l10n_br_sale 14.0.2.0.3
OCA-git-bot Oct 22, 2022
e0a177a
Translated using Weblate (Portuguese (Brazil))
douglascstd Oct 31, 2022
4f0e07d
Translated using Weblate (Portuguese (Brazil))
douglascstd Nov 23, 2022
690cb56
[FIX] l10n_br_sale: requerid attribute for operation line
antoniospneto Nov 29, 2022
040323c
Translated using Weblate (Portuguese (Brazil))
douglascstd Dec 7, 2022
662e6fd
l10n_br_sale 14.0.2.1.0
OCA-git-bot Dec 7, 2022
8fb0b7f
Translated using Weblate (Portuguese (Brazil))
douglascstd Dec 7, 2022
f191898
Translated using Weblate (Portuguese (Brazil))
augustodinizl Dec 9, 2022
7e10feb
[IMP] l10n_br_sale: readonly depending on the type of discount
felipemotter Nov 25, 2022
23ea8ae
[FIX] l10n_br_sale: change discount logic
felipemotter Dec 14, 2022
c15d78b
[IMP] l10n_br_sale: create tests for discounts
felipemotter Dec 14, 2022
bd49abf
[DOC] Escodoo + Engenere contributors
rvalyi Dec 15, 2022
5e53da6
[UPD] Update l10n_br_sale.pot
Dec 16, 2022
710b494
[UPD] README.rst
OCA-git-bot Dec 16, 2022
3af8bf8
l10n_br_sale 14.0.2.2.0
OCA-git-bot Dec 16, 2022
3d11334
Update translation files
weblate Dec 16, 2022
2ce44ba
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Jan 7, 2023
eca0b5a
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Jan 7, 2023
60a572a
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Jan 7, 2023
b3b36d3
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Jan 7, 2023
158a64a
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Jan 7, 2023
994e4e4
[UPD] Update l10n_br_sale.pot
Jan 9, 2023
5168fce
Update translation files
weblate Jan 9, 2023
e47eb2c
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Feb 10, 2023
597622f
[FIX] l10n_br_sale: sale onchange product fiscal price
felipemotter Feb 24, 2023
2cdb31e
[IMP] l10n_br_sale: add unittest for pricelist
antoniospneto Feb 24, 2023
3b4a1f7
l10n_br_sale 14.0.2.2.1
OCA-git-bot Mar 3, 2023
a53b76b
[IMP] l10n_br_sale: Included tests to check if the Amount values from…
mbcosta Mar 31, 2023
e28acf5
[FIX] l10n_br_sale: missing account tax and wrong companies tests
felipemotter Apr 7, 2023
0b68566
[FIX] l10n_br_sale: serie in create invoices with different document …
antoniospneto May 16, 2023
e65dbc6
l10n_br_sale 14.0.2.2.2
OCA-git-bot May 16, 2023
5c7d60c
l10n_br_sale 14.0.3.0.0
OCA-git-bot May 19, 2023
0fc0248
[REF+IMP] l10n_br_sale: Get Taxes just need call method once, even in…
mbcosta Apr 18, 2023
ad0282e
l10n_br_sale 14.0.3.1.0
OCA-git-bot May 30, 2023
a96a2b4
[REF] SavePointCase -> no need to restore user
rvalyi Jun 24, 2023
64482e4
l10n_br_sale 14.0.3.1.1
OCA-git-bot Jun 26, 2023
5d248b0
[FIX] l10n_br_sale: splitting the invoice when there are multiple fis…
antoniospneto May 26, 2023
e4d3bcd
[REF] fix demo data loading
rvalyi Jul 8, 2023
335dada
l10n_br_sale 14.0.3.1.2
OCA-git-bot Jul 11, 2023
100e9e9
l10n_br_sale 14.0.3.2.0
OCA-git-bot Jul 11, 2023
69aa1c0
[UPD] Update l10n_br_sale.pot
Jul 12, 2023
b5e5669
Update translation files
weblate Jul 12, 2023
bb869b7
[FIX] l10n_br_sale: fix company page xpath
marcelsavegnago Jul 13, 2023
06b47dd
l10n_br_sale 14.0.3.2.1
OCA-git-bot Jul 13, 2023
1d1a6e0
[UPD] README.rst
OCA-git-bot Sep 3, 2023
220f320
[FIX] l10n_br_sale: return a record set
marcelsavegnago Sep 13, 2023
bd0c0cd
l10n_br_sale 14.0.3.2.2
OCA-git-bot Sep 13, 2023
e072dc8
[UPD] README.rst
OCA-git-bot Sep 13, 2023
e644f87
[FIX] l10n_br_sale: fiscal quantity on prepare invoice lines
antoniospneto Sep 28, 2023
060022d
[BOT] post-merge updates
OCA-git-bot Sep 29, 2023
4fee240
[UPD] Update l10n_br_sale.pot
Oct 1, 2023
415373a
[UPD] Update l10n_br_sale.pot
Oct 2, 2023
4ed7f94
Update translation files
weblate Oct 9, 2023
177aa67
Translated using Weblate (Portuguese (Brazil))
antoniospneto Oct 10, 2023
e409ee8
[REF] l10n_br_sale: Remove empty Lines, necessary for the new version…
mbcosta Oct 25, 2023
9ad205d
[REF] l10n_br_sale: Avoid error Flake8 E741 ambiguous variable name '…
mbcosta Oct 25, 2023
81c5603
[BOT] post-merge updates
OCA-git-bot Oct 27, 2023
557fc4c
[BOT] post-merge updates
OCA-git-bot Oct 27, 2023
acfc0f6
[REF] l10n_br_sale: Adapt module to make compatible with the internat…
mbcosta Oct 19, 2023
77264b1
[REF] l10n_br_sale: Adapted module to make compatible with Internatio…
mbcosta Jan 15, 2024
1025463
[FIX] l10n_br_sale: The possibility of include a Section or Note in S…
mbcosta Jan 16, 2024
39fa2c1
[REF] l10n_br_sale: Remove unnecessary onchanges in Demo Data.
mbcosta Jan 17, 2024
61f7e95
[FIX] l10n_br_sale: create invoice with section and note
antoniospneto Feb 3, 2024
de8357d
[FIX] l10n_br_sale: Make module compatible with 'Down Payments' case …
mbcosta Mar 26, 2024
4bb3e47
[IMP] l10n_br_sale: add amount_tax_withholding on sale order form sub…
marcelsavegnago Apr 17, 2024
c14ca14
[RFC] l10n_br_sale: remove update fields price_subtotal and price_gro…
marcelsavegnago Apr 17, 2024
25a030e
[FIX] comments_ids in sale.order
mileo Jul 5, 2024
a6b4974
[FIX] l10n_br_sale: change res.company data to noupdate = 1
marcelsavegnago Aug 12, 2024
ffccda2
[IMP] l10n_br_sale: black, isort, prettier
rvalyi Dec 1, 2023
2e211f3
[MIG] l10n_br_sale: Migration to 15.0
rvalyi Dec 1, 2023
6ea0fa7
[IMP] l10n_br_sale: pre-commit stuff
rvalyi Feb 6, 2024
f0e5742
MIG] l10n_br_sale: Migration to 16.0
rvalyi Feb 6, 2024
4d00a05
[MIG] l10n_br_sale: tmp hacks for CI OK
rvalyi Aug 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
151 changes: 151 additions & 0 deletions l10n_br_sale/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
===========================
Brazilian Localization Sale
===========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:ad16d588b159aa9b2b5d6dbc594c8d6ea809dfaff62138ee0bbe1ec138d50907
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--brazil-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-brazil/tree/16.0/l10n_br_sale
:alt: OCA/l10n-brazil
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-brazil-16-0/l10n-brazil-16-0-l10n_br_sale
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-brazil&target_branch=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Este módulo estende o módulo sale do Odoo para adaptá-lo as necessidades brasileira, com este módulo você tem dados fiscal para faturamento e geração dos documentos fiscais (NF-e, NFS-e, CF-e, NFC-e e etc.), cálculo dos impostos e contribuições brasileiros (municipais, estaduais e federal).

**Table of contents**

.. contents::
:local:

Installation
============

Este módulo depende dos seguintes módulos:

* sale_management
* l10n_br_account
* l10n_br_fiscal

Configuration
=============

Este módulo depende do módulo l10n_br_fiscal e l10n_br_account e para funcionar corretamente deve ser previamente configurado parâmetros fiscais e contábeis.

Usage
=====

Após configurar a empresa, os dados contábeis e fiscais, ao criar um pedido de venda será, será possível visualizar os dados fiscais e contábeis:

.. figure:: https://raw.githubusercontent.com/OCA/l10n-brazil/16.0/l10n_br_sale/static/description/sale_order_1.png
:alt: Pedido de Venda
:width: 600 px


Ao adicionar um produto ou serviço será exibido os detalhes dos impostos:

.. figure:: https://raw.githubusercontent.com/OCA/l10n-brazil/16.0/l10n_br_sale/static/description/sale_order_2.png
:alt: Adicionando um produto ou serviço no pedido de venda
:width: 600 px

Changelog
=========

14.0.1.0.0 (2022-06-03)
~~~~~~~~~~~~~~~~~~~~~~~

* [MIG] Migração para a versão 14.

13.0.1.0.0 (2022-01-13)
~~~~~~~~~~~~~~~~~~~~~~~

* [MIG] Migração para a versão 13.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-brazil/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-brazil/issues/new?body=module:%20l10n_br_sale%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Akretion

Contributors
~~~~~~~~~~~~

* `AKRETION <https://akretion.com/pt-BR/>`_:

* Raphaël Valyi <raphael.valyi@akretion.com.br>
* Renato Lima <renato.lima@akretion.com.br>
* Magno Costa <magno.costa@akretion.com.br>

* `KMEE <https://kmee.com.br>`_:

* Luis Felipe Mileo <mileo@kmee.com.br>
* Michell Stuttgart <michell.stuttgart@kmee.com.br>

* `ESCODOO <https://escodoo.com.br>`_:

* Marcel Savegnago <marcel.savegnago@escodoo.com.br>

* `ENGENERE <https://engenere.one>`_:

* Felipe Motter Pereira <felipe@engenere.one>

Other credits
~~~~~~~~~~~~~

The development of this module has been financially supported by:

* AKRETION LTDA - www.akretion.com

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-renatonlima| image:: https://github.com/renatonlima.png?size=40px
:target: https://github.com/renatonlima
:alt: renatonlima

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-renatonlima|

This module is part of the `OCA/l10n-brazil <https://github.com/OCA/l10n-brazil/tree/16.0/l10n_br_sale>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
7 changes: 7 additions & 0 deletions l10n_br_sale/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2009 Renato Lima - Akretion
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

from .hooks import post_init_hook

from . import models
from . import report
37 changes: 37 additions & 0 deletions l10n_br_sale/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright (C) 2009 Renato Lima - Akretion
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

{
"name": "Brazilian Localization Sale",
"category": "Localisation",
"license": "AGPL-3",
"author": "Akretion, " "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-brazil",
"version": "16.0.1.0.0",
"depends": ["sale_management", "l10n_br_account"],
"data": [
# Data
"data/company.xml",
# Security
"security/ir.model.access.csv",
"security/l10n_br_sale_security.xml",
# View
"views/res_config_settings_view.xml",
"views/res_company_view.xml",
"views/sale_view.xml",
# Report
"report/sale_report_view.xml",
"report/sale_report_templates.xml",
],
"demo": [
# Demo
"demo/product.xml",
"demo/company.xml",
"demo/l10n_br_sale.xml",
],
"installable": True,
"auto_install": True,
"post_init_hook": "post_init_hook",
"development_status": "Beta",
"maintainers": ["renatonlima", "rvalyi"],
}
9 changes: 9 additions & 0 deletions l10n_br_sale/data/company.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">

<!-- Main Company -->
<record id="base.main_company" model="res.company">
<field name="sale_fiscal_operation_id" ref="l10n_br_fiscal.fo_venda" />
</record>

</odoo>
13 changes: 13 additions & 0 deletions l10n_br_sale/demo/company.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>

<!-- Demo Company -->
<record id="l10n_br_base.empresa_simples_nacional" model="res.company">
<field name="sale_fiscal_operation_id" ref="l10n_br_fiscal.fo_venda" />
</record>

<record id="l10n_br_base.empresa_lucro_presumido" model="res.company">
<field name="sale_fiscal_operation_id" ref="l10n_br_fiscal.fo_venda" />
</record>

</odoo>
94 changes: 94 additions & 0 deletions l10n_br_sale/demo/fiscal_operation_generic.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- pylint:disable=file-not-used -->
<odoo>

<!-- l10n_br_fiscal.operation -->
<!-- Vendas -->
<record
forcecreate="True"
id="property_fo_venda_journal_empresa_lp"
model="ir.property"
>
<field name="name">fiscal_operation_journal_id</field>
<field
name="fields_id"
search="[('model','=','l10n_br_fiscal.operation'),('name','=','journal_id')]"
/>
<field
eval="'l10n_br_fiscal.operation,'+str(ref('l10n_br_fiscal.fo_venda'))"
name="res_id"
/>
<field
eval="'account.journal,'+str(ref('l10n_br_coa_generic.sale_journal_empresa_lp'))"
name="value"
/>
<field name="company_id" ref="l10n_br_base.empresa_lucro_presumido" />
</record>

<!-- Bonificação -->
<record
forcecreate="True"
id="property_fo_bonificacao_journal_empresa_lp"
model="ir.property"
>
<field name="name">fiscal_operation_journal_id</field>
<field
name="fields_id"
search="[('model','=','l10n_br_fiscal.operation'),('name','=','journal_id')]"
/>
<field
eval="'l10n_br_fiscal.operation,'+str(ref('l10n_br_fiscal.fo_bonificacao'))"
name="res_id"
/>
<field
eval="'account.journal,'+str(ref('l10n_br_coa_generic.general_journal_empresa_lp'))"
name="value"
/>
<field name="company_id" ref="l10n_br_base.empresa_lucro_presumido" />
</record>

<!-- Devolução de Venda -->
<record
forcecreate="True"
id="property_fo_devolucao_venda_journal_empresa_lp"
model="ir.property"
>
<field name="name">fiscal_operation_journal_id</field>
<field
name="fields_id"
search="[('model','=','l10n_br_fiscal.operation'),('name','=','journal_id')]"
/>
<field
eval="'l10n_br_fiscal.operation,'+str(ref('l10n_br_fiscal.fo_devolucao_venda'))"
name="res_id"
/>
<field
eval="'account.journal,'+str(ref('l10n_br_coa_generic.general_journal_empresa_lp'))"
name="value"
/>
<field name="company_id" ref="l10n_br_base.empresa_lucro_presumido" />
</record>

<!-- Outras Saidas -->
<record
forcecreate="True"
id="property_fo_simples_remessa_journal_empresa_lp"
model="ir.property"
>
<field name="name">fiscal_operation_journal_id</field>
<field
name="fields_id"
search="[('model','=','l10n_br_fiscal.operation'),('name','=','journal_id')]"
/>
<field
eval="'l10n_br_fiscal.operation,'+str(ref('l10n_br_fiscal.fo_simples_remessa'))"
name="res_id"
/>
<field
eval="'account.journal,'+str(ref('l10n_br_coa_generic.general_journal_empresa_lp'))"
name="value"
/>
<field name="company_id" ref="l10n_br_base.empresa_lucro_presumido" />
</record>

</odoo>
Loading
Loading